Home
last modified time | relevance | path

Searched refs:topInset (Results 1 – 13 of 13) sorted by relevance

/frameworks/support/design/tests/src/android/support/design/widget/
DAppBarWithCollapsingToolbarTest.java154 final int topInset = mAppBar.getTopInset(); in testScrollingToolbar() local
182 assertEquals(originalAppbarTop, appbarOnScreenXY[1] + appbarHeight - topInset, 1); in testScrollingToolbar()
196 assertEquals(originalAppbarTop, appbarOnScreenXY[1] + appbarHeight - topInset, 1); in testScrollingToolbar()
213 assertEquals(originalAppbarTop + toolbarHeight + topInset, in testScrollingToolbar()
259 final int topInset = mAppBar.getTopInset(); in testScrollingToolbarEnterAlways() local
287 assertEquals(originalAppbarTop, appbarOnScreenXY[1] + appbarHeight - topInset, 1); in testScrollingToolbarEnterAlways()
301 assertEquals(originalAppbarTop, appbarOnScreenXY[1] + appbarHeight - topInset, 1); in testScrollingToolbarEnterAlways()
319 is(greaterThan(originalAppbarTop + toolbarHeight + topInset))); in testScrollingToolbarEnterAlways()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DActionBarOverlayLayout.java345 int topInset = 0;
362 topInset = mActionBarHeight;
367 topInset += mActionBarHeight;
373 topInset = mActionBarTop.getMeasuredHeight();
383 mContentInsets.top += topInset;
386 mInnerInsets.top += topInset;
/frameworks/base/core/java/com/android/internal/widget/
DActionBarOverlayLayout.java375 int topInset = 0;
403 topInset = mActionBarHeight;
408 topInset += mActionBarHeight;
414 topInset = mActionBarTop.getMeasuredHeight();
435 mContentInsets.top += topInset;
438 mInnerInsets.top += topInset;
/frameworks/support/design/src/android/support/design/widget/
DCollapsingToolbarLayout.java302 final int topInset = mLastInsets != null ? mLastInsets.getSystemWindowInsetTop() : 0; in draw() local
303 if (topInset > 0) { in draw()
305 topInset - mCurrentOffset); in draw()
413 final int topInset = mLastInsets != null ? mLastInsets.getSystemWindowInsetTop() : 0; in onMeasure() local
414 if (mode == MeasureSpec.UNSPECIFIED && topInset > 0) { in onMeasure()
418 getMeasuredHeight() + topInset, MeasureSpec.EXACTLY); in onMeasure()
DAppBarLayout.java493 final int topInset = getTopInset(); in getMinimumHeightForVisibleOverlappingContent() local
497 return (minHeight * 2) + topInset; in getMinimumHeightForVisibleOverlappingContent()
505 return (lastChildMinHeight * 2) + topInset; in getMinimumHeightForVisibleOverlappingContent()
/frameworks/base/core/java/com/android/internal/policy/
DBackdropFrameRenderer.java373 final int topInset = DecorView.getColorViewTopInset(mStableInsets.top, mSystemInsets.top); in drawColorViews() local
375 mStatusBarColor.setBounds(0, 0, left + width, topInset); in drawColorViews()
/frameworks/base/services/core/java/com/android/server/wm/
DStackWindowController.java344 int topInset = mTmpRect.top - inInsetBounds.top; in intersectDisplayBoundsExcludeInsets() local
347 inOutBounds.inset(leftInset, topInset, rightInset, bottomInset); in intersectDisplayBoundsExcludeInsets()
DDockedStackDividerController.java240 final int topInset = mTmpRect.top; in initSnapAlgorithmForRotations() local
242 … config.setAppBounds(leftInset /*left*/, topInset /*top*/, leftInset + appWidth /*right*/, in initSnapAlgorithmForRotations()
243 topInset + appHeight /*bottom*/); in initSnapAlgorithmForRotations()
DTaskStack.java1146 int topInset = mTmpRect.top; in adjustForMinimizedDockedStack() local
1149 (int) (minimizeAmount * topInset + (1 - minimizeAmount) * mBounds.bottom); in adjustForMinimizedDockedStack()
1182 int topInset = mTmpRect.top; in getMinimizeDistance() local
1183 return mBounds.bottom - topInset; in getMinimizeDistance()
DDisplayContent.java1185 final int topInset = mTmpRect.top; in computeScreenConfiguration() local
1187 …config.setAppBounds(leftInset /*left*/, topInset /*top*/, leftInset + displayInfo.appWidth /*right… in computeScreenConfiguration()
1188 topInset + displayInfo.appHeight /*bottom*/); in computeScreenConfiguration()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DTaskStackLayoutAlgorithm.java1113 public void getTaskStackBounds(Rect displayRect, Rect windowRect, int topInset, int leftInset, in getTaskStackBounds() argument
1115 taskStackBounds.set(windowRect.left + leftInset, windowRect.top + topInset, in getTaskStackBounds()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DGridLayoutManager.java185 void setOpticalInsets(int leftInset, int topInset, int rightInset, int bottomInset) { in setOpticalInsets() argument
187 mTopInset = topInset; in setOpticalInsets()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java4353 int topInset = mTmpRect.top - taskBounds.top; in calculateRelevantTaskInsets() local
4356 inOutInsets.set(leftInset, topInset, rightInset, bottomInset); in calculateRelevantTaskInsets()