Searched refs:inoutObj (Results 1 – 1 of 1) sorted by relevance
350 public static void applyDisplay(int gravity, @NonNull Rect display, @NonNull Rect inoutObj) { in applyDisplay() argument352 if (inoutObj.top < display.top) inoutObj.top = display.top; in applyDisplay()353 if (inoutObj.bottom > display.bottom) inoutObj.bottom = display.bottom; in applyDisplay()356 if (inoutObj.top < display.top) off = display.top-inoutObj.top; in applyDisplay()357 else if (inoutObj.bottom > display.bottom) off = display.bottom-inoutObj.bottom; in applyDisplay()359 if (inoutObj.height() > (display.bottom-display.top)) { in applyDisplay()360 inoutObj.top = display.top; in applyDisplay()361 inoutObj.bottom = display.bottom; in applyDisplay()363 inoutObj.top += off; in applyDisplay()364 inoutObj.bottom += off; in applyDisplay()[all …]