Home
last modified time | relevance | path

Searched refs:majorAxisDistance (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Car/RotaryController/src/com/android/car/rotary/
DFocusFinder.java175 majorAxisDistance(direction, source, rect1), in isBetterCandidate()
178 majorAxisDistance(direction, source, rect2), in isBetterCandidate()
182 private static long getWeightedDistanceFor(long majorAxisDistance, long minorAxisDistance) { in getWeightedDistanceFor() argument
183 return MAJOR_AXIS_BIAS * majorAxisDistance * majorAxisDistance in getWeightedDistanceFor()
238 return majorAxisDistance(direction, source, rect1) in beamBeats()
284 static int majorAxisDistance(int direction, Rect source, Rect dest) { in majorAxisDistance() method in FocusFinder
/packages/apps/Car/RotaryController/tests/unit/src/com/android/car/rotary/
DFocusFinderTest.java443 FocusFinder.majorAxisDistance(View.FOCUS_LEFT, in testGmailReplyButtonsScenario()