Searched refs:keyDiagonal (Results 1 – 2 of 2) sorted by relevance
69 final float keyDiagonal = (float)Math.hypot(keyWidth, keyHeight); in setKeyboardGeometry() local71 keyDiagonal * BOGUS_MOVE_ACCUMULATED_DISTANCE_THRESHOLD); in setKeyboardGeometry()72 mRadiusThreshold = (int)(keyDiagonal * BOGUS_MOVE_RADIUS_THRESHOLD); in setKeyboardGeometry()
809 final float keyDiagonal = (float)Math.hypot( in processProximateBogusDownMoveUpEventHack() local813 / keyDiagonal; in processProximateBogusDownMoveUpEventHack()1105 final float keyDiagonal = (float)Math.hypot( in isMajorEnoughMoveToBeOnNewKey() local1108 mBogusMoveEventDetector.getAccumulatedDistanceFromDownKey() / keyDiagonal; in isMajorEnoughMoveToBeOnNewKey()