/frameworks/base/libs/hwui/ |
H A D | LayerRenderer.cpp | 435 renderer.scale(1.0f, -1.0f);
|
H A D | RecordingCanvas.h | 125 virtual void scale(float sx, float sy) override;
|
H A D | SkiaShader.cpp | 91 vec.scale(inv);
|
H A D | GlopBuilder.cpp | 516 mOutGlop->transform.modelView.scale(destination.getWidth(), destination.getHeight(), 1.0f); 542 mOutGlop->transform.modelView.scale(destination.getWidth(), destination.getHeight(), 1.0f);
|
H A D | RecordingCanvas.cpp | 205 void RecordingCanvas::scale(float sx, float sy) { function in class:android::uirenderer::RecordingCanvas 208 mState.scale(sx, sy);
|
H A D | OpenGLRenderer.h | 105 * Used when the model view should translate and scale geometry. The resulting matrix will be a 106 * translation + scale. This is frequently used together with VBO 0, the (0,0,1,1) rect. 305 void scale(float sx, float sy);
|
H A D | VectorDrawable.cpp | 71 // Therefore, the final scale we want is min(|A'| * sin(theta), |B'| * sin(theta)), 73 // If max (|A'|, |B'|) = 0, that means either x or y has a scale of 0. 75 // For non-skew case, which is most of the cases, matrix scale is computing exactly the 76 // scale on x and y axis, and take the minimal of these two. 367 // TODO: use rotate(mRotate, mPivotX, mPivotY) and scale with pivot point, instead of 461 // The imageView can scale the canvas in different ways, in order to 464 // canvas scale. 470 // Only use the scale value when there's no skew or rotation in the canvas matrix. 491 outCanvas->scale(-1.0f, 1.0f);
|
H A D | PathTessellator.cpp | 65 * Extracts the x and y scale from the transform as positive values, and clamps them 97 * Structure used for storing useful information about the SkPaint and scale used for tessellating 133 // hairline - compensate for scale 472 // scale to compensate for pinching at sharp angles, see totalOffsetFromNormals() 1035 // multiplying by sqrInvScaleY/X equivalent to multiplying in dimensional scale factors 1036 float scale = (dx * dx * info.sqrInvScaleY + dy * dy * info.sqrInvScaleX); local 1037 return info.thresholdSquared * scale;
|
/frameworks/base/rs/java/android/renderscript/ |
H A D | Matrix4f.java | 190 * Sets current values to be a scale matrix of given dimensions 192 * @param x scale component x 193 * @param y scale component y 194 * @param z scale component z 378 * scale matrix of given dimensions 380 * @param x scale component x 381 * @param y scale component y 382 * @param z scale component z 384 public void scale(float x, float y, float z) { method in class:Matrix4f
|
/frameworks/native/services/inputflinger/ |
H A D | InputReader.h | 226 // to execute a scale gesture or similar. 1968 float scale; // scale factor from raw to normalized values member in struct:android::JoystickInputMapper::Axis 1970 float highScale; // scale factor from raw to normalized values of high split 1986 bool explicitlyMapped, float scale, float offset, 1992 this->scale = scale; 1985 initialize(const RawAbsoluteAxisInfo& rawAxisInfo, const AxisInfo& axisInfo, bool explicitlyMapped, float scale, float offset, float highScale, float highOffset, float min, float max, float flat, float fuzz, float resolution) argument
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
H A D | Matrix4f.java | 191 * Sets current values to be a scale matrix of given dimensions 193 * @param x scale component x 194 * @param y scale component y 195 * @param z scale component z 379 * scale matrix of given dimensions 381 * @param x scale component x 382 * @param y scale component y 383 * @param z scale component z 385 public void scale(float x, float y, float z) { method in class:Matrix4f
|
/frameworks/av/media/libstagefright/ |
H A D | AVIExtractor.cpp | 614 uint32_t scale = U32LE_AT(&data[24]); local 656 track->mScale = scale;
|
/frameworks/base/core/tests/coretests/src/android/animation/ |
H A D | ValueAnimatorTests.java | 937 // Test whether animations would end properly when the scale is forced to be zero 938 float scale = ValueAnimator.getDurationScale(); 941 // Run two animators, one of which has a start delay, after setting the duration scale to 0 959 // In the case of 0 duration scale applied to a non-0 duration, check that the 978 // Restore duration scale 979 ValueAnimator.setDurationScale(scale);
|
/frameworks/base/libs/hwui/tests/unit/ |
H A D | RecordingCanvasTests.cpp | 259 canvas.scale(2, 2); 286 expectedMatrix.scale(2, 2, 1);
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
H A D | GLES20Canvas.java | 411 public void scale(float sx, float sy, float sz) { method in class:GLES20Canvas 675 scale(1, -1, 1);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/ |
H A D | MLand.java | 1108 final int scale = PARAMS.PLAYER_HIT_SIZE; 1111 corners[i*2] = scale * sHull[i*2] + inset; 1112 corners[i*2+1] = scale * sHull[i*2+1] + inset;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | NotificationPanelView.java | 476 private void updateClock(float alpha, float scale) { argument 480 mKeyguardStatusView.setScaleX(scale); 481 mKeyguardStatusView.setScaleY(scale);
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | PasswordTextView.java | 689 canvas.scale(currentTextSizeFactor, currentTextSizeFactor);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | TaskView.java | 671 clipBounds.scale(getScaleX());
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | KeyguardAffordanceView.java | 153 canvas.scale(mImageScale, mImageScale, getWidth() / 2, getHeight() / 2); 407 * Sets the scale of the containing image
|
/frameworks/native/libs/input/tests/ |
H A D | InputEvent_test.cpp | 488 event.scale(2.0f);
|
/frameworks/support/design/src/android/support/design/widget/ |
H A D | CollapsingTextHelper.java | 471 canvas.scale(mScale, mScale, x, y); 496 // Use our texture if the scale isn't 1.0 531 // If we're close to the expanded text size, snap to it and use a scale of 1 534 // Else, we'll scale down from the expanded text size
|
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | FragmentManager.java | 855 ScaleAnimation scale = new ScaleAnimation(startScale, endScale, startScale, endScale, 857 scale.setInterpolator(DECELERATE_QUINT); 858 scale.setDuration(ANIM_DUR); 859 set.addAnimation(scale);
|
/frameworks/base/core/java/android/widget/ |
H A D | Editor.java | 456 final float scale = mTextView.getResources().getDisplayMetrics().density; 457 mErrorPopup = new ErrorPopup(err, (int)(200 * scale + 0.5f), (int)(50 * scale + 0.5f)); 525 final float scale = mTextView.getResources().getDisplayMetrics().density; 535 offset = - (dr != null ? dr.mDrawableSizeRight : 0) / 2 + (int) (25 * scale + 0.5f); 540 offset = (dr != null ? dr.mDrawableSizeLeft : 0) / 2 - (int) (25 * scale + 0.5f); 580 final float scale = mTextView.getResources().getDisplayMetrics().density; 581 return icontop + height - mTextView.getHeight() - (int) (2 * scale + 0.5f);
|
H A D | FastScroller.java | 1179 final float scale = (float) targetWidth / showingWidth; 1180 final Animator scaleAnim = animateScaleX(showing, scale).setDuration(DURATION_RESIZE);
|