/cts/tests/tests/rscpp/src/android/cts/rscpp/ |
RSResizeTest.java | 34 native boolean resizeTest(String path, int w, int h, float scaleX, float scaleY, 37 private void testResize(int w, int h, Element.DataType dt, int vecSize, float scaleX, float scaleY) { 69 int outH = (int) (h*scaleY); 81 resizeTest(this.getContext().getCacheDir().toString().toString(), w, h, scaleX, scaleY,
|
/external/replicaisland/src/com/replica/replicaisland/ |
GameRenderer.java | 213 final float scaleY = mScaleY; 225 element.mDrawable.draw(x, y, scaleX, scaleY); 273 float scaleY = (float)h / mHeight; 275 final int viewportHeight = (int)(mHeight * scaleY); 278 mScaleY = scaleY;
|
/external/skia/src/codec/ |
SkWebpCodec.cpp | 499 float scaleY = ((float) dstInfo.height()) / srcSize.height(); 505 dstY = scaleY * dstY; 506 scaledHeight = scaleY * scaledHeight;
|
/external/skia/src/effects/ |
SkDisplacementMapEffect.cpp | 624 SkScalar scaleY = displacementMap.scale().fY / colorTex->height(); 627 SkScalarToFloat(scaleY) : SkScalarToFloat(-scaleY));
|
/external/skia/tests/ |
MatrixTest.cpp | 484 SkScalar scaleY = scale.fY; 490 scaleX*c1*c2 - scaleY*s1*s2) && 492 -scaleX*s1*c2 - scaleY*c1*s2) && 494 scaleX*c1*s2 + scaleY*s1*c2) && 496 -scaleX*s1*s2 + scaleY*c1*c2); [all...] |
/external/skia/tools/shape/ |
SkShaper_harfbuzz.cpp | 593 int scaleX, scaleY; 594 hb_font_get_scale(font->currentHBFont(), &scaleX, &scaleY); 595 double textSizeY = run.fPaint.getTextSize() / scaleY;
|
/external/skqp/src/codec/ |
SkWebpCodec.cpp | 499 float scaleY = ((float) dstInfo.height()) / srcSize.height(); 505 dstY = scaleY * dstY; 506 scaledHeight = scaleY * scaledHeight;
|
/external/skqp/src/effects/ |
SkDisplacementMapEffect.cpp | 624 SkScalar scaleY = displacementMap.scale().fY / colorTex->height(); 627 SkScalarToFloat(scaleY) : SkScalarToFloat(-scaleY));
|
/external/skqp/tests/ |
MatrixTest.cpp | 484 SkScalar scaleY = scale.fY; 490 scaleX*c1*c2 - scaleY*s1*s2) && 492 -scaleX*s1*c2 - scaleY*c1*s2) && 494 scaleX*c1*s2 + scaleY*s1*c2) && 496 -scaleX*s1*s2 + scaleY*c1*c2); [all...] |
/external/skqp/tools/shape/ |
SkShaper_harfbuzz.cpp | 588 int scaleX, scaleY; 589 hb_font_get_scale(font->currentHBFont(), &scaleX, &scaleY); 590 double textSizeY = run.fPaint.getTextSize() / scaleY;
|
/frameworks/base/core/java/android/transition/ |
ChangeTransform.java | 414 float translationZ, float scaleX, float scaleY, float rotationX, 420 view.setScaleY(scaleY); 431 public final float scaleY; 441 scaleY = view.getScaleY(); 448 setTransforms(view, translationX, translationY, translationZ, scaleX, scaleY, 462 thatTransform.scaleY == scaleY &&
|
/frameworks/base/core/jni/android/graphics/ |
BitmapFactory.cpp | 406 const float scaleY = scaledHeight / float(decodingBitmap.height()); 411 peeker.scale(scaleX, scaleY, scaledWidth, scaledHeight); 471 canvas.scale(scaleX, scaleY);
|
/frameworks/base/libs/hwui/ |
VectorDrawable.cpp | 355 case Property::scaleY: 383 case Property::scaleY: 593 float scaleY = cacheHeight / viewportHeight; 594 outCanvas.scale(scaleX, scaleY);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
ViewState.java | 121 public float scaleY = 1.0f; 131 scaleY = viewState.scaleY; 142 scaleY = view.getScaleY(); 186 // apply scaleY 189 updateAnimation(view, SCALE_Y_PROPERTY, scaleY); 190 } else if (view.getScaleY() != scaleY) { 191 view.setScaleY(scaleY); 305 if (child.getScaleY() != scaleY) { 306 PropertyAnimator.startAnimation(child, SCALE_Y_PROPERTY, scaleY, animationProperties) [all...] |
/frameworks/ex/framesequence/src/android/support/rastermill/ |
FrameSequenceDrawable.java | 412 final float scaleY = 1.0f * bounds.height() / bitmapHeight; 418 canvas.scale(scaleX, scaleY); 422 final float scaledDiameterY = unscaledCircleDiameter / scaleY;
|
/hardware/intel/img/hwcomposer/merrifield/ips/anniedale/ |
AnnOverlayPlane.cpp | 742 float scaleY = (float)mSrcCrop.h / mPosition.h; 745 scaleY = (float)mSrcCrop.h / mPosition.w; 747 if (scaleX >= 3 || scaleY >= 3) { 759 else if (mTransform != HAL_TRANSFORM_ROT_180 && scaleX != scaleY) {
|
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/anniedale/ |
AnnOverlayPlane.cpp | 428 float scaleY = (float)(srcHeight >> 1) / dstHeight; 429 if (scaleY > 4 || scaleY < 0.25) { 688 float scaleY = (float)mSrcCrop.h/mPosition.h; 695 if (scaleY > 4.0) { 701 if (scaleX > 4.0 || scaleY > 4.0) { 829 float scaleY = (float)mSrcCrop.h / mPosition.h; 832 scaleY = (float)mSrcCrop.h / mPosition.w; 834 if (scaleX >= 3 || scaleY >= 3 || scaleX < 1.0/3 || scaleY < 1.0/3) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
TiledTexture.java | 261 // | | by (scaleX, scaleY) | +----+ | 267 float scaleY) { 269 y + (src.top - y0) * scaleY, 271 y + (src.bottom - y0) * scaleY); 281 float scaleY = (float) height / mHeight; 287 mapRect(dest, src, 0, 0, x, y, scaleX, scaleY); 300 float scaleY = (float) height / mHeight; 306 mapRect(dest, src, 0, 0, x, y, scaleX, scaleY); 322 float scaleY = target.height() / source.height(); 330 mapRect(dest, src, x0, y0, x, y, scaleX, scaleY); [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
FolderIcon.java | 300 float scaleY = getScaleY(); 306 setScaleY(scaleY);
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
MultiAttachmentLayout.java | 378 final float scaleY = viewWrapper.prevHeight / (float) view.getHeight(); 380 if (xOffset == 0 && yOffset == 0 && scaleX == 1 && scaleY == 1) { 388 animationSet.addAnimation(new ScaleAnimation(scaleX, 1, scaleY, 1));
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
TouchPaint.java | 349 final float scaleY = event.getYPrecision() * TRACKBALL_SCALE; 352 event.getHistoricalY(i) * scaleY); 354 moveTrackball(event.getX() * scaleX, event.getY() * scaleY);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
ECPoint.java | 331 public ECPoint scaleY(ECFieldElement scale) [all...] |
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
ShadowCanvas.java | 39 private float scaleY = 1; 85 this.scaleY = sy; 91 this.scaleY = sy; 114 if (scaleX != 1 && scaleY != 1) { 115 appendDescription(" scaled by (" + scaleX + "," + scaleY + ")");
|
ShadowView.java | 62 private float scaleY = 1.0f;
|
/frameworks/base/core/java/android/view/ |
ViewPropertyAnimator.java | 702 * This method will cause the View's <code>scaleY</code> property to be animated to the 709 public ViewPropertyAnimator scaleY(float value) { 715 * This method will cause the View's <code>scaleY</code> property to be animated by the [all...] |