/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | SmoothingUtils.java | 63 final int pow = i + j; in get3DParameters() local 65 m0[i][j] += (float) Math.pow(xs[k], pow); in get3DParameters()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | FlingScroller.java | 97 * Math.pow(Math.abs(velocity), 1.0 / (DECELERATED_FACTOR - 1))); in fling() 110 f = 1 - (float) Math.pow(f, DECELERATED_FACTOR); in computeScrollOffset() 139 Math.pow(1 - progress, DECELERATED_FACTOR - 1) / mDuration; in getV()
|
/packages/apps/Dialer/java/com/android/dialer/common/backoff/ |
D | ExponentialBaseCalculator.java | 89 double b0n = Math.pow(b0, n); in getBaseImpl() 99 double b1n = Math.pow(b1, n); in getBaseImpl()
|
/packages/services/Car/tools/emulator/ |
D | diagnostic_builder.py | 44 bitValue = pow(2,bitIdx) 49 bitValue = pow(2,bitIdx)
|
/packages/apps/Test/connectivity/sl4n/rapidjson/test/perftest/ |
D | platformtest.cpp | 83 TEST_F(Platform, pow) { in TEST_F() argument 86 sum += pow(10.0, i & 255); in TEST_F()
|
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/ |
D | StopwatchFragment.kt | 69 import kotlin.math.pow in <lambda>() 609 val inCircle = (x / r.toDouble()).pow(2.0) + (y / r.toDouble()).pow(2.0) <= 1.0 in <lambda>()
|
D | StopwatchFragment.java | 634 final boolean inCircle = Math.pow(x / r, 2.0) + Math.pow(y / r, 2.0) <= 1.0;
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | InvariantDeviceProfile.java | 499 private static float weight(float x0, float y0, float x1, float y1, float pow) { in weight() argument 504 return (float) (WEIGHT_EFFICIENT / Math.pow(d, pow)); in weight()
|
D | LogAccelerateInterpolator.java | 18 return (float) -Math.pow(base, -t) + 1 + (drift * t); in computeLog()
|
D | LogDecelerateInterpolator.java | 19 return (float) -Math.pow(base, -t) + 1 + (drift * t); in computeLog()
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
D | MultiShrinkScroller.java | 1184 final float alpha = 1.0f - (float) Math.min(Math.pow(ratio, 1.5f) * 2f, 1f); in updatePhotoTintAndDropShadow() 1185 final float tint = (float) Math.min(Math.pow(ratio, 1.5f) * 3f, 1f); in updatePhotoTintAndDropShadow() 1204 / (1 - Math.pow(1 - DESIRED_INTERMEDIATE_LETTER_TILE_ALPHA, 1/TILE_EXPONENT))); in updatePhotoTintAndDropShadow() 1207 float colorAlpha = 1 - (float) Math.pow(linearBeforeIntermediate, TILE_EXPONENT); in updatePhotoTintAndDropShadow()
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
D | PhotoTable.java | 314 float a = (float) Math.pow(1f-t, 3f); in randFromCurve() 315 float b = (float) Math.pow(1f-t, 2f) * t; in randFromCurve() 316 float c = (1f-t) * (float) Math.pow(t, 2f); in randFromCurve() 317 float d = (float) Math.pow(t, 3f); in randFromCurve()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/ |
D | MediaView.java | 268 double shutterSpeed = Math.pow(2, -1 * speed); in formatShutterSpeed() 272 int approximateSpeedDenom = (int) Math.pow(2, speed) + 1; in formatShutterSpeed()
|
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
D | db_utilities.h | 227 if(x>=0.0) return(pow(x,1.0/3.0)); in db_CubRoot() 228 else return(-pow(-x,1.0/3.0)); in db_CubRoot()
|
/packages/apps/Gallery2/jni/filters/ |
D | contrast.c | 46 float m = (float)pow(2, bright/100.); in JNIFUNCF()
|
D | edge.c | 96 float ret = 1.0f - exp (- alpha * pow(mag, beta)); in JNIFUNCF()
|
/packages/modules/NetworkStack/src/com/android/server/connectivity/ipmemorystore/ |
D | RelevanceUtils.java | 224 return Math.pow(DECAY_FACTOR, value); in powF()
|
/packages/modules/IPsec/src/java/com/android/internal/net/eap/crypto/ |
D | Fips186_2Prf.java | 51 BigInteger exp_b = new BigInteger("2").pow(SEED_LEN_BYTES * 8); in getRandom()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | ViewAutoScroller.java | 126 return (float) Math.pow(ratio, 10); in smoothOutOfBoundsRatio()
|
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/ |
D | ColorChecker.java | 119 return Math.pow(((component + 0.055) / 1.055), 2.4); in convert8BitToLuminanceComponent()
|
/packages/apps/Dialer/java/com/android/incallui/answer/impl/classifier/ |
D | HistoryEvaluator.java | 78 float factor = (float) Math.pow(HISTORY_FACTOR, (time - lastUpdate) / INTERVAL); in decayValue()
|
/packages/apps/Car/libs/connected-device-lib/src/com/android/car/connecteddevice/util/ |
D | ByteUtils.java | 121 ThreadLocalRandom.current().nextInt((int) Math.pow(10, length))); in generateRandomNumberString()
|
/packages/apps/DeskClock/src/com/android/deskclock/uidata/ |
D | FormattedStringModel.kt | 107 valueCache = SparseArray(Math.pow(10.0, length.toDouble()).toInt()) in getFormattedNumber()
|
D | FormattedStringModel.java | 114 valueCache = new SparseArray<>((int) Math.pow(10, length)); in getFormattedNumber()
|
/packages/apps/Dialer/java/com/android/incallui/answer/impl/answermethod/ |
D | FlingUpDownMethod.java | 321 Math.pow(downEvent.getX() - puckCenterX, 2) + Math.pow(downEvent.getY() - puckCenterY, 2); in shouldUseFalsing() 322 return distSq >= Math.pow(radius, 2); in shouldUseFalsing()
|