/aosp12/system/bt/embdrv/sbc/decoder/srce/ |
H A D | synthesis-dct8.c | 50 #ifndef SCALE 51 #define SCALE(x, y) (((x) + (1 << ((y)-1))) >> (y)) macro 263 in0 = SCALE(in[0], DCTII_8_SHIFT_IN); in dct2_8() 264 in1 = SCALE(in[1], DCTII_8_SHIFT_IN); in dct2_8() 265 in2 = SCALE(in[2], DCTII_8_SHIFT_IN); in dct2_8() 266 in3 = SCALE(in[3], DCTII_8_SHIFT_IN); in dct2_8() 267 in4 = SCALE(in[4], DCTII_8_SHIFT_IN); in dct2_8() 268 in5 = SCALE(in[5], DCTII_8_SHIFT_IN); in dct2_8() 269 in6 = SCALE(in[6], DCTII_8_SHIFT_IN); in dct2_8() 270 in7 = SCALE(in[7], DCTII_8_SHIFT_IN); in dct2_8() [all …]
|
H A D | dequant.c | 125 #ifndef SCALE 126 #define SCALE(x, y) (((x) + (1 << ((y)-1))) >> (y)) macro 203 return SCALE(result, 24 - scale_factor); in OI_SBC_Dequant_Unscaled() 210 return SCALE(result, 24 - scale_factor); in OI_SBC_Dequant_Unscaled()
|
H A D | synthesis-sbc.c | 202 #ifndef SCALE 203 #define SCALE(x, y) (((x) + (1 << ((y)-1))) >> (y)) macro 455 pa = SCALE(-pa, 15); in SynthWindow40_int32_int32_symmetry_with_sum() 479 pa = SCALE(-pa, 15); in SynthWindow40_int32_int32_symmetry_with_sum() 482 pb = SCALE(-pb, 15); in SynthWindow40_int32_int32_symmetry_with_sum() 496 pa = SCALE(-pa, 15); in SynthWindow40_int32_int32_symmetry_with_sum() 538 y0 = -SCALE(f1 + f3, DCT_SHIFT); in cosineModulateSynth4() 539 y2 = -SCALE(LONG_MULT_DCT(DCTII_4_K06_FIX, f4), DCT_SHIFT); in cosineModulateSynth4() 544 y3 = -SCALE(f8 + f9, DCT_SHIFT); in cosineModulateSynth4() 545 y1 = -SCALE(f10 - f9, DCT_SHIFT); in cosineModulateSynth4()
|
/aosp12/frameworks/base/libs/hwui/pipeline/skia/ |
H A D | AnimatedDrawables.h | 88 const float CIRCLE_X_1 = 0.01 * cos(SCALE * 0.55); in draw() 89 const float CIRCLE_Y_1 = 0.01 * sin(SCALE * 0.55); in draw() 90 const float CIRCLE_X_2 = -0.0066 * cos(SCALE * 0.45); in draw() 91 const float CIRCLE_Y_2 = -0.0066 * sin(SCALE * 0.45); in draw() 92 const float CIRCLE_X_3 = -0.0066 * cos(SCALE * 0.35); in draw() 93 const float CIRCLE_Y_3 = -0.0066 * sin(SCALE * 0.35); in draw() 101 SCALE * 0.5 + (turbulencePhase * CIRCLE_Y_1)); in draw() 103 SCALE * 0.2 + (turbulencePhase * CIRCLE_Y_2)); in draw() 104 setUniform2f(effectBuilder, "in_tCircle3", SCALE + (turbulencePhase * CIRCLE_X_3), in draw() 105 SCALE + (turbulencePhase * CIRCLE_Y_3)); in draw() [all …]
|
/aosp12/frameworks/av/media/codecs/amrwb/enc/inc/ |
H A D | wb_vad_c.h | 31 #define SCALE 128 /* (UNITY*UNITY)/512 */ macro 57 #define THR_MIN (Word16)(1.6*SCALE) /* Minimum threshold */ 58 #define THR_HIGH (Word16)(6*SCALE) /* Highest threshold */ 59 #define THR_LOW (Word16)(1.7*SCALE) /* Lowest threshold */ 64 #define SP_CH_MIN (Word16)(-0.75*SCALE) 65 #define SP_CH_MAX (Word16)(0.75*SCALE) 74 #define HANG_P2 (Word16)(4*SCALE) /* threshold for shortest hangover */
|
/aosp12/packages/services/Car/tools/perf/app-launch-test/ |
H A D | app_launch_perf_test.sh | 22 readonly SCALE=9 42 sum=$(echo "scale=${SCALE};${sum} + ${val}" | bc) 45 mean=$(echo "scale=${SCALE};${sum} / ${count}" | bc) 49 diff_sqrd_sum=$(echo "scale=${SCALE};${diff_sqrd_sum} + (${mean} - ${val}) ^ 2" | bc) 51 stddev=$(echo "scale=${SCALE};sqrt(${diff_sqrd_sum} / ${count})" | bc)
|
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
H A D | AnimatorControllerWithResistance.java | 138 public static <SCALE, TRANSLATION> AnimatorControllerWithResistance createForRecents( in createForRecents() 140 RecentsOrientedState recentsOrientedState, DeviceProfile dp, SCALE scaleTarget, in createForRecents() 141 FloatProperty<SCALE> scaleProperty, TRANSLATION translationTarget, in createForRecents() 156 public static <SCALE, TRANSLATION> PendingAnimation createRecentsResistanceAnim( in createRecentsResistanceAnim() 157 RecentsParams<SCALE, TRANSLATION> params) { in createRecentsResistanceAnim() argument 232 private static class RecentsParams<SCALE, TRANSLATION> { 237 public final SCALE scaleTarget; 238 public final FloatProperty<SCALE> scaleProperty; 249 DeviceProfile dp, SCALE scaleTarget, FloatProperty<SCALE> scaleProperty, in RecentsParams()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | SlashDrawable.java | 50 private static final float SCALE = 24f; field in SlashDrawable 53 private static final float LEFT = (CENTER_X - (SLASH_WIDTH / 2)) / SCALE; 54 private static final float TOP = (CENTER_Y - (SLASH_HEIGHT / 2)) / SCALE; 55 private static final float RIGHT = (CENTER_X + (SLASH_WIDTH / 2)) / SCALE; 125 final float end = mSlashed ? SLASH_HEIGHT / SCALE : 0f; in setSlashed() 126 final float start = mSlashed ? 0f : SLASH_HEIGHT / SCALE; in setSlashed()
|
/aosp12/frameworks/native/libs/ui/ |
H A D | Transform.cpp | 188 H.mType = (FLIP_H << 8) | SCALE; in set() 196 V.mType = (FLIP_V << 8) | SCALE; in set() 356 mType ^= SCALE; in type() 358 mType ^= SCALE; in type() 360 mType |= SCALE; in type() 421 return (!preserveRects() || getType() >= ui::Transform::SCALE); in needsBilinearFiltering() 485 if (transform & Transform::SCALE) out.append("SCALE "); in transformToString()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | DessertCaseView.java | 121 public static final float SCALE = 0.25f; // natural display size will be SCALE*mCellSize field in DessertCaseView 259 setScaleX(SCALE); in onSizeChanged() 260 setScaleY(SCALE); in onSizeChanged() 261 setTranslationX(0.5f * (mWidth - mCellSize * mColumns) * SCALE); in onSizeChanged() 262 setTranslationY(0.5f * (mHeight - mCellSize * mRows) * SCALE); in onSizeChanged() 530 final int w2 = (int) (w / mView.SCALE / 2); 531 final int h2 = (int) (h / mView.SCALE / 2);
|
/aosp12/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/ |
H A D | FastBitmapDrawable.java | 62 private static final Property<FastBitmapDrawable, Float> SCALE field in FastBitmapDrawable 223 mScaleAnimation = ObjectAnimator.ofFloat(this, SCALE, PRESSED_SCALE); in onStateChange() 229 mScaleAnimation = ObjectAnimator.ofFloat(this, SCALE, 1f); in onStateChange()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
H A D | UdfpsEnrollHelper.java | 43 private static final float SCALE = 0.5f; field in UdfpsEnrollHelper 211 float scale = SCALE; in getNextGuidedEnrollmentPoint() 214 SCALE_OVERRIDE, SCALE, in getNextGuidedEnrollmentPoint()
|
/aosp12/frameworks/av/aidl/android/media/ |
H A D | VolumeShaperConfigurationType.aidl | 21 SCALE, enumConstant
|
/aosp12/frameworks/base/telephony/java/android/telephony/ |
H A D | CbGeoUtils.java | 161 private static final double SCALE = 1000.0; field in CbGeoUtils.Polygon 270 return new Point(x * SCALE, y * SCALE); in convertAndScaleLatLng()
|
/aosp12/frameworks/native/services/surfaceflinger/ |
H A D | LayerProtoHelper.cpp | 109 if (type & (ui::Transform::SCALE | ui::Transform::UNKNOWN)) { in writeToProtoDeprecated() 125 if (type & (ui::Transform::SCALE | ui::Transform::UNKNOWN)) { in writeTransformToProto()
|
/aosp12/frameworks/native/libs/ui/include/ui/ |
H A D | Transform.h | 59 SCALE = 0x4, enumerator
|
/aosp12/frameworks/native/libs/ui/include_vndk/ui/ |
H A D | Transform.h | 59 SCALE = 0x4, enumerator
|
/aosp12/frameworks/native/include/ui/ |
H A D | Transform.h | 59 SCALE = 0x4, enumerator
|
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
H A D | ImageShow.java | 115 SCALE, enumConstant 621 if (mInteractionMode == InteractionMode.SCALE) { in onTouchEvent() 959 mInteractionMode = InteractionMode.SCALE;
|
/aosp12/bionic/libc/arch-x86/silvermont/string/ |
H A D | sse4-memcmp-slm.S | 107 # define BRANCH_TO_JMPTBL_ENTRY(TABLE, INDEX, SCALE) \ argument 114 addl (%ebx,INDEX,SCALE), %ebx; \ 123 # define BRANCH_TO_JMPTBL_ENTRY(TABLE, INDEX, SCALE) \ argument 124 jmp *TABLE(,INDEX,SCALE)
|
H A D | sse2-strcpy-slm.S | 112 # define BRANCH_TO_JMPTBL_ENTRY(TABLE, INDEX, SCALE) \ argument 119 addl (%ecx,INDEX,SCALE), %ecx; \ 129 # define BRANCH_TO_JMPTBL_ENTRY(TABLE, INDEX, SCALE) \ argument 130 jmp *TABLE(,INDEX,SCALE)
|
/aosp12/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/ |
H A D | CbGeoUtils.java | 157 private static final double SCALE = 1000.0 * 100.0; field in CbGeoUtils
|
/aosp12/frameworks/av/include/media/ |
H A D | VolumeShaper.h | 376 case VolumeShaperConfigurationType::SCALE: in setTypeFromAidl() 388 return VolumeShaperConfigurationType::SCALE; in getTypeAsAidl()
|
/aosp12/frameworks/base/media/java/android/media/ |
H A D | VolumeShaper.java | 602 case VolumeShaperConfigurationType.SCALE: in typeFromAidl() 615 return VolumeShaperConfigurationType.SCALE; in typeToAidl()
|
/aosp12/frameworks/base/services/core/java/com/android/server/vibrator/ |
H A D | Vibration.java | 392 proto.write(PrimitiveSegmentProto.SCALE, segment.getScale()); in dumpEffect()
|