Smooth transition for custom keyboards and softkey

Closes #3786
Fixes #3780
// FREEBIE
This commit is contained in:
Jake McGinty
2015-07-24 13:22:28 -07:00
committed by Moxie Marlinspike
parent 24e14cbc73
commit 13bad6dfed
10 changed files with 344 additions and 321 deletions

View File

@@ -348,4 +348,8 @@ public class Util {
public static int clamp(int value, int min, int max) {
return Math.min(Math.max(value, min), max);
}
public static float clamp(float value, float min, float max) {
return Math.min(Math.max(value, min), max);
}
}