Searched refs:viewWidth (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/test-runner/src/android/test/ |
D | TouchUtils.java | 248 final int viewWidth = v.getWidth(); in dragViewToBottom() local 251 final float x = xy[0] + (viewWidth / 2.0f); in dragViewToBottom() 268 final int viewWidth = v.getWidth(); in tapView() local 271 final float x = xy[0] + (viewWidth / 2.0f); in tapView() 308 final int viewWidth = v.getWidth(); in touchAndCancelView() local 311 final float x = xy[0] + (viewWidth / 2.0f); in touchAndCancelView() 343 final int viewWidth = v.getWidth(); in clickView() local 346 final float x = xy[0] + (viewWidth / 2.0f); in clickView() 404 final int viewWidth = v.getWidth(); in longClickView() local 407 final float x = xy[0] + (viewWidth / 2.0f); in longClickView() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/ |
D | MirrorWindowControl.java | 175 private void updateDraggableBound(int viewWidth, int viewHeight) { in updateDraggableBound() argument 178 mDraggableBound.set(0, 0, size.x - viewWidth, size.y - viewHeight); in updateDraggableBound()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | TransformState.java | 141 int viewWidth = getViewWidth(); in transformViewFrom() local 143 boolean differentWidth = otherWidth != viewWidth && otherWidth != 0 && viewWidth != 0; in transformViewFrom() 171 / (float) viewWidth); in transformViewFrom()
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/ |
D | PhotoView.java | 415 final float viewWidth = getWidth(); in interceptMoveLeft() local 419 if (!mTransformsEnabled || drawWidth <= viewWidth) { in interceptMoveLeft() 425 } else if (viewWidth >= drawWidth + transX) { in interceptMoveLeft() 448 final float viewWidth = getWidth(); in interceptMoveRight() local 452 if (!mTransformsEnabled || drawWidth <= viewWidth) { in interceptMoveRight() 458 } else if (viewWidth >= drawWidth + transX) { in interceptMoveRight()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/ |
D | BubbleOverflowActivity.java | 129 final int viewWidth = recyclerViewWidth / columns; in updateDimensions() local 138 mBubbleController::promoteBubbleFromOverflow, viewWidth, viewHeight); in updateDimensions()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | LockPatternView.java | 704 int viewWidth = resolveMeasured(widthMeasureSpec, minimumWidth); in onMeasure() local 709 viewWidth = viewHeight = Math.min(viewWidth, viewHeight); in onMeasure() 712 viewHeight = Math.min(viewWidth, viewHeight); in onMeasure() 715 viewWidth = Math.min(viewWidth, viewHeight); in onMeasure() 719 setMeasuredDimension(viewWidth, viewHeight); in onMeasure()
|
D | SlidingTab.java | 660 int viewWidth = getWidth(); 662 dx = slider == mRightSlider ? - (right + viewWidth - holdOffset) 663 : (viewWidth - left) + viewWidth - holdOffset;
|