/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | FocusHighlightHelper.java | 78 FocusAnimator(View view, float scale, boolean useDimmer, int duration) { argument 81 mScaleDiff = scale - 1f; 97 float scale = 1f + mScaleDiff * level; 98 mView.setScaleX(scale); 99 mView.setScaleY(scale); 232 HeaderFocusAnimator(View view, float scale, int duration) { argument 233 super(view, scale, false, duration);
|
H A D | ScaleFrameLayout.java | 25 * Subclass of FrameLayout that support scale layout area size for children. 64 public void setChildScale(float scale) { argument 65 if (mChildScale != scale) { 66 mChildScale = scale; 68 getChildAt(i).setScaleX(scale); 69 getChildAt(i).setScaleY(scale); 176 private static int getScaledMeasureSpec(int measureSpec, float scale) { argument 177 return scale == 1f ? measureSpec : MeasureSpec.makeMeasureSpec( 178 (int) (MeasureSpec.getSize(measureSpec) / scale + 0.5f),
|
H A D | SearchOrbView.java | 215 void scaleOrbViewOnly(float scale) { argument 216 mSearchOrbView.setScaleX(scale); 217 mSearchOrbView.setScaleY(scale);
|
/frameworks/support/v4/java/android/support/v4/widget/ |
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...] |
H A D | SwipeRefreshLayout.java | 230 * @param scale Set to true if there is no view at a higher z-order than 238 public void setProgressViewOffset(boolean scale, int start, int end) { argument 239 mScale = scale; 253 * @param scale Set to true if there is no view at a higher z-order than 259 public void setProgressViewEndTarget(boolean scale, int end) { argument 261 mScale = scale; 364 * Pre API 11, alpha is used to make the progress circle appear instead of scale. 378 // scale and show 398 // Pre API 11, alpha is used in place of scale up to show the 465 // Pre API 11, alpha is used in place of scale [all...] |
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
H A D | Matrix2f.java | 118 * 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 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...] |
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/rs/driver/runtime/ |
H A D | rs_quaternion.c | 149 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/java/tests/ImageProcessing/src/com/android/rs/image/ |
H A D | Fisheye.java | 35 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 D | Vignette.java | 35 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/java/tests/ImageProcessing2/src/com/android/rs/image/ |
H A D | Fisheye.java | 32 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 D | Vignette.java | 31 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/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
H A D | Fisheye.java | 35 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 D | Vignette.java | 31 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/java/tests/ScriptGroupTest/src/com/android/rs/sgtest/ |
H A D | Filters.java | 252 private final float scale = 0.5f; field in class:Filters.VignetteFilter 261 center_y, scale, shade, slope); 270 scale, shade, slope);
|
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/ |
H A D | TriData.java | 63 public void scale(float[] s) {
method in class:TriData 71 public void scale(double[] s) {
method in class:TriData
|
/frameworks/rs/ |
H A D | rsMatrix4x4.h | 69 void scale(float x, float y, float z) { function in struct:android::renderscript::Matrix4x4
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/ |
H A D | PhotoViewController.java | 153 /** 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 D | PhotoView.java | 66 /** 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/native/cmds/flatland/ |
H A D | GLHelper.cpp | 225 bool GLHelper::computeWindowScale(uint32_t w, uint32_t h, float* scale) { argument 241 *scale = scaleX < scaleY ? scaleX : scaleY; 267 float scale; local 268 result = computeWindowScale(w, h, &scale); 279 err = sc->setMatrix(scale, 0.0f, 0.0f, scale);
|
/frameworks/native/include/input/ |
H A D | VelocityControl.h | 30 // 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),
|
/frameworks/native/include/ui/ |
H A D | mat4.h | 145 static tmat44 scale(const tvec4<A>& s); 284 tmat44<T> tmat44<T>::scale(const tvec4<A>& s) { function in class:android::tmat44
|
/frameworks/native/libs/input/ |
H A D | Input.cpp | 131 void PointerCoords::scale(float scaleFactor) { function in class:android::PointerCoords 132 // No need to scale pressure or size since they are normalized. 133 // No need to scale orientation since it is meaningless to do so. 344 void MotionEvent::scale(float scaleFactor) { function in class:android::MotionEvent 352 mSamplePointerCoords.editItemAt(i).scale(scaleFactor);
|
H A D | VelocityControl.cpp | 72 float scale = mParameters.scale; local 74 float speed = hypotf(vx, vy) * scale; 77 scale *= mParameters.acceleration; 81 scale *= 1 + (speed - mParameters.lowThreshold) 89 mParameters.scale, mParameters.lowThreshold, mParameters.highThreshold, 91 vx, vy, speed, scale / mParameters.scale); 96 mParameters.scale, mParameters.lowThreshold, mParameters.highThreshold, 102 *deltaX *= scale; [all...] |