/external/replicaisland/src/com/replica/replicaisland/ |
ContextParameters.java | 24 public int viewHeight;
|
DrawableBitmap.java | 69 * @param viewHeight The height 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); 114 final float viewHeight = mViewHeight; 121 || snappedY > viewHeight
|
/packages/apps/InCallUI/src/com/android/incallui/ |
SmallerHitTargetTouchListener.java | 67 final int viewHeight = v.getHeight(); 78 if (viewWidth < targetMinSizeX || viewHeight < targetMinSizeY) { 90 final int maxTouchY = viewHeight - edgeIgnoreY;
|
/packages/services/Telephony/src/com/android/phone/ |
SmallerHitTargetTouchListener.java | 68 final int viewHeight = v.getHeight(); 79 if (viewWidth < targetMinSizeX || viewHeight < targetMinSizeY) { 91 final int maxTouchY = viewHeight - edgeIgnoreY;
|
/frameworks/base/core/java/com/android/internal/widget/ |
FaceUnlockView.java | 59 int viewHeight = resolveMeasured(heightMeasureSpec, minimumHeight); 61 final int chosenSize = Math.min(viewWidth, viewHeight);
|
LockPatternView.java | 491 int viewHeight = resolveMeasured(heightMeasureSpec, minimumHeight); 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...] |
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
ImageViewTouchBase.java | 265 final float viewHeight = getHeight(); 275 float heightScale = Math.min(viewHeight / h, 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) { 329 final float fh = (float)bitmapHeight / viewHeight; 493 int viewHeight = getHeight(); 494 if (height < viewHeight) { 495 deltaY = (viewHeight - height) / 2 - rect.top; 498 } else if (rect.bottom < viewHeight) { [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
GeometryMathUtils.java | 332 boolean reflectRotation, Rect bmapDimens, float viewWidth, float viewHeight) { 335 bmapDimens.height(), viewWidth, viewHeight); 374 float originalHeight, float viewWidth, float viewHeight) { 381 (int) originalHeight, (int) viewWidth, (int) viewHeight); 402 Bitmap photo, int viewWidth, int viewHeight) { 408 viewWidth, viewHeight); 441 int bitmapHeight, int viewWidth, int viewHeight) { 448 float scale = GeometryMathUtils.scale(bw, bh, viewWidth, viewHeight); 450 float s = Math.min(viewWidth / (float) bitmapWidth, viewHeight / (float) bitmapHeight); 453 m.postTranslate(viewWidth / 2f, viewHeight / 2f) [all...] |
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); 254 int viewHeight = canvas.getHeight(); 258 imageHeight, viewWidth, viewHeight); 269 imageHeight, viewWidth, viewHeight); 281 float step = Math.max(viewWidth, viewHeight) / NBLINES; 290 canvas.drawLine(p, 0, p, viewHeight, mPaint);
|
/frameworks/base/test-runner/src/android/test/ |
TouchUtils.java | 237 final int viewHeight = v.getHeight(); 240 float fromY = xy[1] + (viewHeight / 2.0f); 257 final int viewHeight = v.getHeight(); 260 float y = xy[1] + (viewHeight / 2.0f); 297 final int viewHeight = v.getHeight(); 300 float y = xy[1] + (viewHeight / 2.0f); 332 final int viewHeight = v.getHeight(); 335 float y = xy[1] + (viewHeight / 2.0f); 393 final int viewHeight = v.getHeight(); 396 float y = xy[1] + (viewHeight / 2.0f) [all...] |
/packages/apps/Gallery/src/com/android/camera/ |
ImageViewTouchBase.java | 205 int viewHeight = getHeight(); 206 if (height < viewHeight) { 207 deltaY = (viewHeight - height) / 2 - rect.top; 210 } else if (rect.bottom < viewHeight) { 261 float viewHeight = getHeight(); 270 float heightScale = Math.min(viewHeight / h, 3.0f); 278 (viewHeight - h * scale) / 2F);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
SlideshowView.java | 140 int viewHeight = getHeight(); 143 viewWidth / mWidth, (float) viewHeight / mHeight); 147 float centerY = viewHeight / 2 + mMovingVector.y * mProgress;
|
/pdk/apps/TestingCamera/src/com/android/testingcamera/ |
CallbackProcessor.java | 53 int viewWidth, int viewHeight, 67 tb.setY(viewHeight); 77 mFormat, viewWidth, viewHeight);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/ |
NumericSprite.java | 68 float viewWidth, float viewHeight) { 70 mLabelMaker.beginDrawing(gl, viewWidth, viewHeight);
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
SVGFitToViewBox.cpp | 100 AffineTransform SVGFitToViewBox::viewBoxToViewTransform(const FloatRect& viewBoxRect, const SVGPreserveAspectRatio& preserveAspectRatio, float viewWidth, float viewHeight) 105 return preserveAspectRatio.getCTM(viewBoxRect.x(), viewBoxRect.y(), viewBoxRect.width(), viewBoxRect.height(), viewWidth, viewHeight);
|
SVGFitToViewBox.h | 37 static AffineTransform viewBoxToViewTransform(const FloatRect& viewBoxRect, const SVGPreserveAspectRatio&, float viewWidth, float viewHeight);
|
SVGMarkerElement.h | 116 AffineTransform viewBoxToViewTransform(float viewWidth, float viewHeight) const;
|
SVGMarkerElement.cpp | 103 AffineTransform SVGMarkerElement::viewBoxToViewTransform(float viewWidth, float viewHeight) const 105 return SVGFitToViewBox::viewBoxToViewTransform(viewBoxCurrentValue(), preserveAspectRatioCurrentValue(), viewWidth, viewHeight);
|
SVGSVGElement.h | 122 AffineTransform viewBoxToViewTransform(float viewWidth, float viewHeight) const;
|
/cts/tests/tests/widget/src/android/widget/cts/ |
CompoundButtonTest.java | 247 int viewHeight; 264 viewHeight = compoundButton.getHeight(); 281 assertEquals(viewHeight - drawableHeight, bounds.top); 282 assertEquals(viewHeight, bounds.bottom); 290 assertEquals( (viewHeight - drawableHeight) / 2, bounds.top); 291 assertEquals( (viewHeight - drawableHeight) / 2 + drawableHeight, bounds.bottom);
|
MediaControllerTest.java | 209 final int viewHeight = videoView.getHeight(); 212 final float y = xy[1] + viewHeight / 2.0f;
|
/development/samples/HelloEffects/src/com/example/android/mediafx/ |
TextureRenderer.java | 99 public void updateViewSize(int viewWidth, int viewHeight) { 101 mViewHeight = viewHeight;
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
ButtonDropTarget.java | 124 Rect getIconRect(int viewWidth, int viewHeight, int drawableWidth, int drawableHeight) { 152 final int yOffset = (int) -(viewHeight - height) / 2;
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
ButtonDropTarget.java | 126 Rect getIconRect(int viewWidth, int viewHeight, int drawableWidth, int drawableHeight) { 154 final int yOffset = (int) -(viewHeight - height) / 2;
|
/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...] |