Home
last modified time | relevance | path

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

/frameworks/support/v4/java/android/support/v4/widget/
DFocusStrategy.java225 majorAxisDistance(direction, source, candidate), in isBetterCandidate()
228 majorAxisDistance(direction, source, currentBest), in isBetterCandidate()
270 return majorAxisDistance(direction, source, rect1) in beamBeats()
281 private static int getWeightedDistanceFor(int majorAxisDistance, int minorAxisDistance) { in getWeightedDistanceFor() argument
282 return 13 * majorAxisDistance * majorAxisDistance in getWeightedDistanceFor()
362 private static int majorAxisDistance(@FocusRealDirection int direction, in majorAxisDistance() method in FocusStrategy
/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.java309 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/
DFocusFinderTest.java409 FocusFinderHelper.majorAxisDistance(View.FOCUS_LEFT, in testGmailReplyButtonsScenario()