Home
last modified time | relevance | path

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

/frameworks/support/design/tests/src/android/support/design/widget/
DAppBarWithCollapsingToolbarTest.java141 final int topInset = mAppBar.getTopInset(); in testScrollingToolbar() local
166 assertEquals(originalAppbarTop, appbarOnScreenXY[1] + appbarHeight - topInset, 1); in testScrollingToolbar()
179 assertEquals(originalAppbarTop, appbarOnScreenXY[1] + appbarHeight - topInset, 1); in testScrollingToolbar()
195 assertEquals(originalAppbarTop + toolbarHeight + topInset, in testScrollingToolbar()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DActionBarOverlayLayout.java335 int topInset = 0; in onMeasure() local
353 topInset = mActionBarHeight; in onMeasure()
358 topInset += mActionBarHeight; in onMeasure()
364 topInset = mActionBarTop.getMeasuredHeight(); in onMeasure()
374 mContentInsets.top += topInset; in onMeasure()
377 mInnerInsets.top += topInset; in onMeasure()
/frameworks/base/core/java/com/android/internal/widget/
DActionBarOverlayLayout.java370 int topInset = 0;
398 topInset = mActionBarHeight;
403 topInset += mActionBarHeight;
409 topInset = mActionBarTop.getMeasuredHeight();
430 mContentInsets.top += topInset;
433 mInnerInsets.top += topInset;
/frameworks/base/core/java/com/android/internal/policy/
DBackdropFrameRenderer.java369 final int topInset = DecorView.getColorViewTopInset(mStableInsets.top, mSystemInsets.top); in drawColorViews() local
375 mStatusBarColor.setBounds(0, 0, left + width, topInset); in drawColorViews()
/frameworks/support/design/src/android/support/design/widget/
DCollapsingToolbarLayout.java280 final int topInset = mLastInsets != null ? mLastInsets.getSystemWindowInsetTop() : 0; in draw() local
281 if (topInset > 0) { in draw()
283 topInset - mCurrentOffset); in draw()
DAppBarLayout.java468 final int topInset = getTopInset(); in getMinimumHeightForVisibleOverlappingContent() local
472 return (minHeight * 2) + topInset; in getMinimumHeightForVisibleOverlappingContent()
480 return (lastChildMinHeight * 2) + topInset; in getMinimumHeightForVisibleOverlappingContent()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskStack.java1044 int topInset = mTmpRect.top; in adjustForMinimizedDockedStack() local
1047 (int) (minimizeAmount * topInset + (1 - minimizeAmount) * mBounds.bottom); in adjustForMinimizedDockedStack()
1075 int topInset = mTmpRect.top; in getMinimizeDistance() local
1076 return mBounds.bottom - topInset; in getMinimizeDistance()
/frameworks/base/services/core/java/com/android/server/am/
DTaskRecord.java1495 int topInset = mTmpRect2.top - inInsetBounds.top; in subtractNonDecorInsets() local
1498 inOutBounds.inset(leftInset, topInset, rightInset, bottomInset); in subtractNonDecorInsets()
1506 int topInset = mTmpRect2.top - inInsetBounds.top; in subtractStableInsets() local
1509 inOutBounds.inset(leftInset, topInset, rightInset, bottomInset); in subtractStableInsets()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DTaskStackLayoutAlgorithm.java1061 public void getTaskStackBounds(Rect displayRect, Rect windowRect, int topInset, int rightInset, in getTaskStackBounds() argument
1063 taskStackBounds.set(windowRect.left, windowRect.top + topInset, in getTaskStackBounds()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DGridLayoutManager.java180 void setOpticalInsets(int leftInset, int topInset, int rightInset, int bottomInset) { in setOpticalInsets() argument
182 mTopInset = topInset; in setOpticalInsets()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java3897 int topInset = mTmpRect.top - taskBounds.top; in calculateRelevantTaskInsets() local
3900 inOutInsets.set(leftInset, topInset, rightInset, bottomInset); in calculateRelevantTaskInsets()