Searched refs:majorAxisDistance (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/core/java/android/view/ |
D | FocusFinderHelper.java | 52 public static int majorAxisDistance(int direction, Rect source, Rect dest) { in majorAxisDistance() method in FocusFinderHelper 53 return FocusFinder.majorAxisDistance(direction, source, dest); in majorAxisDistance()
|
D | FocusFinder.java | 305 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/ |
D | FocusFinderTest.java | 409 FocusFinderHelper.majorAxisDistance(View.FOCUS_LEFT, in testGmailReplyButtonsScenario()
|