Home
last modified time | relevance | path

Searched refs:scaleX (Results 1 – 25 of 102) 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/
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()
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()
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/aac/libSACdec/src/
Dsac_stp.cpp220 FIXP_DBL *hybOutputRealWet, FIXP_DBL scaleX, in combineSignalRealScale1() argument
227 (fMultDiv2(*hybOutputRealWet, scaleX) << (SF_SCALE + 1)); in combineSignalRealScale1()
250 const FIXP_CFG *pBP, FIXP_DBL scaleX, in combineSignalCplxScale1() argument
255 scaleY = fMultDiv2(scaleX, *pBP); in combineSignalCplxScale1()
271 FIXP_DBL *hybOutputImagWet, FIXP_DBL scaleX, in combineSignalCplxScale2() argument
278 (fMultDiv2(*hybOutputRealWet, scaleX) << (SF_SCALE + 1)); in combineSignalCplxScale2()
281 (fMultDiv2(*hybOutputImagWet, scaleX) << (SF_SCALE + 1)); in combineSignalCplxScale2()
522 FIXP_DBL scaleX; in subbandTPApply() local
523 scaleX = scale[ch]; in subbandTPApply()
532 &pBP[self->tp_hybBandBorder], scaleX, in subbandTPApply()
[all …]
/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/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/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/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()
Dpictureimagegenerator.cpp122 SkScalar scaleX, scaleY; in onDraw() member
154 SkMatrix m = SkMatrix::MakeScale(configs[i].scaleX, configs[i].scaleY); in onDraw()
155 if (configs[i].scaleX < 0) { in onDraw()
/external/skia/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()
Dpictureimagegenerator.cpp122 SkScalar scaleX, scaleY; in onDraw() member
154 SkMatrix m = SkMatrix::MakeScale(configs[i].scaleX, configs[i].scaleY); in onDraw()
155 if (configs[i].scaleX < 0) { in onDraw()
/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/skia/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/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/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()
/external/pdfium/fxbarcode/pdf417/
DBC_PDF417Writer.cpp83 int32_t scaleX = width / outWidth; in Encode() local
85 int32_t scale = std::min(scaleX, scaleY); in Encode()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_meta_util.c223 float scaleX = (float) (*srcX1 - *srcX0) / (*dstX1 - *dstX0); in brw_meta_mirror_clip_and_scissor() local
230 scaleX, true); in brw_meta_mirror_clip_and_scissor()
236 scaleX, false); in brw_meta_mirror_clip_and_scissor()

12345