/frameworks/base/core/java/com/android/internal/view/animation/ |
H A D | NativeInterpolatorFactoryHelper.java | 27 public static native long createAccelerateInterpolator(float factor); argument 32 public static native long createDecelerateInterpolator(float factor); argument
|
/frameworks/base/media/mca/filterpacks/native/imageproc/ |
H A D | brightness.c | 81 const int factor = (int)(brightness * 255.0f); local 86 const short r = (pixel.rgba[0] * factor) / 255; 87 const short g = (pixel.rgba[1] * factor) / 255; 88 const short b = (pixel.rgba[2] * factor) / 255;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
H A D | HistoryEvaluator.java | 81 float factor = (float) Math.pow(HISTORY_FACTOR, (time - mLastUpdate) / INTERVAL); 83 decayValue(mStrokes, factor); 84 decayValue(mGestureWeights, factor); 88 private void decayValue(ArrayList<Data> list, float factor) { argument 91 list.get(i).weight *= factor;
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/geometry/ |
H A D | Quad.java | 239 * Grow the Quad outwards by the specified factor. 242 * them to the centroid. A factor of 1.0 moves the quad outwards by the distance of the corners 245 * @param factor the growth factor 248 public Quad grow(float factor) { argument 250 return new Quad(factor * (mTopLeft.x - pc.x) + pc.x, 251 factor * (mTopLeft.y - pc.y) + pc.y, 252 factor * (mTopRight.x - pc.x) + pc.x, 253 factor * (mTopRight.y - pc.y) + pc.y, 254 factor * (mBottomLef 266 scale(float factor) argument [all...] |
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | geometry.cpp | 59 Point Point::operator*(float factor) const { 61 out.x_ = factor * x_; 62 out.y_ = factor * y_; 107 bool Rect::ScaleWithLengthLimit(float factor, float max_length) { argument 108 if (width <= 0.0f || height <= 0.0f || factor <= 0.0f) { 117 float f = factor;
|
H A D | geometry.h | 43 Point operator*(float factor) const; 88 bool ScaleWithLengthLimit(float factor, float max_length);
|
/frameworks/base/libs/hwui/ |
H A D | Interpolator.h | 47 explicit AccelerateInterpolator(float factor) : mFactor(factor), mDoubleFactor(factor*2) {} argument 85 explicit DecelerateInterpolator(float factor) : mFactor(factor) {} argument
|
/frameworks/av/media/libeffects/lvm/lib/Eq/src/ |
H A D | LVEQNB_CalcCoef.c | 68 /* Q is the Q factor, 0.25 to 12 (represented by 25 to 1200) */ 113 LVM_INT32 factor; local 145 factor = 0x7fff; /* Initialise to 1.0 for the a0 coefficient */ 150 CosErr += (factor * coef) >> 5; /* The nth partial sum */ 151 factor = (factor * t0) >> 15; /* Calculate t0^n */ 207 /* Q is the Q factor, 0.25 to 12 */ 304 LVM_INT32 factor; local 336 factor = 0x7fff; /* Initialise to 1.0 for the a0 coefficient */ 341 COS_T0 += (factor * coe [all...] |
/frameworks/base/media/mca/filterpacks/native/base/ |
H A D | geometry.cpp | 60 Point Point::operator*(float factor) const { 62 out.x_ = factor * x_; 63 out.y_ = factor * y_; 108 bool Rect::ScaleWithLengthLimit(float factor, float max_length) { argument 109 if (width <= 0.0f || height <= 0.0f || factor <= 0.0f) { 118 float f = factor;
|
H A D | geometry.h | 43 Point operator*(float factor) const; 105 bool ScaleWithLengthLimit(float factor, float max_length);
|
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/ |
H A D | fisheye.rsh | 21 static float alpha, radius2, factor; 42 factor = bound / max_radian; 53 const float scalar = radian * factor * inv_dist;
|
H A 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/ |
H A D | fisheye.rsh | 21 static float alpha, radius2, factor; 42 factor = bound / max_radian; 53 const float scalar = radian * factor * inv_dist;
|
H A 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/ImageProcessing_jb/src/com/android/rs/image/ |
H A D | fisheye.rsh | 21 static float alpha, radius2, factor; 42 factor = bound / max_radian; 53 const float scalar = radian * factor * inv_dist;
|
H A 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/ScriptGroupTest/src/com/android/rs/sgtest/ |
H A D | fisheye_approx_f.rsh | 21 static float alpha, radius2, factor; 44 factor = bound / max_radian; 55 const float scalar = radian * factor * inv_dist;
|
/frameworks/base/core/jni/ |
H A D | com_android_internal_view_animation_NativeInterpolatorFactoryHelper.cpp | 34 static jlong createAccelerateInterpolator(JNIEnv* env, jobject clazz, jfloat factor) { argument 35 return reinterpret_cast<jlong>(new AccelerateInterpolator(factor)); 54 static jlong createDecelerateInterpolator(JNIEnv* env, jobject clazz, jfloat factor) { argument 55 return reinterpret_cast<jlong>(new DecelerateInterpolator(factor));
|
/frameworks/layoutlib/bridge/src/com/android/internal/view/animation/ |
H A D | NativeInterpolatorFactoryHelper_Delegate.java | 59 /*package*/ static long createAccelerateInterpolator(float factor) { argument 60 return sManager.addNewDelegate(new AccelerateInterpolator(factor)); 84 /*package*/ static long createDecelerateInterpolator(float factor) { argument 85 return sManager.addNewDelegate(new DecelerateInterpolator(factor));
|
/frameworks/base/core/java/android/os/ |
H A D | PowerSaveState.java | 91 public Builder setBrightnessFactor(float factor) { argument 92 mBrightnessFactor = factor;
|
/frameworks/base/core/java/android/view/animation/ |
H A D | AccelerateInterpolator.java | 48 * @param factor Degree to which the animation should be eased. Seting 49 * factor to 1.0f produces a y=x^2 parabola. Increasing factor above 53 public AccelerateInterpolator(float factor) { argument 54 mFactor = factor;
|
H A D | DecelerateInterpolator.java | 43 * @param factor Degree to which the animation should be eased. Setting factor to 1.0f produces 44 * an upside-down y=x^2 parabola. Increasing factor above 1.0f makes exaggerates the 47 public DecelerateInterpolator(float factor) { argument 48 mFactor = factor;
|
/frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src/ |
H A D | LVPSA_Control.c | 291 LVM_INT16 QFactor; /* Filter Q factor */ 299 QFactor =(LVM_INT16) pInst->pFiltersParams[ii].QFactor; /* Get the band Q factor */ 519 /* Q is the Q factor, 0.25 to 12 */ 548 LVM_FLOAT factor; local 582 factor = 1.0f; /* Initialise to 1.0 for the a0 coefficient */ 587 COS_T0 += (factor * coef); /* The nth partial sum */ 588 factor = (factor * t0) ; /* Calculate t0^n */ 628 LVM_INT32 factor; local 663 factor 752 LVM_FLOAT factor; local 835 LVM_INT32 factor; local [all...] |
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
H A D | Duration.java | 146 long factor = 1000 * sign; 147 return factor * ((7*24*60*60*weeks)
|
/frameworks/base/core/java/android/util/ |
H A D | LauncherIcons.java | 151 float factor = 1 / (1 + 2 * ICON_SIZE_BLUR_FACTOR + ICON_SIZE_KEY_SHADOW_DELTA_FACTOR); 154 bounds.width() * factor * 156 bounds.height() * factor * ICON_SIZE_BLUR_FACTOR); 157 canvas.scale(factor, factor);
|