/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
H A D | BasicBitmapDrawable.java | 319 final float scale = 322 bufferW = (int) (mDecodeWidth * scale); 323 bufferH = (int) (mDecodeHeight * scale);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | SearchOrbView.java | 213 void scaleOrbViewOnly(float scale) { argument 214 mSearchOrbView.setScaleX(scale); 215 mSearchOrbView.setScaleY(scale);
|
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | AutoScrollHelper.java | 139 /** Interpolator used to scale velocity with touch position. */ 824 final float scale = interpolateValue(value); 828 mDeltaX = (int) (elapsedSinceDelta * scale * mTargetVelocityX); 829 mDeltaY = (int) (elapsedSinceDelta * scale * mTargetVelocityY);
|
H A D | MaterialProgressDrawable.java | 170 * @param scale Set the scale of the arrowhead for the spinner. 172 public void setArrowScale(float scale) { argument 173 mRing.setArrowScale(scale); 335 // scale the interpolatedTime so that the full 382 // scale the interpolatedTime so that the full 396 // scale the interpolatedTime so that the full 566 // where concatenating a rotation matrix to a scale matrix 750 * @param scale Set the scale o 752 setArrowScale(float scale) argument [all...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV5E/ |
H A D | Norm_Corr_opt.s | 97 RSB r7, r6, #0 @scale = -(exp >> 1) 101 @r7 --- scale r4 --- t_min r8 --- excf[] 173 ADD r6, r6, r7 @exp_corr + exp_norm + scale 178 MOVGT r12, r12, LSL r6 @L_tmp = L_shl(L_tmp, exp_corr + exp_norm + scale)
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/asm/ARMV7/ |
H A D | Norm_Corr_neon.s | 105 RSB r7, r6, #0 @scale = -(exp >> 1) 109 @r7 --- scale r4 --- t_min r8 --- excf[] 213 ADD r6, r6, r7 @exp_corr + exp_norm + scale 218 MOVGT r12, r12, LSL r6 @L_tmp = L_shl(L_tmp, exp_corr + exp_norm + scale)
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | DismissViewButton.java | 76 canvas.scale(isRtl ? -1.0f : 1.0f, -1.0f);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | KeyguardUserSwitcherScrim.java | 61 canvas.scale(1, height / width);
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
H A D | GLCanvas.java | 58 public abstract void scale(float sx, float sy, float sz); method in interface:GLCanvas
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | ScaledPathsActivity.java | 86 canvas.scale(scaleX, scaleY);
|
H A D | AlphaLayersActivity.java | 96 canvas.scale(2.0f, 2.0f); 116 canvas.scale(2.0f, 2.0f);
|
H A D | LinesActivity.java | 151 canvas.scale(10.0f, 10.0f); 158 canvas.scale(10.0f, 50.0f);
|
/frameworks/native/services/surfaceflinger/ |
H A D | Transform.cpp | 258 bool scale = false; local 264 scale = true; 271 scale = true; 288 if (scale)
|
/frameworks/base/libs/hwui/ |
H A D | CanvasState.cpp | 128 void CanvasState::scale(float sx, float sy) { function in class:android::uirenderer::CanvasState 129 mSnapshot->transform->scale(sx, sy, 1.0f);
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
H A D | TiledImageRenderer.java | 240 public void setPosition(int centerX, int centerY, float scale) { argument 242 && mScale == scale) { 247 mScale = scale; 273 // we use for display. So it can be faster when the scale moves to the 274 // next level. We choose the level closest to the current scale. 353 // If the bitmap is scaled by the given factor "scale", return the 360 int cX, int cY, int level, float scale, int rotation) { 373 int left = (int) Math.floor(cX - width / (2f * scale)); 374 int top = (int) Math.floor(cY - height / (2f * scale)); 375 int right = (int) Math.ceil(left + width / scale); 359 getRange(Rect out, int cX, int cY, int level, float scale, int rotation) argument [all...] |
/frameworks/base/rs/java/android/renderscript/ |
H A D | Matrix3f.java | 162 * Makes the upper 2x2 a scale matrix of given dimensions 164 * @param x scale component x 165 * @param y scale component y 174 * Sets current values to be a scale matrix of given dimensions 176 * @param x scale component x 177 * @param y scale component y 178 * @param z scale component z 264 * post-multiplying it with a scale matrix of given dimensions 266 * @param x scale component x 267 * @param y scale componen 269 public void scale(float x, float y) { method in class:Matrix3f 283 public void scale(float x, float y, float z) { method in class:Matrix3f [all...] |
/frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/ |
H A D | FBOSyncRS.java | 71 public void onActionScale(float scale) { argument 72 mScript.invoke_onActionScale(scale);
|
H A D | FBOTestRS.java | 70 public void onActionScale(float scale) { argument 71 mScript.invoke_onActionScale(scale);
|
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/ |
H A D | SimpleModelRS.java | 65 public void onActionScale(float scale) { argument 66 mScript.invoke_onActionScale(scale);
|
/frameworks/base/tests/RenderScriptTests/ShadersTest/src/com/android/shaderstest/ |
H A D | ShadersTestRS.java | 77 public void onActionScale(float scale) { argument 78 mScript.invoke_onActionScale(scale);
|
/frameworks/support/v17/leanback/kitkat/android/support/v17/leanback/transition/ |
H A D | TransitionHelperKitkat.java | 69 Scale scale = new Scale(); 70 return scale;
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
H A D | Matrix3f.java | 165 * Makes the upper 2x2 a scale matrix of given dimensions 167 * @param x scale component x 168 * @param y scale component y 177 * Sets current values to be a scale matrix of given dimensions 179 * @param x scale component x 180 * @param y scale component y 181 * @param z scale component z 267 * post-multiplying it with a scale matrix of given dimensions 269 * @param x scale component x 270 * @param y scale componen 272 public void scale(float x, float y) { method in class:Matrix3f 286 public void scale(float x, float y, float z) { method in class:Matrix3f [all...] |
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | ColorFade.java | 249 mScaleLoc = GLES20.glGetUniformLocation(mProgram, "scale"); 398 float scale = (float) ((-Math.pow(one_minus_level, 2) + 1) * 0.1d + 0.9d); 400 drawFaded(opacity, 1.f / gamma, saturation, scale); 412 private void drawFaded(float opacity, float gamma, float saturation, float scale) { argument 415 ", saturation=" + saturation + ", scale=" + scale); 426 GLES20.glUniform1f(mScaleLoc, scale);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
H A D | StackScrollAlgorithm.java | 213 float newYTranslation = state.yTranslation + state.height * (1f - state.scale) / 2f; 214 float newHeight = state.height * state.scale; 233 : mRoundedRectCornerRadius * state.scale; 253 previousNotificationStart = newYTranslation + state.clipTopAmount * state.scale; 277 state.topOverLap = (int) Math.floor((realHeight - clipHeight) / state.scale); 283 state.clipTopAmount = (int) Math.floor((realHeight - backgroundHeight) / state.scale); 306 childViewState.scale = !mScaleDimmed || !dimmed || isActivatedChild
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/ |
H A D | PhotoView.java | 64 /** By how much to scale the image when double click occurs */ 66 /** Amount which can be zoomed in past the maximum scale, and then scaled back */ 74 * Touch slop used to determine if this double tap is valid for starting a scale or should be 133 /** When {@code true}, allows gestures to scale / pan the image */ 139 /** When {@code true}, prevents scale end gesture from falsely triggering a double click. */ 141 /** When {@code false}, event is a scale gesture. Otherwise, event is a double touch. */ 145 /** Minimum scale the image can have. */ 147 /** Maximum scale to limit scaling to, 0 means no limit. */ 234 return scale(e); 253 handled = scale( 271 private boolean scale(MotionEvent e) { method in class:PhotoView 942 private void scale(float newScale, float centerX, float centerY) { method in class:PhotoView [all...] |