/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/ |
H A D | UiDevice.java | 696 * Default scale of 1.0f (original size) and 90% quality is used 712 * @param scale scale the screenshot down if needed; 1.0f for original size 716 public boolean takeScreenshot(File storePath, float scale, int quality) { argument 728 if (scale != 1.0f) { 729 matrix.setScale(scale, scale); 749 if (scale != 1.0f) { 750 width = Math.round(scale * width); 751 height = Math.round(scale * heigh [all...] |
/frameworks/support/renderscript/v8/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/support/renderscript/v8/rs_support/driver/ |
H A D | rsdRuntimeMath.cpp | 179 m->scale(x, y, z);
|
/frameworks/support/renderscript/v8/rs_support/ |
H A D | rsMatrix4x4.h | 70 void scale(float x, float y, float z) { function in struct:android::renderscript::Matrix4x4
|
/frameworks/support/renderscript/v8/rs_support/scriptc/ |
H A D | rs_quaternion.rsh | 202 float scale, invScale; 207 scale = sin(theta * (1.0f - t)) * invSinTheta; 210 scale = 1.0f - t; 215 scale = sin(M_PI * (0.5f - t)); 219 rsQuaternionSet(q, tempq0.w*scale + tempq1.w*invScale, tempq0.x*scale + tempq1.x*invScale, 220 tempq0.y*scale + tempq1.y*invScale, tempq0.z*scale + tempq1.z*invScale);
|
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | FragmentManager.java | 721 ScaleAnimation scale = new ScaleAnimation(startScale, endScale, startScale, endScale, 723 scale.setInterpolator(DECELERATE_QUINT); 724 scale.setDuration(ANIM_DUR); 725 set.addAnimation(scale);
|
/frameworks/rs/driver/ |
H A D | rsdRuntimeMath.cpp | 176 m->scale(x, y, z);
|
/frameworks/rs/ |
H A D | rsMatrix4x4.h | 70 void scale(float x, float y, float z) { function in struct:android::renderscript::Matrix4x4
|
/frameworks/rs/scriptc/ |
H A D | rs_quaternion.rsh | 202 float scale, invScale; 207 scale = sin(theta * (1.0f - t)) * invSinTheta; 210 scale = 1.0f - t; 215 scale = sin(M_PI * (0.5f - t)); 219 rsQuaternionSet(q, tempq0.w*scale + tempq1.w*invScale, tempq0.x*scale + tempq1.x*invScale, 220 tempq0.y*scale + tempq1.y*invScale, tempq0.z*scale + tempq1.z*invScale);
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/ |
H A D | PhotoViewPager.java | 98 final float scale = Math.max(0, 1.f - position * 0.3f); 99 page.setScaleX(scale); 100 page.setScaleY(scale);
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/ |
H A D | PhotoView.java | 56 /** By how much to scale the image when double click occurs */ 120 /** When {@code true}, allows gestures to scale / pan the image */ 126 /** When {@code true}, prevents scale end gesture from falsely triggering a double click. */ 128 /** When {@code false}, event is a scale gesture. Otherwise, event is a double touch. */ 132 /** Minimum scale the image can have. */ 134 /** Maximum scale to limit scaling to, 0 means no limit. */ 206 // Ensure the target scale is within our bounds 275 scale(newScale, detector.getFocusX(), detector.getFocusY()); 497 // scale for the final dimensions 502 // translate to the origin & scale 763 private void scale(float newScale, float centerX, float centerY) { method in class:PhotoView [all...] |
/frameworks/ex/carousel/java/com/android/ex/carousel/ |
H A D | carousel.rs | 151 static const int ANIMATION_DELAY_TIME = 125; // hold off scale animation until this time 190 float dragFactor; // a scale factor for how sensitive the carousel is to user dragging 577 // Gets animated scale value for current selected card. 579 static bool getAnimatedScaleForSelected(float3* scale) 585 // "scale up" animation 594 // "scale down" animation 604 *scale = one + fraction * SELECTED_SCALE_FACTOR; 684 float3 scale; 685 stillAnimating = getAnimatedScaleForSelected(&scale); 686 rsMatrixScale(matrix, scale [all...] |
/frameworks/ex/common/java/com/android/ex/editstyledtext/ |
H A D | EditStyledText.java | 402 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/ex/photoviewer/src/com/android/ex/photo/ |
H A D | PhotoViewPager.java | 98 final float scale = Math.max(0, 1.f - position * 0.3f); 99 page.setScaleX(scale); 100 page.setScaleY(scale);
|
/frameworks/ex/photoviewer/src/com/android/ex/photo/views/ |
H A D | PhotoView.java | 56 /** By how much to scale the image when double click occurs */ 118 /** When {@code true}, allows gestures to scale / pan the image */ 124 /** When {@code true}, prevents scale end gesture from falsely triggering a double click. */ 126 /** When {@code false}, event is a scale gesture. Otherwise, event is a double touch. */ 130 /** Minimum scale the image can have. */ 132 /** Maximum scale to limit scaling to, 0 means no limit. */ 204 // Ensure the target scale is within our bounds 273 scale(newScale, detector.getFocusX(), detector.getFocusY()); 495 // scale for the final dimensions 500 // translate to the origin & scale 757 private void scale(float newScale, float centerX, float centerY) { method in class:PhotoView [all...] |
/frameworks/native/opengl/libagl/ |
H A D | context.h | 399 void scale(GLfloat x, GLfloat y, GLfloat z); 459 void scale(GLfloat x, GLfloat y, GLfloat z);
|
H A D | matrix.cpp | 323 void matrixf_t::scale(GLfloat x, GLfloat y, GLfloat z) { function in class:android::matrixf_t 431 void matrix_stack_t::scale(GLfloat x, GLfloat y, GLfloat z) function in class:android::matrix_stack_t 433 stack[depth].scale(x,y,z); 1055 c->transforms.current->scale(x, y, z); 1062 c->transforms.current->scale(
|
H A D | primitives.cpp | 264 // Here we do some voodoo magic, to compute a suitable scale 310 const int scale = min(A, B - m_scale) - 2; local 311 if (scale >= 0) { 312 c0 <<= scale; local 313 dc01 <<= scale; local 314 dc02 <<= scale; local 316 c0 >>= -scale; 317 dc01 >>= -scale; 318 dc02 >>= -scale; 328 return scale; [all...] |
/frameworks/native/opengl/tests/angeles/ |
H A D | demo.c | 347 const int scale = 4; local 387 FIXED(xm * scale + m); 389 FIXED(ym * scale + m);
|
/frameworks/native/services/surfaceflinger/ |
H A D | Transform.cpp | 261 bool scale = false; local 267 scale = true; 274 scale = true; 291 if (scale)
|
/frameworks/base/tests/RenderScriptTests/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; 77 center_y, scale); 82 center_y, scale); 87 scale); 92 scale);
|
H A D | Vignette.java | 32 private float scale = 0.5f; field in class:Vignette 73 scale = progress / 50.0f; 99 center_y, scale, shade, slope); 104 center_y, scale, shade, slope); 109 scale, shade, slope); 114 scale, shade, slope);
|
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/ |
H A D | SimpleModelRS.java | 65 public void onActionScale(float scale) { argument 66 mScript.invoke_onActionScale(scale);
|