Searched defs:scale (Results 1 - 25 of 123) sorted by last modified time

12345

/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/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DFocusHighlightHelper.java82 FocusAnimator(View view, float scale, boolean useDimmer, int duration) { argument
85 mScaleDiff = scale - 1f;
101 float scale = 1f + mScaleDiff * level;
102 mView.setScaleX(scale);
103 mView.setScaleY(scale);
204 * Sets up default focus highlight behavior of a focused item in header list. It would scale
221 * @param scaleEnabled True if scale the item when focused, false otherwise. Note that
236 * Sets up default focus highlight behavior of a focused item in header list. It would scale
252 * @param scaleEnabled True if scale the item when focused, false otherwise. Note that
287 HeaderFocusAnimator(View view, float scale, in argument
[all...]
H A DScaleFrameLayout.java28 * Subclass of FrameLayout that support scale layout area size for children.
68 public void setChildScale(float scale) { argument
69 if (mChildScale != scale) {
70 mChildScale = scale;
72 getChildAt(i).setScaleX(scale);
73 getChildAt(i).setScaleY(scale);
180 private static int getScaledMeasureSpec(int measureSpec, float scale) { argument
181 return scale == 1f ? measureSpec : MeasureSpec.makeMeasureSpec(
182 (int) (MeasureSpec.getSize(measureSpec) / scale + 0.5f),
H A DSearchOrbView.java215 void scaleOrbViewOnly(float scale) { argument
216 mSearchOrbView.setScaleX(scale);
217 mSearchOrbView.setScaleY(scale);
/frameworks/support/core-ui/java/android/support/v4/widget/
H A DMaterialProgressDrawable.java169 * @param scale Set the scale of the arrowhead for the spinner.
171 public void setArrowScale(float scale) { argument
172 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...]
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/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
H A DFisheye.java35 private float scale = 0.5f; field in class:Fisheye
62 scale = progress / 50.0f;
75 scale = time % 2.f;
85 center_y, scale);
90 center_y, scale);
95 scale);
100 scale);
H A DVignette.java31 private float scale = 0.5f; field in class:Vignette
73 scale = progress / 50.0f;
94 scale = time % 2.f;
104 center_y, scale, shade, slope);
109 center_y, scale, shade, slope);
114 scale, shade, slope);
119 scale, shade, slope);
/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/
H A DFilters.java252 private final float scale = 0.5f; field in class:Filters.VignetteFilter
261 center_y, scale, shade, slope);
270 scale, shade, slope);
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
H A DTriData.java63 public void scale(float[] s) { method in class:TriData
71 public void scale(double[] s) { method in class:TriData
/frameworks/rs/driver/runtime/
H A Drs_quaternion.c149 float scale, invScale; local
154 scale = sin(theta * (1.0f - t)) * invSinTheta;
157 scale = 1.0f - t;
162 scale = sin(M_PI * (0.5f - t));
166 rsQuaternionSet(q, tempq0.w*scale + tempq1.w*invScale, tempq0.x*scale + tempq1.x*invScale,
167 tempq0.y*scale + tempq1.y*invScale, tempq0.z*scale + tempq1.z*invScale);
/frameworks/rs/
H A DrsMatrix4x4.h69 void scale(float x, float y, float z) { function in struct:android::renderscript::Matrix4x4
/frameworks/rs/support/java/src/android/support/v8/renderscript/
H A DMatrix2f.java118 * Sets current values to be a scale matrix of given dimensions
120 * @param x scale component x
121 * @param y scale component y
173 * scale matrix of given dimensions
175 * @param x scale component x
176 * @param y scale component y
178 public void scale(float x, float y) { method in class:Matrix2f
H A DMatrix3f.java165 * 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...]
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/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
H A DFisheye.java35 private float scale = 0.5f; field in class:Fisheye
62 scale = progress / 50.0f;
80 center_y, scale);
85 center_y, scale);
90 scale);
95 scale);
H A DVignette.java35 private float scale = 0.5f; field in class:Vignette
76 scale = progress / 50.0f;
102 center_y, scale, shade, slope);
107 center_y, scale, shade, slope);
112 scale, shade, slope);
117 scale, shade, slope);
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
H A DFisheye.java32 private float scale = 0.5f; field in class:Fisheye
59 scale = progress / 50.0f;
72 scale = time % 2.f;
82 center_y, scale);
87 center_y, scale);
92 scale);
97 scale);
H A DVignette.java31 private float scale = 0.5f; field in class:Vignette
73 scale = progress / 50.0f;
94 scale = time % 2.f;
104 center_y, scale, shade, slope);
109 center_y, scale, shade, slope);
114 scale, shade, slope);
119 scale, shade, slope);
/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/opt/setupwizard/library/main/src/com/android/setupwizardlib/
H A DGlifPatternDrawable.java57 // X coordinate of scale focus, as a fraction of of the width. (Range is 0 - 1)
59 // Y coordinate of scale focus, as a fraction of of the height. (Range is 0 - 1)
68 // and it won't crash due to a very large scale.
162 float scale = Math.max(scaleX, scaleY);
163 scale = Math.min(MAX_CACHED_BITMAP_SCALE, scale);
166 int scaledWidth = (int) (VIEWBOX_WIDTH * scale);
167 int scaledHeight = (int) (VIEWBOX_HEIGHT * scale);
175 renderOnCanvas(bitmapCanvas, scale);
179 private void renderOnCanvas(Canvas canvas, float scale) { argument
[all...]
/frameworks/native/cmds/flatland/
H A DGLHelper.cpp224 bool GLHelper::computeWindowScale(uint32_t w, uint32_t h, float* scale) { argument
240 *scale = scaleX < scaleY ? scaleX : scaleY;
266 float scale; local
267 result = computeWindowScale(w, h, &scale);
278 err = sc->setMatrix(scale, 0.0f, 0.0f, scale);
/frameworks/native/include/input/
H A DVelocityControl.h30 // A scale factor that is multiplied with the raw velocity deltas
31 // prior to applying any other velocity control factors. The scale
37 float scale; member in struct:android::VelocityControlParameters
65 scale(1.0f), lowThreshold(0.0f), highThreshold(0.0f), acceleration(1.0f) {
68 VelocityControlParameters(float scale, float lowThreshold, argument
70 scale(scale), lowThreshold(lowThreshold),

Completed in 740 milliseconds

12345