Home
last modified time | relevance | path

Searched refs:viewWidth (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/test-runner/src/android/test/
DTouchUtils.java224 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/
DFaceUnlockView.java56 int viewWidth = resolveMeasured(widthMeasureSpec, minimumWidth); in onMeasure() local
59 final int chosenSize = Math.min(viewWidth, viewHeight); in onMeasure()
DLockPatternView.java498 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()
DSlidingTab.java652 int viewWidth = getWidth();
654 dx = slider == mRightSlider ? - (right + viewWidth - holdOffset)
655 : (viewWidth - left) + viewWidth - holdOffset;
/frameworks/support/v4/java/android/support/v4/widget/
DCircleImageView.java146 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/
DCircleView.java93 int viewWidth = getWidth(); in onDraw() local
94 if (viewWidth == 0 || !mIsInitialized) { in onDraw()
DAmPmCirclesView.java152 int viewWidth = getWidth(); in onDraw() local
153 if (viewWidth == 0 || !mIsInitialized) { in onDraw()
DRadialSelectorView.java273 int viewWidth = getWidth(); in onDraw() local
274 if (viewWidth == 0 || !mIsInitialized) { in onDraw()
DRadialTextsView.java175 int viewWidth = getWidth(); in onDraw() local
176 if (viewWidth == 0 || !mIsInitialized) { in onDraw()
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java444 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()