Home
last modified time | relevance | path

Searched refs:mProximityThreshold (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/inputmethodservice/
DKeyboard.java154 private int mProximityThreshold; field in Keyboard
762 if (key.squaredDistanceFrom(x, y) < mProximityThreshold || in computeNearestNeighbors()
763 key.squaredDistanceFrom(x + mCellWidth - 1, y) < mProximityThreshold || in computeNearestNeighbors()
765 < mProximityThreshold || in computeNearestNeighbors()
766 key.squaredDistanceFrom(x, y + mCellHeight - 1) < mProximityThreshold) { in computeNearestNeighbors()
903 mProximityThreshold = (int) (mDefaultWidth * SEARCH_DISTANCE); in parseKeyboardAttributes()
904 mProximityThreshold = mProximityThreshold * mProximityThreshold; // Square it for comparison in parseKeyboardAttributes()
DKeyboardView.java183 private int mProximityThreshold; field in KeyboardView
638 mProximityThreshold = (int) (dimensionSum * 1.4f / length); in computeProximityThreshold()
639 mProximityThreshold *= mProximityThreshold; // Square it in computeProximityThreshold()
781 int closestKeyDist = mProximityThreshold + 1; in getKeyIndices()
794 && (dist = key.squaredDistanceFrom(x, y)) < mProximityThreshold) in getKeyIndices()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayPowerProximityStateController.java84 boolean positive = distance >= 0.0f && distance < mProximityThreshold;
135 private float mProximityThreshold; field in DisplayPowerProximityStateController
327 pw.println(" mProximityThreshold=" + mProximityThreshold); in dumpLocal()
364 mProximityThreshold = Math.min(mProximitySensor.getMaximumRange(), in loadProximitySensor()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt22634 Landroid/inputmethodservice/Keyboard;->mProximityThreshold:I
22741 Landroid/inputmethodservice/KeyboardView;->mProximityThreshold:I