Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DSlidingDrawer.java119 private int mTopOffset; field in SlidingDrawer
227 mTopOffset = (int) a.getDimension(R.styleable.SlidingDrawer_topOffset, 0.0f); in SlidingDrawer()
297 int height = heightSpecSize - handle.getMeasuredHeight() - mTopOffset; in onMeasure()
301 int width = widthSpecSize - handle.getMeasuredWidth() - mTopOffset; in onMeasure()
327 canvas.translate(isVertical ? 0 : handle.getLeft() - mTopOffset, in dispatchDraw()
328 isVertical ? handle.getTop() - mTopOffset : 0); in dispatchDraw()
358 childTop = mExpanded ? mTopOffset : height - childHeight + mBottomOffset; in onLayout()
360 content.layout(0, mTopOffset + childHeight, content.getMeasuredWidth(), in onLayout()
361 mTopOffset + childHeight + content.getMeasuredHeight()); in onLayout()
363 childLeft = mExpanded ? mTopOffset : width - childWidth + mBottomOffset; in onLayout()
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DResolverDrawerLayout.java97 private int mTopOffset; field in ResolverDrawerLayout
571 mTopOffset += dy;
982 mTopOffset = 0;
984 mTopOffset = Math.max(0, heightSize - heightUsed) + (int) mCollapseOffset;
1003 int ypos = mTopOffset;