/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | KeyguardClockPositionAlgorithm.java | 189 private float getClockAlpha(float scale) { argument 193 float alpha = (scale - fadeEnd) 214 * The scale of the Clock
|
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
H A D | CropView.java | 99 final float scale = mRenderer.scale; 101 * scale + width / 2f; 103 * scale + height / 2f; 104 float leftEdge = centerX - imageWidth / 2f * scale; 105 float rightEdge = centerX + imageWidth / 2f * scale; 106 float topEdge = centerY - imageHeight / 2f * scale; 107 float bottomEdge = centerY + imageHeight / 2f * scale; 122 final float scale = mRenderer.scale; 151 setScale(float scale) argument [all...] |
/frameworks/base/rs/java/android/renderscript/ |
H A D | Matrix4f.java | 190 * Sets current values to be a scale matrix of given dimensions 192 * @param x scale component x 193 * @param y scale component y 194 * @param z scale component z 378 * scale matrix of given dimensions 380 * @param x scale component x 381 * @param y scale component y 382 * @param z scale component z 384 public void scale(float x, float y, float z) { method in class:Matrix4f
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/geometry/ |
H A D | Quad.java | 266 public Quad scale(float factor) { method in class:Quad
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Region_Delegate.java | 245 /*package*/ static void scale(Region thisRegion, float scale, Region dst) { argument 261 mtx.scale(scale, scale);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | ResourceHelper.java | 527 float scale; field in class:ResourceHelper.UnitEntry 529 UnitEntry(String name, int type, int unit, float scale) { argument 533 this.scale = scale; 644 private static void computeTypedValue(TypedValue outValue, float value, float scale) { argument 645 value *= scale; 703 outScale[0] = unit.scale;
|
/frameworks/native/cmds/flatland/ |
H A D | GLHelper.cpp | 224 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/libs/vr/libdvrcommon/include/private/dvr/ |
H A D | numeric.h | 71 static inline vec2i Scale(const vec2i& v, float scale) { argument 72 return vec2i(roundf(static_cast<float>(v.x()) * scale), 73 roundf(static_cast<float>(v.y()) * scale));
|
/frameworks/native/services/surfaceflinger/ |
H A D | Transform.cpp | 261 bool scale = false; local 267 scale = true; 274 scale = true; 291 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/rs/support/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/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | FocusHighlightHelper.java | 82 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 D | SearchOrbView.java | 215 void scaleOrbViewOnly(float scale) { argument 216 mSearchOrbView.setScaleX(scale); 217 mSearchOrbView.setScaleY(scale);
|
/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/av/media/vndk/xmlparser/1.0/ |
H A D | MediaCodecsXmlParser.cpp | 652 || !strcmp(attrs[i], "scale") 671 // quality: range + default + [scale] 704 AString range, scale = "linear", def, in_; local 713 if (name != "quality" && msg->findString("scale", &scale)) { 714 return limitFoundMissingAttr(name, "scale"); 730 mCurrentType->mDetails["quality-scale"] = scale; 756 } else if (msg->contains("scale")) { 757 return limitFoundMissingAttr(name, "scale"); [all...] |
/frameworks/base/core/java/android/content/res/ |
H A D | CompatibilityInfo.java | 93 * Application's scale. 98 * Application's inverted scale. 255 int dens, float scale, float invertedScale) { 258 applicationScale = scale; 325 rect.scale(applicationInvertedScale); 332 transparentRegion.scale(applicationScale); 340 /* When we scale for compatibility, we can put our stretched 358 canvas.scale(applicationScale, applicationScale); 365 event.scale(applicationInvertedScale); 373 params.scale(applicationScal 254 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 | 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/base/services/tests/servicestests/src/com/android/server/accessibility/ |
H A D | MagnificationControllerTest.java | 197 final float scale = 2.0f; 199 final PointF offsets = computeOffsets(INITIAL_MAGNIFICATION_BOUNDS, center, scale); 201 .setScale(scale, center.x, center.y, false, SERVICE_ID_1)); 203 final MagnificationSpec expectedSpec = getMagnificationSpec(scale, offsets); 215 float scale = 2.0f; 218 .setScale(scale, pivotPoint.x, pivotPoint.y, true, SERVICE_ID_1)); 223 PointF offsets = computeOffsets(INITIAL_MAGNIFICATION_BOUNDS, newCenter, scale); 224 MagnificationSpec endSpec = getMagnificationSpec(scale, offsets); 255 float scale = 2.0f; 256 assertTrue(mMagnificationController.setScale(scale, 764 computeOffsets(Rect magnifiedBounds, PointF center, float scale) argument 779 getMagnificationSpec(float scale, PointF offsets) argument 783 getMagnificationSpec(float scale, float offsetX, float offsetY) argument [all...] |
/frameworks/rs/tests/java_api/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));
|