Home
last modified time | relevance | path

Searched refs:scaleX (Results 1 – 25 of 103) sorted by relevance

12345

/external/universal-tween-engine/java/applets/src/aurelienribon/tweenengine/applets/
DSprite.java15 private float scaleX = 1; field in Sprite
31 gg.scale(scaleX, scaleY); in draw()
41 public void setScale(float scaleX, float scaleY) { in setScale() argument
42 this.scaleX = scaleX; in setScale()
64 return scaleX; in getScaleX()
/external/proguard/src/proguard/gui/splash/
DImageSprite.java35 private final VariableDouble scaleX; field in ImageSprite
50 VariableDouble scaleX, in ImageSprite() argument
56 this.scaleX = scaleX; in ImageSprite()
68 double scale_x = scaleX.getDouble(time); in paint()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowRenderNode.java23 private float scaleX = 1f; field in ShadowRenderNode
118 public boolean setScaleX(float scaleX) { in setScaleX() argument
119 this.scaleX = scaleX; in setScaleX()
125 return scaleX; in getScaleX()
DShadowViewRenderNode.java22 private float scaleX = 1f; field in ShadowViewRenderNode
117 public boolean setScaleX(float scaleX) { in setScaleX() argument
118 this.scaleX = scaleX; in setScaleX()
124 return scaleX; in getScaleX()
DShadowVectorDrawable.java163 float scaleX; field in ShadowVectorDrawable.Group
202 properties[3] = group.scaleX; in nGetGroupProperties()
215 float scaleX, in nUpdateGroupProperties() argument
223 group.scaleX = scaleX; in nUpdateGroupProperties()
DShadowCanvas.java40 private float scaleX = 1; field in ShadowCanvas
105 this.scaleX = sx; in scale()
111 this.scaleX = sx; in scale()
135 if (scaleX != 1 && scaleY != 1) { in drawBitmap()
136 appendDescription(" scaled by (" + scaleX + "," + scaleY + ")"); in drawBitmap()
/external/setupdesign/main/src/com/google/android/setupdesign/
DGlifPatternDrawable.java149 float scaleX = drawableWidth / VIEWBOX_WIDTH; in createBitmapCache() local
151 float scale = Math.max(scaleX, scaleY); in createBitmapCache()
247 float scaleX = drawableBounds.width() / (float) bitmapWidth; in scaleCanvasToBounds() local
251 canvas.scale(scaleX, scaleY); in scaleCanvasToBounds()
252 if (scaleY > scaleX) { in scaleCanvasToBounds()
255 canvas.scale(scaleY / scaleX, 1f, SCALE_FOCUS_X * bitmapWidth, 0f); in scaleCanvasToBounds()
256 } else if (scaleX > scaleY) { in scaleCanvasToBounds()
259 canvas.scale(1f, scaleX / scaleY, 0f, SCALE_FOCUS_Y * bitmapHeight); in scaleCanvasToBounds()
/external/aac/libSACdec/src/
Dsac_stp.cpp227 const FIXP_CFG *pBP, FIXP_DBL scaleX, in combineSignalCplxScale1() argument
232 scaleY = fMultDiv2(scaleX, *pBP); in combineSignalCplxScale1()
250 FIXP_DBL *hybOutputImagWet, FIXP_DBL scaleX, in combineSignalCplxScale2() argument
257 (fMultDiv2(*hybOutputRealWet, scaleX) << (SF_SCALE + 1)); in combineSignalCplxScale2()
260 (fMultDiv2(*hybOutputImagWet, scaleX) << (SF_SCALE + 1)); in combineSignalCplxScale2()
543 FIXP_DBL scaleX; in subbandTPApply() local
544 scaleX = scale[ch]; in subbandTPApply()
553 &pBP[self->tp_hybBandBorder], scaleX, in subbandTPApply()
561 &self->hybOutputImagWet__FDK[ch][HP_SIZE - 3 + 10 - 1], scaleX, in subbandTPApply()
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
DRendererCommon.java184 float scaleX = 1; in getLayoutMatrix() local
190 scaleX = displayAspectRatio / videoAspectRatio; in getLayoutMatrix()
194 scaleX *= -1; in getLayoutMatrix()
198 Matrix.scaleM(matrix, 0, scaleX, scaleY, 1); in getLayoutMatrix()
/external/skia/docs/examples/
DMatrix_isScaleTranslate.cpp8 for (SkScalar scaleX : { 1, 2 } ) { in draw()
10 matrix.setAll(scaleX, 0, translateX, 0, 1, 0, 0, 0, 1); in draw()
DMatrix_isTranslate.cpp8 for (SkScalar scaleX : { 1, 2 } ) { in draw()
10 matrix.setAll(scaleX, 0, translateX, 0, 1, 0, 0, 0, 1); in draw()
/external/replicaisland/src/com/replica/replicaisland/
DGameRenderer.java212 final float scaleX = mScaleX; in onDrawFrame() local
225 element.mDrawable.draw(x, y, scaleX, scaleY); in onDrawFrame()
272 float scaleX = (float)w / mWidth; in onSurfaceChanged() local
274 final int viewportWidth = (int)(mWidth * scaleX); in onSurfaceChanged()
277 mScaleX = scaleX; in onSurfaceChanged()
DScrollableBitmap.java37 public void draw(float x, float y, float scaleX, float scaleY) { in draw() argument
38 super.draw(x - mScrollOriginX, y - mScrollOriginY, scaleX, scaleY); in draw()
DDrawableBitmap.java100 public void draw(float x, float y, float scaleX, float scaleY) { in draw() argument
138 ((GL11Ext) gl).glDrawTexfOES(snappedX * scaleX, snappedY * scaleY, in draw()
139 getPriority(), width * scaleX, height * scaleY); in draw()
/external/skia/gm/
Dlightingshader2.cpp114 void positionCTM(SkCanvas *canvas, SkScalar scaleX, SkScalar scaleY, SkScalar rotate) const { in positionCTM() argument
116 canvas->scale(scaleX, scaleY); in positionCTM()
121 void drawRect(SkCanvas* canvas, SkScalar scaleX, SkScalar scaleY, in drawRect() argument
126 this->positionCTM(canvas, scaleX, scaleY, rotate); in drawRect()
Dbmpfilterqualityrepeat.cpp61 void drawAll(SkCanvas* canvas, SkScalar scaleX) const { in drawAll()
74 lm.setScaleX(scaleX); in drawAll()
/external/skqp/gm/
Dlightingshader2.cpp103 void positionCTM(SkCanvas *canvas, SkScalar scaleX, SkScalar scaleY, SkScalar rotate) const { in positionCTM() argument
105 canvas->scale(scaleX, scaleY); in positionCTM()
110 void drawRect(SkCanvas* canvas, SkScalar scaleX, SkScalar scaleY, in drawRect() argument
115 this->positionCTM(canvas, scaleX, scaleY, rotate); in drawRect()
Dbmpfilterqualityrepeat.cpp49 void drawAll(SkCanvas* canvas, SkScalar scaleX) const { in drawAll()
62 lm.setScaleX(scaleX); in drawAll()
/external/fmtlib/doc/bootstrap/mixins/
Dvendor-prefixes.less124 .scaleX(@ratio) {
125 -webkit-transform: scaleX(@ratio);
126 -ms-transform: scaleX(@ratio); // IE9 only
127 -o-transform: scaleX(@ratio);
128 transform: scaleX(@ratio);
/external/skia/src/core/
DSkFontPriv.h39 static SkMatrix MakeTextMatrix(SkScalar size, SkScalar scaleX, SkScalar skewX) { in MakeTextMatrix() argument
40 SkMatrix m = SkMatrix::MakeScale(size * scaleX, size); in MakeTextMatrix()
/external/skqp/src/core/
DSkFontPriv.h43 static SkMatrix MakeTextMatrix(SkScalar size, SkScalar scaleX, SkScalar skewX) { in MakeTextMatrix() argument
44 SkMatrix m = SkMatrix::MakeScale(size * scaleX, size); in MakeTextMatrix()
/external/skqp/modules/pathkit/
Dpathkit_wasm_bindings.cpp349 SkScalar scaleX, SkScalar skewX, SkScalar transX, in ApplyAddPath() argument
352 SkMatrix m = SkMatrix::MakeAll(scaleX, skewX , transX, in ApplyAddPath()
429 SkScalar scaleX, skewX, transX; member
435 return SkMatrix::MakeAll(sm.scaleX, sm.skewX , sm.transX, in toSkMatrix()
445 SkScalar scaleX, SkScalar skewX, SkScalar transX, in ApplyTransform() argument
448 SkMatrix m = SkMatrix::MakeAll(scaleX, skewX , transX, in ApplyTransform()
615 .element(&SimpleMatrix::scaleX) in EMSCRIPTEN_BINDINGS()
/external/skia/modules/pathkit/
Dpathkit_wasm_bindings.cpp349 SkScalar scaleX, SkScalar skewX, SkScalar transX, in ApplyAddPath() argument
352 SkMatrix m = SkMatrix::MakeAll(scaleX, skewX , transX, in ApplyAddPath()
429 SkScalar scaleX, skewX, transX; member
435 return SkMatrix::MakeAll(sm.scaleX, sm.skewX , sm.transX, in toSkMatrix()
445 SkScalar scaleX, SkScalar skewX, SkScalar transX, in ApplyTransform() argument
448 SkMatrix m = SkMatrix::MakeAll(scaleX, skewX , transX, in ApplyTransform()
615 .element(&SimpleMatrix::scaleX) in EMSCRIPTEN_BINDINGS()
/external/exoplayer/tree/demos/gl/src/main/assets/
Dbitmap_overlay_video_processor_fragment.glsl22 uniform float scaleX;
29 vec2(v_texcoord.x * scaleX,
/external/zxing/qr_scanner/src/com/google/zxing/client/android/
DViewfinderView.java118 float scaleX = frame.width() / (float) previewFrame.width(); in onDraw() local
134 canvas.drawCircle(frameLeft + (int) (point.getX() * scaleX), in onDraw()
145 canvas.drawCircle(frameLeft + (int) (point.getX() * scaleX), in onDraw()

12345