Searched refs:mContentInsets (Results 1 - 15 of 15) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
H A DTaskSnapshotSurface.java117 private final Rect mContentInsets = new Rect(); field in class:TaskSnapshotSurface
261 mContentInsets.set(contentInsets);
348 mContentInsets.left);
433 private final Rect mContentInsets = new Rect(); field in class:TaskSnapshotSurface.SystemBarBackgroundPainter
458 mContentInsets.set(contentInsets);
467 return getColorViewTopInset(mStableInsets.top, mContentInsets.top);
489 mContentInsets.right);
498 getNavigationBarRect(c.getWidth(), c.getHeight(), mStableInsets, mContentInsets,
H A DTaskSnapshotController.java192 minRect(mainWindow.mContentInsets, mainWindow.mStableInsets), false /* reduced */,
264 decorPainter.setInsets(mainWindow.mContentInsets, mainWindow.mStableInsets);
H A DWindowState.java262 final Rect mContentInsets = new Rect(); field in class:WindowState
910 mContentInsets.setEmpty();
920 mContentInsets.set(mContentFrame.left - mFrame.left,
955 mContentInsets.scale(mInvGlobalScale);
979 + " ci=" + mContentInsets.toShortString()
1071 mContentInsetsChanged |= !mLastContentInsets.equals(mContentInsets);
1130 + " " + mContentInsets.toShortString()
3399 pw.print(" content="); mContentInsets.printShortString(pw);
4431 mLastContentInsets.set(mContentInsets);
H A DWindowSurfacePlacer.java725 Rect insets = win != null ? win.mContentInsets : null;
H A DWindowManagerService.java2154 outContentInsets.set(win.mContentInsets);
2155 win.mLastRelayoutContentInsets.set(win.mContentInsets);
2337 insets.set(win.mContentInsets);
H A DDisplayContent.java2987 final Rect cr = w.mContentInsets;
/frameworks/base/core/java/android/widget/
H A DToolbar.java165 private RtlSpacingHelper mContentInsets; field in class:Toolbar
275 mContentInsets.setAbsolute(contentInsetLeft, contentInsetRight);
279 mContentInsets.setRelative(contentInsetStart, contentInsetEnd);
495 mContentInsets.setDirection(layoutDirection == LAYOUT_DIRECTION_RTL);
1118 mContentInsets.setRelative(contentInsetStart, contentInsetEnd);
1138 return mContentInsets != null ? mContentInsets.getStart() : 0;
1158 return mContentInsets != null ? mContentInsets.getEnd() : 0;
1181 mContentInsets
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DToolbar.java172 private RtlSpacingHelper mContentInsets; field in class:Toolbar
285 mContentInsets.setAbsolute(contentInsetLeft, contentInsetRight);
289 mContentInsets.setRelative(contentInsetStart, contentInsetEnd);
486 mContentInsets.setDirection(layoutDirection == ViewCompat.LAYOUT_DIRECTION_RTL);
1104 mContentInsets.setRelative(contentInsetStart, contentInsetEnd);
1124 return mContentInsets != null ? mContentInsets.getStart() : 0;
1144 return mContentInsets != null ? mContentInsets.getEnd() : 0;
1167 mContentInsets
[all...]
H A DActionBarOverlayLayout.java81 private final Rect mContentInsets = new Rect(); field in class:ActionBarOverlayLayout
380 mContentInsets.set(mBaseContentInsets);
383 mContentInsets.top += topInset;
384 mContentInsets.bottom += bottomInset;
389 applyInsets(mContent, mContentInsets, true, true, true, true);
/frameworks/base/core/java/com/android/internal/widget/
H A DActionBarOverlayLayout.java77 private final Rect mContentInsets = new Rect(); field in class:ActionBarOverlayLayout
432 mContentInsets.set(mBaseContentInsets);
435 mContentInsets.top += topInset;
436 mContentInsets.bottom += bottomInset;
441 applyInsets(mContent, mContentInsets, true, true, true, true);
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
H A DWindowFrameTests.java150 assertRect(w.mContentInsets, 0, topContentInset, 0, bottomContentInset);
165 assertRect(w.mContentInsets, 0, 0, 0, 0);
272 assertRect(w.mContentInsets, 0, 0, 0, 0);
283 assertRect(w.mContentInsets, 0, 0, contentInsetRight, contentInsetBottom);
300 assertRect(w.mContentInsets, 0, 0, contentInsetRight, contentInsetBottom);
/frameworks/base/core/java/android/service/wallpaper/
H A DWallpaperService.java160 final Rect mContentInsets = new Rect(); field in class:WallpaperService.Engine
568 out.print(" mContentInsets="); out.println(mContentInsets.toShortString());
670 Display.DEFAULT_DISPLAY, mContentInsets, mStableInsets, mOutsets,
695 View.VISIBLE, 0, mWinFrame, mOverscanInsets, mContentInsets,
713 mContentInsets.left += padding.left;
714 mContentInsets.top += padding.top;
715 mContentInsets.right += padding.right;
716 mContentInsets.bottom += padding.bottom;
737 insetsChanged |= !mDispatchedContentInsets.equals(mContentInsets);
[all...]
/frameworks/base/core/java/android/app/
H A DActivityManager.java2302 private final Rect mContentInsets; field in class:ActivityManager.TaskSnapshot
2310 mContentInsets = new Rect(contentInsets);
2318 mContentInsets = source.readParcelable(null /* classLoader */);
2342 return mContentInsets;
2368 dest.writeParcelable(mContentInsets, 0);
2376 + " mContentInsets=" + mContentInsets.toShortString()
/frameworks/base/core/java/android/view/
H A DViewRootImpl.java728 mAttachInfo.mContentInsets, mAttachInfo.mStableInsets,
746 mTranslator.translateRectInScreenToAppWindow(mAttachInfo.mContentInsets);
749 mPendingContentInsets.set(mAttachInfo.mContentInsets);
1535 mDispatchContentInsets.set(mAttachInfo.mContentInsets);
1715 if (!mPendingContentInsets.equals(mAttachInfo.mContentInsets)) {
1915 mAttachInfo.mContentInsets);
1926 mAttachInfo.mContentInsets.set(mPendingContentInsets);
1928 + mAttachInfo.mContentInsets);
3197 final Rect ci = mAttachInfo.mContentInsets;
H A DView.java25202 final Rect mContentInsets = new Rect(); field in class:View.AttachInfo

Completed in 486 milliseconds