Searched defs:factor (Results 1 - 25 of 51) sorted by relevance

123

/frameworks/base/core/java/android/view/animation/
H A DAccelerateInterpolator.java48 * @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 DDecelerateInterpolator.java43 * @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 DNativeInterpolatorFactoryHelper.java27 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 DLVEQNB_CalcCoef.c66 /* 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 Dcom_android_internal_view_animation_NativeInterpolatorFactoryHelper.cpp33 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 DInterpolator.h46 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 Dbrightness.c81 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/rs/java/android/renderscript/
H A DDouble2.java266 * @param factor
268 public void addMultiple(Double2 a, double factor) { argument
269 x += a.x * factor;
270 y += a.y * factor;
H A DDouble3.java284 * @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 DFloat2.java265 * @param factor
267 public void addMultiple(Float2 a, float factor) { argument
268 x += a.x * factor;
269 y += a.y * factor;
H A DFloat3.java284 * @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 DByte2.java284 * @param factor
286 public void addMultiple(Byte2 a, byte factor) { argument
287 x += a.x * factor;
288 y += a.y * factor;
H A DByte3.java304 * @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 DByte4.java323 * @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 DDouble4.java303 * @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 DFloat4.java303 * @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 DInt2.java338 * @param factor
340 public void addMultiple(Int2 a, int factor) { argument
341 x += a.x * factor;
342 y += a.y * factor;
H A DInt3.java362 * @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 DInt4.java386 * @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;
H A DLong2.java338 * @param factor
340 public void addMultiple(Long2 a, long factor) { argument
341 x += a.x * factor;
342 y += a.y * factor;
H A DLong3.java362 * @param factor
364 public void addMultiple(Long3 a, long factor) { argument
365 x += a.x * factor;
366 y += a.y * factor;
367 z += a.z * factor;
/frameworks/opt/net/voip/src/jni/rtp/
H A DEchoSuppressor.cpp185 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 DUtils.java128 * {@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 Dgeometry.cpp59 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 Dgeometry.cpp58 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;

Completed in 419 milliseconds

123