Home
last modified time | relevance | path

Searched refs:mTopOffset (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/android/widget/
DSlidingDrawer.java115 private int mTopOffset; field in SlidingDrawer
220 mTopOffset = (int) a.getDimension(R.styleable.SlidingDrawer_topOffset, 0.0f); in SlidingDrawer()
290 int height = heightSpecSize - handle.getMeasuredHeight() - mTopOffset; in onMeasure()
294 int width = widthSpecSize - handle.getMeasuredWidth() - mTopOffset; in onMeasure()
320 canvas.translate(isVertical ? 0 : handle.getLeft() - mTopOffset, in dispatchDraw()
321 isVertical ? handle.getTop() - mTopOffset : 0); in dispatchDraw()
351 childTop = mExpanded ? mTopOffset : height - childHeight + mBottomOffset; in onLayout()
353 content.layout(0, mTopOffset + childHeight, content.getMeasuredWidth(), in onLayout()
354 mTopOffset + childHeight + content.getMeasuredHeight()); in onLayout()
356 childLeft = mExpanded ? mTopOffset : width - childWidth + mBottomOffset; in onLayout()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/lowram/
DTaskStackLowRamLayoutAlgorithm.java49 private int mTopOffset; field in TaskStackLowRamLayoutAlgorithm
76 mTopOffset = (getTotalHeightOfTasks(MAX_LAYOUT_TASK_COUNT) - windowHeight) / 2; in initialize()
242 return getTotalHeightOfTasks(index) - mTopOffset; in getTaskTopFromIndex()
/frameworks/base/core/java/com/android/internal/widget/
DResolverDrawerLayout.java83 private int mTopOffset; field in ResolverDrawerLayout
495 mTopOffset += dy;
842 mTopOffset = 0;
844 mTopOffset = Math.max(0, heightSize - heightUsed) + (int) mCollapseOffset;
856 int ypos = mTopOffset;
/frameworks/support/car/src/main/java/androidx/car/widget/
DPagedListView.java1456 private int mTopOffset; field in PagedListView.TopOffsetDecoration
1459 mTopOffset = topOffset; in TopOffsetDecoration()
1471 outRect.top = mTopOffset; in getItemOffsets()
1474 outRect.top = mTopOffset; in getItemOffsets()
1482 mTopOffset = topOffset; in setTopOffset()
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/
DGridWidgetTest.java540 private int mTopOffset; field in GridWidgetTest.DividerDecoration
545 mTopOffset = topOffset; in DividerDecoration()
562 mTopDivider.setBounds(0, (int) view.getY() - mTopOffset, width, (int) view.getY()); in onDrawOver()
574 outRect.top = mTopOffset; in getItemOffsets()
/frameworks/base/config/
Dhiddenapi-light-greylist.txt7245 Landroid/widget/SlidingDrawer;->mTopOffset:I