/external/replicaisland/src/com/replica/replicaisland/ |
ContextParameters.java | 23 public int viewWidth;
|
DrawableBitmap.java | 68 * @param viewWidth The width of the screen. 71 public static void beginDrawing(GL10 gl, float viewWidth, float viewHeight) { 80 gl.glOrthof(0.0f, viewWidth, 0.0f, viewHeight, 0.0f, 1.0f); 113 final float viewWidth = mViewWidth; 117 if (viewWidth > 0) { 119 || snappedX > viewWidth
|
/frameworks/base/core/java/com/android/internal/widget/ |
FaceUnlockView.java | 58 int viewWidth = resolveMeasured(widthMeasureSpec, minimumWidth); 61 final int chosenSize = Math.min(viewWidth, viewHeight);
|
LockPatternView.java | 490 int viewWidth = resolveMeasured(widthMeasureSpec, minimumWidth); 495 viewWidth = viewHeight = Math.min(viewWidth, viewHeight); 498 viewHeight = Math.min(viewWidth, viewHeight); 501 viewWidth = Math.min(viewWidth, viewHeight); 504 // Log.v(TAG, "LockPatternView dimensions: " + viewWidth + "x" + viewHeight); 505 setMeasuredDimension(viewWidth, viewHeight); [all...] |
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/ |
CircleView.java | 93 int viewWidth = getWidth(); 94 if (viewWidth == 0 || !mIsInitialized) {
|
AmPmCirclesView.java | 152 int viewWidth = getWidth(); 153 if (viewWidth == 0 || !mIsInitialized) {
|
RadialTextsView.java | 175 int viewWidth = getWidth(); 176 if (viewWidth == 0 || !mIsInitialized) {
|
RadialSelectorView.java | 273 int viewWidth = getWidth(); 274 if (viewWidth == 0 || !mIsInitialized) {
|
/packages/apps/InCallUI/src/com/android/incallui/ |
SmallerHitTargetTouchListener.java | 66 final int viewWidth = v.getWidth(); 78 if (viewWidth < targetMinSizeX || viewHeight < targetMinSizeY) { 88 final int maxTouchX = viewWidth - edgeIgnoreX;
|
/packages/services/Telephony/src/com/android/phone/ |
SmallerHitTargetTouchListener.java | 67 final int viewWidth = v.getWidth(); 79 if (viewWidth < targetMinSizeX || viewHeight < targetMinSizeY) { 89 final int maxTouchX = viewWidth - edgeIgnoreX;
|
/external/chromium_org/components/web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/ |
ValidationMessageBubble.java | 147 final int viewWidth = coordinates.getLastFrameViewportWidthPixInt(); 154 } else if (x + width > viewWidth) { 155 x = viewWidth - width;
|
/frameworks/base/test-runner/src/android/test/ |
TouchUtils.java | 236 final int viewWidth = v.getWidth(); 239 final float x = xy[0] + (viewWidth / 2.0f); 256 final int viewWidth = v.getWidth(); 259 final float x = xy[0] + (viewWidth / 2.0f); 296 final int viewWidth = v.getWidth(); 299 final float x = xy[0] + (viewWidth / 2.0f); 331 final int viewWidth = v.getWidth(); 334 final float x = xy[0] + (viewWidth / 2.0f); 392 final int viewWidth = v.getWidth(); 395 final float x = xy[0] + (viewWidth / 2.0f) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
SlideshowView.java | 139 int viewWidth = getWidth(); 143 viewWidth / mWidth, (float) viewHeight / mHeight); 146 float centerX = viewWidth / 2 + mMovingVector.x * mProgress;
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
ModePicker.java | 258 int viewWidth = mModeSelectionIcon[MODE_CAMERA].getWidth(); 261 int padding = (viewWidth - iconWidth) / 2; 262 int l = mModeSelectionFrame.getLeft() + mCurrentMode * viewWidth;
|
/cts/tests/tests/widget/src/android/widget/cts/ |
MediaControllerTest.java | 208 final int viewWidth = videoView.getWidth(); 211 final float x = xy[0] + viewWidth / 2.0f;
|
PopupWindowTest.java | 674 final int viewWidth = mPopupWindow.getContentView().getWidth(); 676 final float x = xy[0] + (viewWidth / 2.0f);
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
ConversationItemViewModel.java | 99 public int viewWidth; 232 return Objects.hashCode(mDataHashCode, viewWidth, standardScaledDimen, gadgetMode);
|
/packages/apps/Gallery/src/com/android/camera/ |
ImageViewTouchBase.java | 155 final int viewWidth = getWidth(); 157 if (viewWidth <= 0) { 216 int viewWidth = getWidth(); 217 if (width < viewWidth) { 218 deltaX = (viewWidth - width) / 2 - rect.left; 221 } else if (rect.right < viewWidth) { 222 deltaX = viewWidth - rect.right; 260 float viewWidth = getWidth(); 269 float widthScale = Math.min(viewWidth / w, 3.0f); 277 (viewWidth - w * scale) / 2F [all...] |
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
ImageViewTouchBase.java | 183 final int viewWidth = getWidth(); 184 if (viewWidth <= 0) { 264 final float viewWidth = getWidth(); 274 float widthScale = Math.min(viewWidth / w, 10.0f); 278 matrix.postTranslate((viewWidth - w * scale) / 2F, (viewHeight - h * scale) / 2F); 280 matrix.postTranslate((viewWidth - w) / 2F, (viewHeight - h) / 2F); 327 public static float maxZoom(int bitmapWidth, int bitmapHeight, int viewWidth, int viewHeight) { 328 final float fw = (float)bitmapWidth / viewWidth; 504 int viewWidth = getWidth(); 505 if (width < viewWidth) { [all...] |
OverlayLinearLayout.java | 599 final int viewWidth = getWidth() - (2 * mHalfParentWidth); 617 left = leftViewWidth + (int)((mediaItemStartTimeMs * viewWidth) / 622 viewWidth) / totalDurationMs); 628 mediaItem.getAppBoundaryBeginTime()) * viewWidth) / 633 durationMs) * viewWidth) / totalDurationMs); 637 viewWidth) / totalDurationMs); 640 overlay.getAppDuration()) * viewWidth) / totalDurationMs); 643 left = leftViewWidth + (int)((mediaItemStartTimeMs * viewWidth) / 646 + mediaItem.getAppTimelineDuration()) * viewWidth) / totalDurationMs); [all...] |
AudioTrackLinearLayout.java | 525 final int viewWidth = getWidth() - (2 * mHalfParentWidth); 539 audioTrack.getAppStartTime()) * viewWidth / mTimelineDurationMs); 544 audioTrack.getAppStartTime()) * viewWidth / mTimelineDurationMs); 546 width = (int)(audioTrack.getTimelineDuration() * viewWidth / 552 (int)((audioTrack.getAppStartTime() * viewWidth) / mTimelineDurationMs) +
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
RenderView.cpp | 313 bool relayoutChildren = !shouldUsePrintingLayout() && (!m_frameView || width() != viewWidth() || height() != viewHeight()); 640 rect.setX(viewWidth() - rect.maxX()); [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/renderer/ |
RenderManager.java | 81 private int viewX, viewY, viewWidth, viewHeight;
425 tempVec4.set(viewX, viewY, viewWidth, viewHeight);
429 tempVec2.set(viewWidth, viewHeight);
433 tempVec2.set(1f / viewWidth, 1f / viewHeight);
437 float aspect = ((float) viewWidth) / viewHeight;
[all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
ImageStraighten.java | 207 int imageHeight, int viewWidth, int viewHeight) { 225 float scale = GeometryMathUtils.scale(iw, ih, viewWidth, viewHeight); 229 tmp.offset(viewWidth / 2f - tmp.centerX(), viewHeight / 2f - tmp.centerY()); 232 imageHeight, viewWidth, viewHeight); 253 int viewWidth = canvas.getWidth(); 258 imageHeight, viewWidth, viewHeight); 269 imageHeight, viewWidth, viewHeight); 281 float step = Math.max(viewWidth, viewHeight) / NBLINES; 291 canvas.drawLine(0, p, viewWidth, p, mPaint);
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/ |
PhotoView.java | 375 final float viewWidth = getWidth(); 379 if (!mTransformsEnabled || drawWidth <= viewWidth) { 385 } else if (viewWidth >= drawWidth + transX) { 408 final float viewWidth = getWidth(); 412 if (!mTransformsEnabled || drawWidth <= viewWidth) { 418 } else if (viewWidth >= drawWidth + transX) { [all...] |