Searched refs:scale (Results 226 - 250 of 272) sorted by relevance

1234567891011

/frameworks/base/libs/hwui/
H A DLayerRenderer.cpp435 renderer.scale(1.0f, -1.0f);
H A DRecordingCanvas.h125 virtual void scale(float sx, float sy) override;
H A DSkiaShader.cpp91 vec.scale(inv);
H A DGlopBuilder.cpp516 mOutGlop->transform.modelView.scale(destination.getWidth(), destination.getHeight(), 1.0f);
542 mOutGlop->transform.modelView.scale(destination.getWidth(), destination.getHeight(), 1.0f);
H A DRecordingCanvas.cpp205 void RecordingCanvas::scale(float sx, float sy) { function in class:android::uirenderer::RecordingCanvas
208 mState.scale(sx, sy);
H A DOpenGLRenderer.h105 * 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 DVectorDrawable.cpp71 // 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 DPathTessellator.cpp65 * 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 DMatrix4f.java190 * 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 DInputReader.h226 // 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 DMatrix4f.java191 * 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 DAVIExtractor.cpp614 uint32_t scale = U32LE_AT(&data[24]); local
656 track->mScale = scale;
/frameworks/base/core/tests/coretests/src/android/animation/
H A DValueAnimatorTests.java937 // 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 DRecordingCanvasTests.cpp259 canvas.scale(2, 2);
286 expectedMatrix.scale(2, 2, 1);
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
H A DGLES20Canvas.java411 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 DMLand.java1108 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 DNotificationPanelView.java476 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 DPasswordTextView.java689 canvas.scale(currentTextSizeFactor, currentTextSizeFactor);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DTaskView.java671 clipBounds.scale(getScaleX());
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DKeyguardAffordanceView.java153 canvas.scale(mImageScale, mImageScale, getWidth() / 2, getHeight() / 2);
407 * Sets the scale of the containing image
/frameworks/native/libs/input/tests/
H A DInputEvent_test.cpp488 event.scale(2.0f);
/frameworks/support/design/src/android/support/design/widget/
H A DCollapsingTextHelper.java471 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 DFragmentManager.java855 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 DEditor.java456 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 DFastScroller.java1179 final float scale = (float) targetWidth / showingWidth;
1180 final Animator scaleAnim = animateScaleX(showing, scale).setDuration(DURATION_RESIZE);

Completed in 3114 milliseconds

1234567891011