Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/
DGravity.java318 public static void applyDisplay(int gravity, Rect display, Rect inoutObj) { in applyDisplay() argument
320 if (inoutObj.top < display.top) inoutObj.top = display.top; in applyDisplay()
321 if (inoutObj.bottom > display.bottom) inoutObj.bottom = display.bottom; in applyDisplay()
324 if (inoutObj.top < display.top) off = display.top-inoutObj.top; in applyDisplay()
325 else if (inoutObj.bottom > display.bottom) off = display.bottom-inoutObj.bottom; in applyDisplay()
327 if (inoutObj.height() > (display.bottom-display.top)) { in applyDisplay()
328 inoutObj.top = display.top; in applyDisplay()
329 inoutObj.bottom = display.bottom; in applyDisplay()
331 inoutObj.top += off; in applyDisplay()
332 inoutObj.bottom += off; in applyDisplay()
[all …]
/frameworks/support/compat/java/android/support/v4/view/
DGravityCompat.java33 void applyDisplay(int gravity, Rect display, Rect inoutObj, int layoutDirection); in applyDisplay() argument
56 public void applyDisplay(int gravity, Rect display, Rect inoutObj, in applyDisplay() argument
58 Gravity.applyDisplay(gravity, display, inoutObj); in applyDisplay()
82 public void applyDisplay(int gravity, Rect display, Rect inoutObj, int layoutDirection) { in applyDisplay() argument
83 GravityCompatJellybeanMr1.applyDisplay(gravity, display, inoutObj, layoutDirection); in applyDisplay()
185 public static void applyDisplay(int gravity, Rect display, Rect inoutObj, int layoutDirection) { in applyDisplay() argument
186 IMPL.applyDisplay(gravity, display, inoutObj, layoutDirection); in applyDisplay()
/frameworks/support/compat/jellybean-mr1/android/support/v4/view/
DGravityCompatJellybeanMr1.java39 public static void applyDisplay(int gravity, Rect display, Rect inoutObj, int layoutDirection) { in applyDisplay() argument
40 Gravity.applyDisplay(gravity, display, inoutObj, layoutDirection); in applyDisplay()