Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DSlidingDrawer.java117 private int mTopOffset; field in SlidingDrawer
222 mTopOffset = (int) a.getDimension(R.styleable.SlidingDrawer_topOffset, 0.0f); in SlidingDrawer()
292 int height = heightSpecSize - handle.getMeasuredHeight() - mTopOffset; in onMeasure()
296 int width = widthSpecSize - handle.getMeasuredWidth() - mTopOffset; in onMeasure()
322 canvas.translate(isVertical ? 0 : handle.getLeft() - mTopOffset, in dispatchDraw()
323 isVertical ? handle.getTop() - mTopOffset : 0); in dispatchDraw()
353 childTop = mExpanded ? mTopOffset : height - childHeight + mBottomOffset; in onLayout()
355 content.layout(0, mTopOffset + childHeight, content.getMeasuredWidth(), in onLayout()
356 mTopOffset + childHeight + content.getMeasuredHeight()); in onLayout()
358 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
450 mTopOffset += dy;
783 mTopOffset = Math.max(0, heightSize - heightUsed) + (int) mCollapseOffset;
824 int ypos = mTopOffset;
/frameworks/support/v17/tests/src/android/support/v17/leanback/widget/
DGridWidgetTest.java394 private int mTopOffset; field in GridWidgetTest.DividerDecoration
399 mTopOffset = topOffset; in DividerDecoration()
416 mTopDivider.setBounds(0, (int) view.getY() - mTopOffset, width, (int) view.getY()); in onDrawOver()
428 outRect.top = mTopOffset; in getItemOffsets()