Searched refs:majorAxisDistance (Results 1 – 4 of 4) sorted by relevance
/frameworks/support/core-ui/java/android/support/v4/widget/ |
D | FocusStrategy.java | 226 majorAxisDistance(direction, source, candidate), in isBetterCandidate() 229 majorAxisDistance(direction, source, currentBest), in isBetterCandidate() 271 return majorAxisDistance(direction, source, rect1) in beamBeats() 282 private static int getWeightedDistanceFor(int majorAxisDistance, int minorAxisDistance) { in getWeightedDistanceFor() argument 283 return 13 * majorAxisDistance * majorAxisDistance in getWeightedDistanceFor() 363 private static int majorAxisDistance(@FocusRealDirection int direction, in majorAxisDistance() method in FocusStrategy
|
/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 | 309 majorAxisDistance(direction, source, rect1), in isBetterCandidate() 312 majorAxisDistance(direction, source, rect2), in isBetterCandidate() 350 return (majorAxisDistance(direction, source, rect1) in beamBeats() 359 int getWeightedDistanceFor(int majorAxisDistance, int minorAxisDistance) { in getWeightedDistanceFor() argument 360 return 13 * majorAxisDistance * majorAxisDistance in getWeightedDistanceFor() 435 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()
|