Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/
DFocusFinderHelper.java52 public static int majorAxisDistance(int direction, Rect source, Rect dest) { in majorAxisDistance() method in FocusFinderHelper
53 return FocusFinder.majorAxisDistance(direction, source, dest); in majorAxisDistance()
DFocusFinder.java305 majorAxisDistance(direction, source, rect1), in isBetterCandidate()
308 majorAxisDistance(direction, source, rect2), in isBetterCandidate()
346 return (majorAxisDistance(direction, source, rect1) in beamBeats()
355 int getWeightedDistanceFor(int majorAxisDistance, int minorAxisDistance) { in getWeightedDistanceFor() argument
356 return 13 * majorAxisDistance * majorAxisDistance in getWeightedDistanceFor()
431 static int majorAxisDistance(int direction, Rect source, Rect dest) { in majorAxisDistance() method in FocusFinder
/frameworks/base/core/tests/coretests/src/android/view/
DFocusFinderTest.java409 FocusFinderHelper.majorAxisDistance(View.FOCUS_LEFT, in testGmailReplyButtonsScenario()