Searched defs:round (Results 1 - 11 of 11) sorted by relevance

/frameworks/base/core/java/com/android/internal/util/
H A DFastMath.java25 * Fast round from float to int. This is faster than Math.round()
29 public static int round(float value) { method in class:FastMath
/frameworks/av/media/libeffects/loudness/common/core/
H A Dmath.h78 // since std::round is missing on android.
81 inline T round(const T &x) { function in namespace:std
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Ddct.cpp42 Int round; local
53 round = 1 << (FDCT_SHIFT - 1);
118 k1 = mla724(k12, k5, round);
119 k0 = mla724(k12, k2, round);
136 k1 = mla392(k0, k14, round);
213 k1 = mla724(k12, k5, round);
214 k0 = mla724(k12, k2, round);
231 k1 = mla392(k0, k14, round);
271 Int round; local
282 round
477 Int round; local
656 Int round; local
867 Int round; local
1054 Int round; local
[all...]
H A Ddct_inline.h38 __inline int32 mla392(int32 k0, int32 k14, int32 round) argument
44 k1 = k0 * 392 + round;
123 __inline int32 mla392(int32 k0, int32 k14, int32 round) argument
129 smlabt k1, k0, k14, round
187 __inline int32 mla392(int32 k0, int32 k14, int32 round) argument
194 mla k1, k0, k1, round
285 __inline int32 mla392(int32 k0, int32 k14, int32 round) argument
290 register int32 cc = (int32)round;
H A Dfastquant_inline.h30 __inline int32 aan_scale(int32 q_value, int32 coeff, int32 round, int32 QPdiv2) argument
32 q_value = coeff * q_value + round;
83 __inline int32 smlabb(int32 q_value, int32 coeff, int32 round) argument
85 q_value = coeff * q_value + round;
174 int32 round, int32 QPdiv2)
178 smlabb q_value, coeff, q_value, round
221 __inline int32 smlabb(int32 q_value, int32 coeff, int32 round) argument
225 smlabb q_value, coeff, q_value, round
269 int32 round, int32 QPdiv2)
273 mla q_value, coeff, q_value, round
173 aan_scale(int32 q_value, int32 coeff, int32 round, int32 QPdiv2) argument
268 aan_scale(int32 q_value, int32 coeff, int32 round, int32 QPdiv2) argument
317 smlabb(int32 q_value, int32 coeff, int32 round) argument
428 aan_scale(int32 q_value, int32 coeff, int32 round, int32 QPdiv2) argument
510 smlabb(int32 q_value, int32 coeff, int32 round) argument
[all...]
H A Dfastquant.cpp159 Int round = 1 << 15; local
224 coeff = aan_scale(q_value, coeff, round, QPdiv2);
278 Int round = 1 << 15; local
326 q_value = round + (coeff << 12);
383 q_value = smlabb(q_value, coeff, round);
553 Int round = 1 << 15; local
583 q_value = smlabb(q_value, coeff, round);
682 Int round = 1 << 15; local
708 q_value = round + (coeff << 12);
754 /* q_value = coeff*q_value + round */
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DRectF.java442 public void round(Rect dst) { method in class:RectF
443 dst.set(FastMath.round(left), FastMath.round(top),
444 FastMath.round(right), FastMath.round(bottom));
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
H A DUtils.java115 /** Formats a double from 0.0..100.0 with an option to round **/
116 public static String formatPercentage(double percentage, boolean round) { argument
117 final int localPercentage = round ? Math.round((float) percentage) : (int) percentage;
/frameworks/base/core/java/android/util/
H A DHalf.java546 public static @HalfFloat short round(@HalfFloat short h) { method in class:Half
/frameworks/rs/driver/runtime/
H A Drs_cl.c710 float __attribute__((overloadable)) round(float v) { function
713 FN_FUNC_FN(round)
2137 HN_FUNC_HN(round); variable
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 234 milliseconds