Lines Matching refs:top
134 * Returns the top system window inset in pixels.
140 * @return The top system window inset
143 return mSystemWindowInsets.top;
187 * Returns the top window decor inset in pixels.
193 * @return The top window decor inset
197 return mWindowDecorInsets.top;
238 return mSystemWindowInsets.left != 0 || mSystemWindowInsets.top != 0 ||
253 return mWindowDecorInsets.left != 0 || mWindowDecorInsets.top != 0 ||
286 * <p>A round window's left, top, right and bottom edges reach all the way to the
313 * @param top true to consume the top system window inset
319 public WindowInsets consumeSystemWindowInsets(boolean left, boolean top,
321 if (left || top || right || bottom) {
325 top ? 0 : mSystemWindowInsets.top,
338 * @param top New top inset in pixels
343 public WindowInsets replaceSystemWindowInsets(int left, int top,
346 result.mSystemWindowInsets = new Rect(left, top, right, bottom);
377 public WindowInsets consumeWindowDecorInsets(boolean left, boolean top,
379 if (left || top || right || bottom) {
382 top ? 0 : mWindowDecorInsets.top,
393 public WindowInsets replaceWindowDecorInsets(int left, int top, int right, int bottom) {
395 result.mWindowDecorInsets = new Rect(left, top, right, bottom);
400 * Returns the top stable inset in pixels.
408 * @return The top stable inset
411 return mStableInsets.top;
471 return mStableInsets.top != 0 || mStableInsets.left != 0 || mStableInsets.right != 0