Home
last modified time | relevance | path

Searched refs:mTopOffset (Results 1 – 3 of 3) 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/core/java/com/android/internal/widget/
DResolverDrawerLayout.java83 private int mTopOffset; field in ResolverDrawerLayout
460 mTopOffset += dy;
797 mTopOffset = Math.max(0, heightSize - heightUsed) + (int) mCollapseOffset;
808 int ypos = mTopOffset;
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
DGridWidgetTest.java533 private int mTopOffset; field in GridWidgetTest.DividerDecoration
538 mTopOffset = topOffset; in DividerDecoration()
555 mTopDivider.setBounds(0, (int) view.getY() - mTopOffset, width, (int) view.getY()); in onDrawOver()
567 outRect.top = mTopOffset; in getItemOffsets()