/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | ResourceHelper.java | 442 float scale; field in class:ResourceHelper.UnitEntry 444 UnitEntry(String name, int type, int unit, float scale) { argument 448 this.scale = scale; 559 private static void computeTypedValue(TypedValue outValue, float value, float scale) { argument 560 value *= scale; 618 outScale[0] = unit.scale;
|
H A D | GcSnapshot.java | 446 public void scale(float sx, float sy) { method in class:GcSnapshot 449 layer.getGraphics().scale(sx, sy); 455 mTransform.scale(sx, sy);
|
/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/services/surfaceflinger/ |
H A D | Transform.cpp | 254 bool scale = false; local 260 scale = true; 267 scale = true; 284 if (scale)
|
/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/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 | SearchOrbView.java | 215 void scaleOrbViewOnly(float scale) { argument 216 mSearchOrbView.setScaleX(scale); 217 mSearchOrbView.setScaleY(scale);
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
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/av/media/libstagefright/codecs/amrnb/common/src/ |
H A D | vad1.cpp | 446 scale -- Word16 -- scaling for the level calculation 515 Word16 scale, /* i : scaling for the level calculation */ 531 l_temp2 = L_add(l_temp1, L_shl(*sub_level, sub(16, scale, pOverflow), pOverflow), pOverflow); 532 *sub_level = extract_h(L_shl(l_temp1, scale, pOverflow)); 538 level = extract_h(L_shl(l_temp2, scale, pOverflow)); 505 level_calculation( Word16 data[], Word16 *sub_level, Word16 count1, Word16 count2, Word16 ind_m, Word16 ind_a, Word16 scale, Flag *pOverflow ) argument
|
/frameworks/base/core/java/android/content/res/ |
H A D | CompatibilityInfo.java | 86 * Application's scale. 91 * Application's inverted scale. 245 int dens, float scale, float invertedScale) { 248 applicationScale = scale; 311 rect.scale(applicationInvertedScale); 318 transparentRegion.scale(applicationScale); 326 /* When we scale for compatibility, we can put our stretched 344 canvas.scale(applicationScale, applicationScale); 351 event.scale(applicationInvertedScale); 359 params.scale(applicationScal 244 CompatibilityInfo(int compFlags, int dens, float scale, float invertedScale) argument [all...] |
/frameworks/base/core/java/android/view/animation/ |
H A D | AnimationSet.java | 412 public void scaleCurrentDuration(float scale) { argument 416 animations.get(i).scaleCurrentDuration(scale);
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Region.java | 231 * Scale the region by the given scale amount. This re-constructs new region by 234 * in less internal rects if 0 < scale < 1. Zero and Negative scale result in 239 public void scale(float scale) { argument 240 scale(scale, null); 244 * Set the dst region to the result of scaling this region by the given scale amount. 248 public native void scale(float scale, Regio argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | CanvasState.cpp | 177 void CanvasState::scale(float sx, float sy) { function in class:android::uirenderer::CanvasState 178 mSnapshot->transform->scale(sx, sy, 1.0f);
|
H A D | Matrix.cpp | 227 double scale = 1.0 / local 236 v.data[kTranslateY] * v.data[kPerspective1]) * scale; 238 v.data[kSkewX] * v.data[kPerspective2]) * scale; 240 v.data[kTranslateX] * v.data[kScaleY]) * scale; 243 v.data[kSkewY] * v.data[kPerspective2]) * scale; 245 v.data[kTranslateX] * v.data[kPerspective0]) * scale; 247 v.data[kScaleX] * v.data[kTranslateY]) * scale; 250 v.data[kScaleY] * v.data[kPerspective0]) * scale; 252 v.data[kScaleX] * v.data[kPerspective1]) * scale; 254 v.data[kSkewX] * v.data[kSkewY]) * scale; [all...] |
H A D | Matrix.h | 176 void scale(float sx, float sy, float sz) { function in class:android::uirenderer::Matrix4 195 * If the matrix is identity or translate and/or scale. 225 os << ", scale " << matrix[kScaleX] << "x" << matrix[kScaleY];
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
H A D | GLCanvas.java | 58 public abstract void scale(float sx, float sy, float sz); method in interface:GLCanvas
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
H A D | TiledImageView.java | 64 public float scale; field in class:TiledImageView.ImageRendererWrapper 162 mRenderer.scale = 0; 182 || renderer.scale > 0 || getWidth() == 0) { 185 renderer.scale = Math.min( 261 float scale = mValues[Matrix.MSCALE_X]; 262 int xoffset = Math.round((getWidth() - mTempRectF.width()) / 2 / scale); 263 int yoffset = Math.round((getHeight() - mTempRectF.height()) / 2 / scale); 265 cx += (mTempRectF.left / scale) - xoffset; 267 cx -= (mTempRectF.left / scale) - xoffset; 270 cy += (mTempRectF.top / scale) [all...] |
/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/av/media/libstagefright/webm/ |
H A D | WebmElement.cpp | 297 sp<WebmElement> WebmElement::SegmentInfo(uint64_t scale, double dur) { argument 301 segmentInfo.push_back(new WebmUnsigned(kMkvTimecodeScale, scale));
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | UiDevice.java | 827 * Default scale of 1.0f (original size) and 90% quality is used 845 * @param scale scale the screenshot down if needed; 1.0f for original size 850 public boolean takeScreenshot(File storePath, float scale, int quality) { argument 851 Tracer.trace(storePath, scale, quality);
|
/frameworks/base/core/java/android/widget/ |
H A D | AbsSeekBar.java | 538 void onVisualProgressChanged(int id, float scale) { argument 539 super.onVisualProgressChanged(id, scale); 544 setThumbPos(getWidth(), thumb, scale, Integer.MIN_VALUE); 604 * @param scale Current progress between 0 and 1 608 private void setThumbPos(int w, Drawable thumb, float scale, int offset) { argument 617 final int thumbPos = (int) (scale * available + 0.5f); 824 final float scale; 828 scale = 0.0f; 830 scale = 1.0f; 832 scale [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | Region.cpp | 164 // Scale the rectangle by given scale and set the reuslt to the dst. 165 static void scale_rect(SkIRect* dst, const SkIRect& src, float scale) { argument 166 dst->fLeft = (int)::roundf(src.fLeft * scale); 167 dst->fTop = (int)::roundf(src.fTop * scale); 168 dst->fRight = (int)::roundf(src.fRight * scale); 169 dst->fBottom = (int)::roundf(src.fBottom * scale); 172 // Scale the region by given scale and set the reuslt to the dst. 174 static void scale_rgn(SkRegion* dst, const SkRegion& src, float scale) { argument 180 scale_rect(&r, iter.rect(), scale); 186 static void Region_scale(JNIEnv* env, jobject region, jfloat scale, jobjec argument 189 scale_rgn(GetSkRegion(env, dst), *rgn, scale); local [all...] |
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | ColorFade.java | 249 mScaleLoc = GLES20.glGetUniformLocation(mProgram, "scale"); 398 float scale = (float) ((-Math.pow(one_minus_level, 2) + 1) * 0.1d + 0.9d); 400 drawFaded(opacity, 1.f / gamma, saturation, scale); 412 private void drawFaded(float opacity, float gamma, float saturation, float scale) { argument 415 ", saturation=" + saturation + ", scale=" + scale); 426 GLES20.glUniform1f(mScaleLoc, scale);
|
/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);
|