Searched defs:mTopOffset (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/lowram/
H A DTaskStackLowRamLayoutAlgorithm.java49 private int mTopOffset; field in class:TaskStackLowRamLayoutAlgorithm
76 mTopOffset = (getTotalHeightOfTasks(MAX_LAYOUT_TASK_COUNT) - windowHeight) / 2;
242 return getTotalHeightOfTasks(index) - mTopOffset;
/frameworks/base/core/java/android/widget/
H A DSlidingDrawer.java115 private int mTopOffset; field in class:SlidingDrawer
220 mTopOffset = (int) a.getDimension(R.styleable.SlidingDrawer_topOffset, 0.0f);
290 int height = heightSpecSize - handle.getMeasuredHeight() - mTopOffset;
294 int width = widthSpecSize - handle.getMeasuredWidth() - mTopOffset;
320 canvas.translate(isVertical ? 0 : handle.getLeft() - mTopOffset,
321 isVertical ? handle.getTop() - mTopOffset : 0);
351 childTop = mExpanded ? mTopOffset : height - childHeight + mBottomOffset;
353 content.layout(0, mTopOffset + childHeight, content.getMeasuredWidth(),
354 mTopOffset + childHeight + content.getMeasuredHeight());
356 childLeft = mExpanded ? mTopOffset
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DResolverDrawerLayout.java83 private int mTopOffset; field in class: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/
H A DPagedListView.java1456 private int mTopOffset; field in class:PagedListView.TopOffsetDecoration
1459 mTopOffset = topOffset;
1471 outRect.top = mTopOffset;
1474 outRect.top = mTopOffset;
1482 mTopOffset = topOffset;
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/
H A DGridWidgetTest.java540 private int mTopOffset; field in class:GridWidgetTest.DividerDecoration
545 mTopOffset = topOffset;
562 mTopDivider.setBounds(0, (int) view.getY() - mTopOffset, width, (int) view.getY());
574 outRect.top = mTopOffset;

Completed in 290 milliseconds