Home
last modified time | relevance | path

Searched refs:mContentInsets (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/core/java/android/service/wallpaper/
DWallpaperService.java167 final Rect mContentInsets = new Rect(); field in WallpaperService.Engine
546 out.print(" mContentInsets="); out.println(mContentInsets.toShortString()); in dump()
667 Display.DEFAULT_DISPLAY, mContentInsets, mStableInsets, in updateSurface()
688 View.VISIBLE, 0, mWinFrame, mOverscanInsets, mContentInsets, in updateSurface()
705 mContentInsets.left += padding.left; in updateSurface()
706 mContentInsets.top += padding.top; in updateSurface()
707 mContentInsets.right += padding.right; in updateSurface()
708 mContentInsets.bottom += padding.bottom; in updateSurface()
725 insetsChanged |= !mDispatchedContentInsets.equals(mContentInsets); in updateSurface()
786 mDispatchedContentInsets.set(mContentInsets); in updateSurface()
/frameworks/base/core/java/com/android/internal/widget/
DActionBarOverlayLayout.java78 private final Rect mContentInsets = new Rect(); field in ActionBarOverlayLayout
428 mContentInsets.set(mBaseContentInsets);
431 mContentInsets.top += topInset;
432 mContentInsets.bottom += bottomInset;
437 applyInsets(mContent, mContentInsets, true, true, true, true);
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DActionBarOverlayLayout.java77 private final Rect mContentInsets = new Rect(); field in ActionBarOverlayLayout
433 mContentInsets.set(mBaseContentInsets); in onMeasure()
436 mContentInsets.top += topInset; in onMeasure()
437 mContentInsets.bottom += bottomInset; in onMeasure()
442 applyInsets(mContent, mContentInsets, true, true, true, true); in onMeasure()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DToolbar.java139 private final RtlSpacingHelper mContentInsets = new RtlSpacingHelper(); field in Toolbar
243 mContentInsets.setAbsolute(contentInsetLeft, contentInsetRight); in Toolbar()
247 mContentInsets.setRelative(contentInsetStart, contentInsetEnd); in Toolbar()
315 mContentInsets.setDirection(layoutDirection == ViewCompat.LAYOUT_DIRECTION_RTL); in onRtlPropertiesChanged()
893 mContentInsets.setRelative(contentInsetStart, contentInsetEnd); in setContentInsetsRelative()
912 return mContentInsets.getStart(); in getContentInsetStart()
931 return mContentInsets.getEnd(); in getContentInsetEnd()
951 mContentInsets.setAbsolute(contentInsetLeft, contentInsetRight); in setContentInsetsAbsolute()
970 return mContentInsets.getLeft(); in getContentInsetLeft()
989 return mContentInsets.getRight(); in getContentInsetRight()
/frameworks/base/core/java/android/widget/
DToolbar.java131 private final RtlSpacingHelper mContentInsets = new RtlSpacingHelper(); field in Toolbar
235 mContentInsets.setAbsolute(contentInsetLeft, contentInsetRight); in Toolbar()
239 mContentInsets.setRelative(contentInsetStart, contentInsetEnd); in Toolbar()
302 mContentInsets.setDirection(layoutDirection == LAYOUT_DIRECTION_RTL); in onRtlPropertiesChanged()
892 mContentInsets.setRelative(contentInsetStart, contentInsetEnd); in setContentInsetsRelative()
911 return mContentInsets.getStart(); in getContentInsetStart()
930 return mContentInsets.getEnd(); in getContentInsetEnd()
950 mContentInsets.setAbsolute(contentInsetLeft, contentInsetRight); in setContentInsetsAbsolute()
969 return mContentInsets.getLeft(); in getContentInsetLeft()
988 return mContentInsets.getRight(); in getContentInsetRight()
/frameworks/base/core/java/android/view/
DSurfaceView.java107 final Rect mContentInsets = new Rect(); field in SurfaceView
499 mVisible ? VISIBLE : GONE, display.getDisplayId(), mContentInsets, in updateWindow()
521 mWinFrame, mOverscanInsets, mContentInsets, in updateWindow()
DViewRootImpl.java529 mAttachInfo.mContentInsets, mAttachInfo.mStableInsets, mInputChannel); in setView()
546 mTranslator.translateRectInScreenToAppWindow(mAttachInfo.mContentInsets); in setView()
549 mPendingContentInsets.set(mAttachInfo.mContentInsets); in setView()
1209 mDispatchContentInsets.set(mAttachInfo.mContentInsets); in dispatchApplyInsets()
1348 if (!mPendingContentInsets.equals(mAttachInfo.mContentInsets)) { in performTraversals()
1530 mAttachInfo.mContentInsets); in performTraversals()
1598 mAttachInfo.mContentInsets.set(mPendingContentInsets); in performTraversals()
1600 + mAttachInfo.mContentInsets); in performTraversals()
2744 final Rect ci = mAttachInfo.mContentInsets; in scrollToRectOrFocus()
DView.java20298 final Rect mContentInsets = new Rect();
/frameworks/base/services/core/java/com/android/server/wm/
DWindowState.java158 final Rect mContentInsets = new Rect(); field in WindowState
623 mContentInsets.set(mContentFrame.left - mFrame.left, in computeFrameLw()
644 mContentInsets.scale(mInvGlobalScale); in computeFrameLw()
667 + " ci=" + mContentInsets.toShortString() in computeFrameLw()
772 mContentInsetsChanged |= !mLastContentInsets.equals(mContentInsets); in setInsetsChanged()
1581 pw.print(" content="); mContentInsets.printShortString(pw); in dump()
DWindowManagerService.java3277 outContentInsets.set(win.mContentInsets); in relayoutWindow()
3392 if (win.mContentInsets != null) { in applyAnimationLocked()
3393 contentInsets.set(win.mContentInsets); in applyAnimationLocked()
6179 final Rect cr = ws.mContentInsets; in screenshotApplications()
9423 + " " + w.mContentInsets.toShortString() in updateResizingWindows()
9433 w.mLastContentInsets.set(w.mContentInsets); in updateResizingWindows()
DWindowStateAnimator.java1350 final int offsetTop = Math.max(clipRect.top, w.mContentInsets.top); in updateSurfaceWindowCrop()