Searched defs:factor (Results 1 - 25 of 52) sorted by last modified time

123

/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/native/opengl/libagl/
H A Dcontext.h172 GLfixed factor; member in struct:android::gl::polygon_offset_t
H A Dmatrix.cpp1106 void glPolygonOffsetx(GLfixed factor, GLfixed units) argument
1109 c->polygonOffset.factor = factor;
1113 void glPolygonOffset(GLfloat factor, GLfloat units) argument
1116 c->polygonOffset.factor = gglFloatToFixed(factor);
H A Dprimitives.cpp265 // factor for deltas/area:
666 const GLfixed factor = c->polygonOffset.factor; local
667 if (factor) {
672 + uint32_t((maxDepthSlope*factor)>>16) + units;
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/geometry/
H A DQuad.java239 * 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/tools/aapt/
H A DImages.cpp1434 float factor = ((float)newSize)/oldSize; local
1435 int percent = (int)(factor*100);
1570 float factor = ((float)newSize)/oldSize; local
1571 int percent = (int)(factor*100);
/frameworks/base/tools/layoutlib/bridge/src/com/android/internal/view/animation/
H A DNativeInterpolatorFactoryHelper_Delegate.java57 /*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/base/packages/SystemUI/src/com/android/systemui/classifier/
H A DHistoryEvaluator.java75 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 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 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 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 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 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;
H A DLong4.java386 * @param factor
388 public void addMultiple(Long4 a, long factor) { argument
389 x += a.x * factor;
390 y += a.y * factor;
391 z += a.z * factor;
392 w += a.w * factor;
H A DShort2.java341 * @param factor
343 public void addMultiple(Short2 a, short factor) { argument
344 x += a.x * factor;
345 y += a.y * factor;
H A DShort3.java362 * @param factor
364 public void addMultiple(Short3 a, short factor) { argument
365 x += a.x * factor;
366 y += a.y * factor;
367 z += a.z * factor;

Completed in 637 milliseconds

123