/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/geometry/ |
D | Quad.java | 248 public Quad grow(float factor) { in grow() argument 250 return new Quad(factor * (mTopLeft.x - pc.x) + pc.x, in grow() 251 factor * (mTopLeft.y - pc.y) + pc.y, in grow() 252 factor * (mTopRight.x - pc.x) + pc.x, in grow() 253 factor * (mTopRight.y - pc.y) + pc.y, in grow() 254 factor * (mBottomLeft.x - pc.x) + pc.x, in grow() 255 factor * (mBottomLeft.y - pc.y) + pc.y, in grow() 256 factor * (mBottomRight.x - pc.x) + pc.x, in grow() 257 factor * (mBottomRight.y - pc.y) + pc.y); in grow() 266 public Quad scale(float factor) { in scale() argument [all …]
|
/frameworks/base/media/mca/filterfw/native/core/ |
D | geometry.cpp | 59 Point Point::operator*(float factor) const { in operator *() 61 out.x_ = factor * x_; in operator *() 62 out.y_ = factor * y_; in operator *() 107 bool Rect::ScaleWithLengthLimit(float factor, float max_length) { in ScaleWithLengthLimit() argument 108 if (width <= 0.0f || height <= 0.0f || factor <= 0.0f) { in ScaleWithLengthLimit() 117 float f = factor; in ScaleWithLengthLimit()
|
D | geometry.h | 43 Point operator*(float factor) const; 88 bool ScaleWithLengthLimit(float factor, float max_length);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
D | HistoryEvaluator.java | 81 float factor = (float) Math.pow(HISTORY_FACTOR, (time - mLastUpdate) / INTERVAL); in decayValue() local 83 decayValue(mStrokes, factor); in decayValue() 84 decayValue(mGestureWeights, factor); in decayValue() 88 private void decayValue(ArrayList<Data> list, float factor) { in decayValue() argument 91 list.get(i).weight *= factor; in decayValue()
|
/frameworks/base/media/mca/filterpacks/native/base/ |
D | geometry.cpp | 60 Point Point::operator*(float factor) const { in operator *() 62 out.x_ = factor * x_; in operator *() 63 out.y_ = factor * y_; in operator *() 108 bool Rect::ScaleWithLengthLimit(float factor, float max_length) { in ScaleWithLengthLimit() argument 109 if (width <= 0.0f || height <= 0.0f || factor <= 0.0f) { in ScaleWithLengthLimit() 118 float f = factor; in ScaleWithLengthLimit()
|
/frameworks/base/media/mca/filterpacks/native/imageproc/ |
D | brightness.c | 81 const int factor = (int)(brightness * 255.0f); in brightness_process() local 86 const short r = (pixel.rgba[0] * factor) / 255; in brightness_process() 87 const short g = (pixel.rgba[1] * factor) / 255; in brightness_process() 88 const short b = (pixel.rgba[2] * factor) / 255; in brightness_process()
|
/frameworks/base/libs/hwui/ |
D | Interpolator.h | 47 explicit AccelerateInterpolator(float factor) : mFactor(factor), mDoubleFactor(factor * 2) {} in AccelerateInterpolator() argument 89 explicit DecelerateInterpolator(float factor) : mFactor(factor) {} in DecelerateInterpolator() argument
|
/frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src/ |
D | LVPSA_Control.cpp | 467 LVM_FLOAT factor; in LVPSA_BPSinglePrecCoefs() local 500 factor = 1.0f; /* Initialise to 1.0 for the a0 coefficient */ in LVPSA_BPSinglePrecCoefs() 505 COS_T0 += (factor * coef); /* The nth partial sum */ in LVPSA_BPSinglePrecCoefs() 506 factor = (factor * t0) ; /* Calculate t0^n */ in LVPSA_BPSinglePrecCoefs() 585 LVM_FLOAT factor; in LVPSA_BPDoublePrecCoefs() local 618 factor = 1.0f; /* Initialise to 1.0 for the a0 coefficient */ in LVPSA_BPDoublePrecCoefs() 623 CosErr += factor * coef; /* The nth partial sum */ in LVPSA_BPDoublePrecCoefs() 624 factor = factor * t0; /* Calculate t0^n */ in LVPSA_BPDoublePrecCoefs()
|
/frameworks/base/libs/hwui/jni/ |
D | android_graphics_animation_NativeInterpolatorFactory.cpp | 32 static jlong createAccelerateInterpolator(JNIEnv* env, jobject clazz, jfloat factor) { in createAccelerateInterpolator() argument 33 return reinterpret_cast<jlong>(new AccelerateInterpolator(factor)); in createAccelerateInterpolator() 52 static jlong createDecelerateInterpolator(JNIEnv* env, jobject clazz, jfloat factor) { in createDecelerateInterpolator() argument 53 return reinterpret_cast<jlong>(new DecelerateInterpolator(factor)); in createDecelerateInterpolator()
|
/frameworks/layoutlib/bridge/src/android/graphics/animation/ |
D | NativeInterpolatorFactory_Delegate.java | 59 /*package*/ static long createAccelerateInterpolator(float factor) { in createAccelerateInterpolator() argument 60 return sManager.addNewDelegate(new AccelerateInterpolator(factor)); in createAccelerateInterpolator() 84 /*package*/ static long createDecelerateInterpolator(float factor) { in createDecelerateInterpolator() argument 85 return sManager.addNewDelegate(new DecelerateInterpolator(factor)); in createDecelerateInterpolator()
|
/frameworks/base/core/java/android/util/ |
D | LauncherIcons.java | 155 float factor = 1 / (1 + 2 * ICON_SIZE_BLUR_FACTOR + ICON_SIZE_KEY_SHADOW_DELTA_FACTOR); in draw() local 158 bounds.width() * factor * in draw() 160 bounds.height() * factor * ICON_SIZE_BLUR_FACTOR); in draw() 161 canvas.scale(factor, factor); in draw()
|
/frameworks/base/graphics/java/android/graphics/animation/ |
D | NativeInterpolatorFactory.java | 48 public static native long createAccelerateInterpolator(float factor); in createAccelerateInterpolator() argument 58 public static native long createDecelerateInterpolator(float factor); in createDecelerateInterpolator() argument
|
/frameworks/base/media/java/android/media/ |
D | Utils.java | 157 static Range<Integer>factorRange(Range<Integer> range, int factor) { 158 if (factor == 1) { 161 return Range.create(divUp(range.getLower(), factor), range.getUpper() / factor); 168 static Range<Long>factorRange(Range<Long> range, long factor) { 169 if (factor == 1) { 172 return Range.create(divUp(range.getLower(), factor), range.getUpper() / factor);
|
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/ |
D | layered_filter_f32_helper.rsh | 106 float factor = 1.0f / result.alpha; 107 result.red *= factor; 108 result.green *= factor; 109 result.blue *= factor; 142 float factor = 1.0f / result.a; 143 fuzzy.red = result.r * factor; 144 fuzzy.green = result.g * factor; 145 fuzzy.blue = result.b * factor;
|
/frameworks/base/core/java/android/os/ |
D | PowerSaveState.java | 91 public Builder setBrightnessFactor(float factor) { in setBrightnessFactor() argument 92 mBrightnessFactor = factor; in setBrightnessFactor()
|
/frameworks/base/rs/java/android/renderscript/ |
D | Float4.java | 305 public void addMultiple(Float4 a, float factor) { in addMultiple() argument 306 x += a.x * factor; in addMultiple() 307 y += a.y * factor; in addMultiple() 308 z += a.z * factor; in addMultiple() 309 w += a.w * factor; in addMultiple()
|
D | Byte4.java | 325 public void addMultiple(Byte4 a, byte factor) { in addMultiple() argument 326 x += a.x * factor; in addMultiple() 327 y += a.y * factor; in addMultiple() 328 z += a.z * factor; in addMultiple() 329 w += a.w * factor; in addMultiple()
|
D | Double4.java | 305 public void addMultiple(Double4 a, double factor) { in addMultiple() argument 306 x += a.x * factor; in addMultiple() 307 y += a.y * factor; in addMultiple() 308 z += a.z * factor; in addMultiple() 309 w += a.w * factor; in addMultiple()
|
D | Double3.java | 286 public void addMultiple(Double3 a, double factor) { in addMultiple() argument 287 x += a.x * factor; in addMultiple() 288 y += a.y * factor; in addMultiple() 289 z += a.z * factor; in addMultiple()
|
D | Byte3.java | 306 public void addMultiple(Byte3 a, byte factor) { in addMultiple() argument 307 x += a.x * factor; in addMultiple() 308 y += a.y * factor; in addMultiple() 309 z += a.z * factor; in addMultiple()
|
/frameworks/base/core/java/android/view/animation/ |
D | DecelerateInterpolator.java | 47 public DecelerateInterpolator(float factor) { in DecelerateInterpolator() argument 48 mFactor = factor; in DecelerateInterpolator()
|
D | AccelerateInterpolator.java | 53 public AccelerateInterpolator(float factor) { in AccelerateInterpolator() argument 54 mFactor = factor; in AccelerateInterpolator()
|
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/ |
D | fisheye_approx.rsh | 21 static float alpha, radius2, factor; 42 factor = bound / max_radian; 53 const float scalar = radian * factor * inv_dist;
|
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/ |
D | fisheye_approx.rsh | 21 static float alpha, radius2, factor; 42 factor = bound / max_radian; 53 const float scalar = radian * factor * inv_dist;
|
D | fisheye.rsh | 21 static float alpha, radius2, factor; 42 factor = bound / max_radian; 53 const float scalar = radian * factor * inv_dist;
|