Searched defs:scale (Results 101 - 123 of 123) sorted by relevance

12345

/frameworks/base/core/jni/
H A Dandroid_graphics_Canvas.cpp139 static void scale(jlong canvasHandle, jfloat sx, jfloat sy) { function in namespace:android::CanvasJNI
140 get_canvas(canvasHandle)->scale(sx, sy);
357 SkScalar scale = dstDensity / (float)srcDensity; local
359 canvas->scale(scale, scale);
367 canvas->drawNinePatch(bitmap, *chunk, 0, 0, (right-left)/scale, (bottom-top)/scale,
394 SkScalar scale = canvasDensity / (float)bitmapDensity; local
396 canvas->scale(scal
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DCanvas.java378 * Subsequent calls to translate,scale,rotate,skew,concat or clipRect,
396 * Subsequent calls to translate,scale,rotate,skew,concat or clipRect,
625 * Preconcat the current matrix with the specified scale.
627 * @param sx The amount to scale in X
628 * @param sy The amount to scale in Y
630 public void scale(float sx, float sy) { method in class:Canvas
636 * Preconcat the current matrix with the specified scale.
638 * @param sx The amount to scale in X
639 * @param sy The amount to scale in Y
640 * @param px The x-coord for the pivot point (unchanged by the scale)
643 public final void scale(float sx, float sy, float px, float py) { method in class:Canvas
[all...]
/frameworks/base/libs/hwui/
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()
1043 // multiplying by sqrInvScaleY/X equivalent to multiplying in dimensional scale factors
1044 float scale = (dx * dx * info.sqrInvScaleY + dy * dy * info.sqrInvScaleX); local
1045 return info.thresholdSquared * scale;
H A DSkiaCanvas.cpp334 void SkiaCanvas::scale(float sx, float sy) { function in class:android::SkiaCanvas
335 mCanvas->scale(sx, sy);
422 // translate & scale transforms, and a simple rectangular clip.
/frameworks/base/media/java/android/media/
H A DClosedCaptionRenderer.java118 void setFontScale(float scale); argument
1317 // set font scale in the X direction to match the required width
1441 // Ignores the font scale changes of the system wide CC preference.
/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/opt/photoviewer/src/com/android/ex/photo/
H A DPhotoViewController.java153 /** The temporary image so that we can quickly scale up the fullscreen thumbnail */
172 /** The maximum scale factor applied to images when they are initially displayed */
274 // Set the max initial scale, defaulting to 1x
327 // We are not running the scale up animation. Just let the fragments
997 // We need to take a full screen image, and scale/translate it so that
1004 final float scale = Math.max(scaleW, scaleY);
1007 totalWidth, scale);
1009 totalHeight, scale);
1020 mTemporaryImage.setScaleX(scale);
1021 mTemporaryImage.setScaleY(scale);
1173 calculateTranslate(int start, int startSize, int totalSize, float scale) argument
[all...]
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
H A DPhotoView.java66 /** By how much to scale the image when double click occurs */
68 /** Amount which can be zoomed in past the maximum scale, and then scaled back */
76 * Touch slop used to determine if this double tap is valid for starting a scale or should be
135 /** When {@code true}, allows gestures to scale / pan the image */
141 /** When {@code true}, prevents scale end gesture from falsely triggering a double click. */
143 /** When {@code false}, event is a scale gesture. Otherwise, event is a double touch. */
147 /** Minimum scale the image can have. */
149 /** Maximum scale to limit scaling to, 0 means no limit. */
236 return scale(e);
255 handled = scale(
273 private boolean scale(MotionEvent e) { method in class:PhotoView
913 private void scale(float newScale, float centerX, float centerY) { method in class:PhotoView
[all...]
/frameworks/support/core-ui/java/android/support/v4/widget/
H A DSwipeRefreshLayout.java240 * @param scale Set to true if there is no view at a higher z-order than where the progress
249 public void setProgressViewOffset(boolean scale, int start, int end) { argument
250 mScale = scale;
280 * @param scale Set to true if there is no view at a higher z-order than where the progress
287 public void setProgressViewEndTarget(boolean scale, int end) { argument
289 mScale = scale;
402 // scale and show
421 // Pre API 11, alpha is used in place of scale up to show the
/frameworks/base/core/java/android/view/
H A DMotionEvent.java589 * although it is not a linear scale. This value is of limited use.
1562 private static native void nativeScale(long nativePtr, float scale); argument
1853 * Applies a scale factor to all points within this event.
1858 * are also affected by the scale factor.
1860 * @param scale The scale factor to apply.
1863 public final void scale(float scale) { argument
1864 if (scale != 1.0f) {
1865 nativeScale(mNativePtr, scale);
[all...]
H A DWindowManager.java2502 public void scale(float scale) { argument
2503 x = (int) (x * scale + 0.5f);
2504 y = (int) (y * scale + 0.5f);
2506 width = (int) (width * scale + 0.5f);
2509 height = (int) (height * scale + 0.5f);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DNotificationPanelView.java511 private void updateClock(float alpha, float scale) { argument
515 mKeyguardStatusView.setScaleX(scale);
516 mKeyguardStatusView.setScaleY(scale);
/frameworks/base/core/java/android/app/
H A DActivityManager.java2047 float scale;
2050 scale = (float) size.x / (float) th;
2051 dx = (size.y - tw * scale) * 0.5f;
2053 scale = (float) size.y / (float) tw;
2054 dy = (size.x - th * scale) * 0.5f;
2057 matrix.setScale(scale, scale);
2307 boolean reducedResolution, float scale) {
2312 mScale = scale;
2353 * @return The scale thi
2306 TaskSnapshot(GraphicBuffer snapshot, int orientation, Rect contentInsets, boolean reducedResolution, float scale) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DAbsListView.java4858 * Sets a scale factor for the fling velocity. The initial scale
4861 * @param scale The scale factor to multiply the velocity by.
4863 public void setVelocityScale(float scale) { argument
4864 mVelocityScale = scale;
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp2457 // pick a density bucket and potentially scale it.
2459 // because the system will scale it. Scaling down
2705 // density always matches - we can scale it. See isBetterThan
4915 float scale; member in struct:android::unit_entry
4953 *outScale = cur->scale;
5092 float scale; local
5093 if (parse_unit(end, outValue, &scale, &end)) {
5094 f *= scale;
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DAccessibilityManagerService.java930 * magnification is not enabled (e.g. scale is 1)
931 * @param scale the new scale
936 float scale, float centerX, float centerY) {
939 notifyMagnificationChangedLocked(region, scale, centerX, centerY);
1135 float scale, float centerX, float centerY) {
1139 service.notifyMagnificationChangedLocked(region, scale, centerX, centerY);
3528 public boolean setMagnificationScaleAndCenter(float scale, float centerX, float centerY, argument
3545 .setScaleAndCenter(scale, centerX, centerY, animate, mId);
3851 float scale, floa
935 notifyMagnificationChanged(@onNull Region region, float scale, float centerX, float centerY) argument
1134 notifyMagnificationChangedLocked(@onNull Region region, float scale, float centerX, float centerY) argument
3850 notifyMagnificationChangedLocked(@onNull Region region, float scale, float centerX, float centerY) argument
3872 notifyMagnificationChangedInternal(@onNull Region region, float scale, float centerX, float centerY) argument
4150 notifyMagnificationChangedLocked(@onNull Region region, float scale, float centerX, float centerY) argument
[all...]
/frameworks/ex/common/java/com/android/ex/editstyledtext/
H A DEditStyledText.java402 public String toHtml(Spanned text, boolean escapeNonAsciiChar, int width, float scale); argument
1853 public String toHtml(Spanned text, boolean escapeNonAsciiChar, int width, float scale) { argument
/frameworks/native/services/inputflinger/
H A DInputReader.cpp863 "scale=%0.3f, lowThreshold=%0.3f, highThreshold=%0.3f, acceleration=%0.3f\n",
864 mConfig.pointerVelocityControlParameters.scale,
870 "scale=%0.3f, lowThreshold=%0.3f, highThreshold=%0.3f, acceleration=%0.3f\n",
871 mConfig.wheelVelocityControlParameters.scale,
3882 out.haveSizeScale = in.tryGetProperty(String8("touch.size.scale"),
3905 out.havePressureScale = in.tryGetProperty(String8("touch.pressure.scale"),
3938 out.haveDistanceScale = in.tryGetProperty(String8("touch.distance.scale"),
4023 dump.appendFormat(INDENT4 "touch.size.scale: %0.3f\n",
4053 dump.appendFormat(INDENT4 "touch.pressure.scale: %0.3f\n",
4085 dump.appendFormat(INDENT4 "touch.distance.scale
4916 float scale = 1.0f + confidence / 16.0f; local
[all...]
H A DInputReader.h166 // to execute a scale gesture or similar.
1922 float scale; // scale factor from raw to normalized values member in struct:android::JoystickInputMapper::Axis
1924 float highScale; // scale factor from raw to normalized values of high split
1940 bool explicitlyMapped, float scale, float offset,
1946 this->scale = scale;
1939 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/base/services/core/java/com/android/server/wm/
H A DWindowManagerService.java348 // Enums for animation scale update types.
1095 // Get persisted window scale setting
1831 w.mGivenContentInsets.scale(w.mGlobalScale);
1832 w.mGivenVisibleInsets.scale(w.mGlobalScale);
1833 w.mGivenTouchableRegion.scale(w.mGlobalScale);
2485 // manager's, update it, disregarding font scale, which should remain set to the value
3128 static float fixScale(float scale) { argument
3129 if (scale < 0) scale = 0;
3130 else if (scale > 2
3135 setAnimationScale(int which, float scale) argument
3176 setAnimatorDurationScale(float scale) argument
[all...]
/frameworks/support/frameworks/support/samples/SupportLeanbackShowcase/libs/
H A Dpicasso-2.5.2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/squareup/ com/squareup/picasso/ com/squareup/picasso/Action ...
/frameworks/support/samples/SupportLeanbackShowcase/libs/
H A Dpicasso-2.5.2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/squareup/ com/squareup/picasso/ com/squareup/picasso/Action ...
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 5099 milliseconds

12345