Searched refs:mContentInsets (Results 1 - 16 of 16) 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
272 mContentInsets.set(contentInsets);
383 mContentInsets.left);
469 private final Rect mContentInsets = new Rect(); field in class:TaskSnapshotSurface.SystemBarBackgroundPainter
494 mContentInsets.set(contentInsets);
503 return getColorViewTopInset(mStableInsets.top, mContentInsets.top);
525 mContentInsets.right);
534 getNavigationBarRect(c.getWidth(), c.getHeight(), mStableInsets, mContentInsets,
H A DTaskSnapshotController.java290 final Rect insets = minRect(state.mContentInsets, state.mStableInsets);
360 decorPainter.setInsets(mainWindow.mContentInsets, mainWindow.mStableInsets);
H A DRecentsAnimationController.java367 ? mTargetAppToken.findMainWindow().mContentInsets
572 final Rect insets = new Rect(mainWindow.mContentInsets);
H A DWindowState.java319 final Rect mContentInsets = new Rect(); field in class:WindowState
1069 mContentInsets.setEmpty();
1080 mContentInsets.set(mContentFrame.left - mFrame.left,
1117 mContentInsets.scale(mInvGlobalScale);
1141 + " ci=" + mContentInsets.toShortString()
1240 mContentInsetsChanged |= !mLastContentInsets.equals(mContentInsets);
1301 + " " + mContentInsets.toShortString()
3260 mContentInsets.writeToProto(proto, CONTENT_INSETS);
3426 pw.print(" content="); mContentInsets.printShortString(pw);
4485 mLastContentInsets.set(mContentInsets);
[all...]
H A DRemoteAnimationController.java308 final Rect insets = new Rect(mainWindow.mContentInsets);
H A DAppWindowToken.java1823 insets.set(win.mContentInsets);
2050 Rect insets = win != null ? win.mContentInsets : null;
H A DWindowManagerService.java2155 outContentInsets.set(win.mContentInsets);
2156 win.mLastRelayoutContentInsets.set(win.mContentInsets);
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
H A DWindowFrameTests.java165 assertRect(w.mContentInsets, 0, topContentInset, 0, bottomContentInset);
180 assertRect(w.mContentInsets, 0, 0, 0, 0);
287 assertRect(w.mContentInsets, 0, 0, 0, 0);
298 assertRect(w.mContentInsets, 0, 0, contentInsetRight, contentInsetBottom);
315 assertRect(w.mContentInsets, 0, 0, contentInsetRight, contentInsetBottom);
404 assertRect(w.mContentInsets, 0, 0, 0, 0);
421 assertRect(w.mContentInsets, 0, 0, 0, 0);
/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/main/java/androidx/appcompat/widget/
H A DToolbar.java174 private RtlSpacingHelper mContentInsets; field in class:Toolbar
287 mContentInsets.setAbsolute(contentInsetLeft, contentInsetRight);
291 mContentInsets.setRelative(contentInsetStart, contentInsetEnd);
488 mContentInsets.setDirection(layoutDirection == ViewCompat.LAYOUT_DIRECTION_RTL);
1106 mContentInsets.setRelative(contentInsetStart, contentInsetEnd);
1126 return mContentInsets != null ? mContentInsets.getStart() : 0;
1146 return mContentInsets != null ? mContentInsets.getEnd() : 0;
1169 mContentInsets
[all...]
H A DActionBarOverlayLayout.java82 private final Rect mContentInsets = new Rect(); field in class:ActionBarOverlayLayout
381 mContentInsets.set(mBaseContentInsets);
384 mContentInsets.top += topInset;
385 mContentInsets.bottom += bottomInset;
390 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
435 mContentInsets.set(mBaseContentInsets);
438 mContentInsets.top += topInset;
439 mContentInsets.bottom += bottomInset;
451 applyInsets(mContent, mContentInsets, true, true, true, true);
/frameworks/base/core/java/android/service/wallpaper/
H A DWallpaperService.java171 final Rect mContentInsets = new Rect(); field in class:WallpaperService.Engine
689 out.print(" mContentInsets="); out.println(mContentInsets.toShortString());
791 Display.DEFAULT_DISPLAY, mWinFrame, mContentInsets, mStableInsets,
816 View.VISIBLE, 0, -1, mWinFrame, mOverscanInsets, mContentInsets,
834 mContentInsets.left += padding.left;
835 mContentInsets.top += padding.top;
836 mContentInsets.right += padding.right;
837 mContentInsets.bottom += padding.bottom;
860 insetsChanged |= !mDispatchedContentInsets.equals(mContentInsets);
[all...]
/frameworks/base/core/java/android/app/
H A DActivityManager.java2104 private final Rect mContentInsets; field in class:ActivityManager.TaskSnapshot
2121 mContentInsets = new Rect(contentInsets);
2133 mContentInsets = source.readParcelable(null /* classLoader */);
2161 return mContentInsets;
2218 dest.writeParcelable(mContentInsets, 0);
2233 + " mContentInsets=" + mContentInsets.toShortString()
/frameworks/base/core/java/android/view/
H A DViewRootImpl.java760 mAttachInfo.mContentInsets, mAttachInfo.mStableInsets,
778 mTranslator.translateRectInScreenToAppWindow(mAttachInfo.mContentInsets);
781 mPendingContentInsets.set(mAttachInfo.mContentInsets);
1609 mDispatchContentInsets.set(mAttachInfo.mContentInsets);
1817 if (!mPendingContentInsets.equals(mAttachInfo.mContentInsets)) {
2023 mAttachInfo.mContentInsets);
2037 mAttachInfo.mContentInsets.set(mPendingContentInsets);
2039 + mAttachInfo.mContentInsets);
3545 final Rect ci = mAttachInfo.mContentInsets;
H A DView.java26406 final Rect mContentInsets = new Rect(); field in class:View.AttachInfo
[all...]

Completed in 287 milliseconds