/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/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/av/media/libeffects/lvm/lib/Eq/src/ |
H A D | LVEQNB_CalcCoef.c | 66 /* Q is the Q factor, 0.25 to 12 (represented by 25 to 1200) */ 110 LVM_INT32 factor; local 142 factor = 0x7fff; /* Initialise to 1.0 for the a0 coefficient */ 147 CosErr += (factor * coef) >> 5; /* The nth partial sum */ 148 factor = (factor * t0) >> 15; /* Calculate t0^n */ 204 /* Q is the Q factor, 0.25 to 12 */ 241 LVM_INT32 factor; local 273 factor = 0x7fff; /* Initialise to 1.0 for the a0 coefficient */ 278 COS_T0 += (factor * coe [all...] |
/frameworks/base/core/jni/ |
H A D | com_android_internal_view_animation_NativeInterpolatorFactoryHelper.cpp | 33 static jlong createAccelerateInterpolator(JNIEnv* env, jobject clazz, jfloat factor) { argument 34 return reinterpret_cast<jlong>(new AccelerateInterpolator(factor)); 53 static jlong createDecelerateInterpolator(JNIEnv* env, jobject clazz, jfloat factor) { argument 54 return reinterpret_cast<jlong>(new DecelerateInterpolator(factor));
|
/frameworks/base/libs/hwui/ |
H A D | Interpolator.h | 46 AccelerateInterpolator(float factor) : mFactor(factor), mDoubleFactor(factor*2) {} argument 84 DecelerateInterpolator(float factor) : mFactor(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 | 75 float factor = (float) Math.pow(HISTORY_FACTOR, 78 decayValue(mStrokes, factor); 79 decayValue(mGestureWeights, factor); 83 private void decayValue(ArrayList<Data> list, float factor) { argument 86 list.get(i).weight *= factor;
|
/frameworks/base/rs/java/android/renderscript/ |
H A D | Double2.java | 266 * @param factor 268 public void addMultiple(Double2 a, double factor) { argument 269 x += a.x * factor; 270 y += a.y * factor;
|
H A D | Double3.java | 284 * @param factor 286 public void addMultiple(Double3 a, double factor) { argument 287 x += a.x * factor; 288 y += a.y * factor; 289 z += a.z * factor;
|
H A D | Float2.java | 265 * @param factor 267 public void addMultiple(Float2 a, float factor) { argument 268 x += a.x * factor; 269 y += a.y * factor;
|
H A D | Float3.java | 284 * @param factor 286 public void addMultiple(Float3 a, float factor) { argument 287 x += a.x * factor; 288 y += a.y * factor; 289 z += a.z * factor;
|
H A D | Byte2.java | 284 * @param factor 286 public void addMultiple(Byte2 a, byte factor) { argument 287 x += a.x * factor; 288 y += a.y * factor;
|
H A D | Byte3.java | 304 * @param factor 306 public void addMultiple(Byte3 a, byte factor) { argument 307 x += a.x * factor; 308 y += a.y * factor; 309 z += a.z * factor;
|
H A D | Byte4.java | 323 * @param factor 325 public void addMultiple(Byte4 a, byte factor) { argument 326 x += a.x * factor; 327 y += a.y * factor; 328 z += a.z * factor; 329 w += a.w * factor;
|
H A D | Double4.java | 303 * @param factor 305 public void addMultiple(Double4 a, double factor) { argument 306 x += a.x * factor; 307 y += a.y * factor; 308 z += a.z * factor; 309 w += a.w * factor;
|
H A D | Float4.java | 303 * @param factor 305 public void addMultiple(Float4 a, float factor) { argument 306 x += a.x * factor; 307 y += a.y * factor; 308 z += a.z * factor; 309 w += a.w * factor;
|
H A D | Int2.java | 338 * @param factor 340 public void addMultiple(Int2 a, int factor) { argument 341 x += a.x * factor; 342 y += a.y * factor;
|
H A D | Int3.java | 362 * @param factor 364 public void addMultiple(Int3 a, int factor) { argument 365 x += a.x * factor; 366 y += a.y * factor; 367 z += a.z * factor;
|
H A D | Int4.java | 386 * @param factor 388 public void addMultiple(Int4 a, int factor) { argument 389 x += a.x * factor; 390 y += a.y * factor; 391 z += a.z * factor; 392 w += a.w * factor;
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/internal/view/animation/ |
H A D | NativeInterpolatorFactoryHelper_Delegate.java | 57 /*package*/ static long createAccelerateInterpolator(float factor) { argument 58 return sManager.addNewDelegate(new AccelerateInterpolator(factor)); 82 /*package*/ static long createDecelerateInterpolator(float factor) { argument 83 return sManager.addNewDelegate(new DecelerateInterpolator(factor));
|
/frameworks/opt/net/voip/src/jni/rtp/ |
H A D | EchoSuppressor.cpp | 185 int factor = (corr2 > 1.0f) ? 0 : (1.0f - sqrtf(corr2)) * 4096; local 187 recorded[i] = recorded[i] * factor >> 16;
|
/frameworks/base/media/java/android/media/ |
H A D | Utils.java | 128 * {@code e}: {@code newrange.contains(e)} implies that {@code range.contains(e * factor)}, 129 * and {@code !newrange.contains(e)} implies that {@code !range.contains(e * factor)}. 131 static Range<Integer>factorRange(Range<Integer> range, int factor) { argument 132 if (factor == 1) { 135 return Range.create(divUp(range.getLower(), factor), range.getUpper() / factor); 139 * {@code e}: {@code newrange.contains(e)} implies that {@code range.contains(e * factor)}, 140 * and {@code !newrange.contains(e)} implies that {@code !range.contains(e * factor)}. 142 static Range<Long>factorRange(Range<Long> range, long factor) { argument 143 if (factor [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;
|
/frameworks/base/media/mca/filterpacks/native/base/ |
H A D | geometry.cpp | 58 Point Point::operator*(float factor) const { 60 out.x_ = factor * x_; 61 out.y_ = factor * y_; 106 bool Rect::ScaleWithLengthLimit(float factor, float max_length) { argument 107 if (width <= 0.0f || height <= 0.0f || factor <= 0.0f) { 116 float f = factor;
|