Searched refs:viewWidth (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/test-runner/src/android/test/ |
D | TouchUtils.java | 224 final int viewWidth = v.getWidth(); in dragViewToBottom() local 227 final float x = xy[0] + (viewWidth / 2.0f); in dragViewToBottom() 244 final int viewWidth = v.getWidth(); in tapView() local 247 final float x = xy[0] + (viewWidth / 2.0f); in tapView() 284 final int viewWidth = v.getWidth(); in touchAndCancelView() local 287 final float x = xy[0] + (viewWidth / 2.0f); in touchAndCancelView() 319 final int viewWidth = v.getWidth(); in clickView() local 322 final float x = xy[0] + (viewWidth / 2.0f); in clickView() 380 final int viewWidth = v.getWidth(); in longClickView() local 383 final float x = xy[0] + (viewWidth / 2.0f); in longClickView() [all …]
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | FaceUnlockView.java | 56 int viewWidth = resolveMeasured(widthMeasureSpec, minimumWidth); in onMeasure() local 59 final int chosenSize = Math.min(viewWidth, viewHeight); in onMeasure()
|
D | LockPatternView.java | 498 int viewWidth = resolveMeasured(widthMeasureSpec, minimumWidth); in onMeasure() local 503 viewWidth = viewHeight = Math.min(viewWidth, viewHeight); in onMeasure() 506 viewHeight = Math.min(viewWidth, viewHeight); in onMeasure() 509 viewWidth = Math.min(viewWidth, viewHeight); in onMeasure() 513 setMeasuredDimension(viewWidth, viewHeight); in onMeasure()
|
D | SlidingTab.java | 652 int viewWidth = getWidth(); 654 dx = slider == mRightSlider ? - (right + viewWidth - holdOffset) 655 : (viewWidth - left) + viewWidth - holdOffset;
|
/frameworks/support/v4/java/android/support/v4/widget/ |
D | CircleImageView.java | 146 final int viewWidth = CircleImageView.this.getWidth(); in draw() local 148 canvas.drawCircle(viewWidth / 2, viewHeight / 2, (mCircleDiameter / 2 + mShadowRadius), in draw() 150 canvas.drawCircle(viewWidth / 2, viewHeight / 2, (mCircleDiameter / 2), paint); in draw()
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/ |
D | CircleView.java | 93 int viewWidth = getWidth(); in onDraw() local 94 if (viewWidth == 0 || !mIsInitialized) { in onDraw()
|
D | AmPmCirclesView.java | 152 int viewWidth = getWidth(); in onDraw() local 153 if (viewWidth == 0 || !mIsInitialized) { in onDraw()
|
D | RadialSelectorView.java | 273 int viewWidth = getWidth(); in onDraw() local 274 if (viewWidth == 0 || !mIsInitialized) { in onDraw()
|
D | RadialTextsView.java | 175 int viewWidth = getWidth(); in onDraw() local 176 if (viewWidth == 0 || !mIsInitialized) { in onDraw()
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/ |
D | PhotoView.java | 444 final float viewWidth = getWidth(); in interceptMoveLeft() local 448 if (!mTransformsEnabled || drawWidth <= viewWidth) { in interceptMoveLeft() 454 } else if (viewWidth >= drawWidth + transX) { in interceptMoveLeft() 477 final float viewWidth = getWidth(); in interceptMoveRight() local 481 if (!mTransformsEnabled || drawWidth <= viewWidth) { in interceptMoveRight() 487 } else if (viewWidth >= drawWidth + transX) { in interceptMoveRight()
|