Lines Matching refs:top
125 * Returns the top system window inset in pixels.
131 * @return The top system window inset
134 return mSystemWindowInsets.top;
178 * Returns the top window decor inset in pixels.
184 * @return The top window decor inset
188 return mWindowDecorInsets.top;
229 return mSystemWindowInsets.left != 0 || mSystemWindowInsets.top != 0 ||
244 return mWindowDecorInsets.left != 0 || mWindowDecorInsets.top != 0 ||
277 * <p>A round window's left, top, right and bottom edges reach all the way to the
304 * @param top true to consume the top system window inset
310 public WindowInsets consumeSystemWindowInsets(boolean left, boolean top,
312 if (left || top || right || bottom) {
316 top ? 0 : mSystemWindowInsets.top,
329 * @param top New top inset in pixels
334 public WindowInsets replaceSystemWindowInsets(int left, int top,
337 result.mSystemWindowInsets = new Rect(left, top, right, bottom);
368 public WindowInsets consumeWindowDecorInsets(boolean left, boolean top,
370 if (left || top || right || bottom) {
373 top ? 0 : mWindowDecorInsets.top,
384 public WindowInsets replaceWindowDecorInsets(int left, int top, int right, int bottom) {
386 result.mWindowDecorInsets = new Rect(left, top, right, bottom);
391 * Returns the top stable inset in pixels.
399 * @return The top stable inset
402 return mStableInsets.top;
462 return mStableInsets.top != 0 || mStableInsets.left != 0 || mStableInsets.right != 0