Home
last modified time | relevance | path

Searched refs:mTopOffset (Results 1 – 3 of 3) 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/packages/SystemUI/legacy/recents/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.java91 private int mTopOffset; field in ResolverDrawerLayout
534 mTopOffset += dy;
909 mTopOffset = 0;
911 mTopOffset = Math.max(0, heightSize - heightUsed) + (int) mCollapseOffset;
930 int ypos = mTopOffset;