Home
last modified time | relevance | path

Searched refs:a (Results 1 – 25 of 3229) sorted by relevance

12345678910>>...130

/frameworks/base/rs/java/android/renderscript/
DInt4.java62 public void add(Int4 a) { in add() argument
63 this.x += a.x; in add()
64 this.y += a.y; in add()
65 this.z += a.z; in add()
66 this.w += a.w; in add()
76 public static Int4 add(Int4 a, Int4 b) { in add() argument
78 result.x = a.x + b.x; in add()
79 result.y = a.y + b.y; in add()
80 result.z = a.z + b.z; in add()
81 result.w = a.w + b.w; in add()
[all …]
DShort4.java62 public void add(Short4 a) { in add() argument
63 this.x += a.x; in add()
64 this.y += a.y; in add()
65 this.z += a.z; in add()
66 this.w += a.w; in add()
76 public static Short4 add(Short4 a, Short4 b) { in add() argument
78 result.x = (short)(a.x + b.x); in add()
79 result.y = (short)(a.y + b.y); in add()
80 result.z = (short)(a.z + b.z); in add()
81 result.w = (short)(a.w + b.w); in add()
[all …]
DLong4.java62 public void add(Long4 a) { in add() argument
63 this.x += a.x; in add()
64 this.y += a.y; in add()
65 this.z += a.z; in add()
66 this.w += a.w; in add()
76 public static Long4 add(Long4 a, Long4 b) { in add() argument
78 result.x = a.x + b.x; in add()
79 result.y = a.y + b.y; in add()
80 result.z = a.z + b.z; in add()
81 result.w = a.w + b.w; in add()
[all …]
DByte4.java56 public void add(Byte4 a) { in add() argument
57 this.x += a.x; in add()
58 this.y += a.y; in add()
59 this.z += a.z; in add()
60 this.w += a.w; in add()
70 public static Byte4 add(Byte4 a, Byte4 b) { in add() argument
72 result.x = (byte)(a.x + b.x); in add()
73 result.y = (byte)(a.y + b.y); in add()
74 result.z = (byte)(a.z + b.z); in add()
75 result.w = (byte)(a.w + b.w); in add()
[all …]
DShort3.java59 public void add(Short3 a) { in add() argument
60 this.x += a.x; in add()
61 this.y += a.y; in add()
62 this.z += a.z; in add()
72 public static Short3 add(Short3 a, Short3 b) { in add() argument
74 result.x = (short)(a.x + b.x); in add()
75 result.y = (short)(a.y + b.y); in add()
76 result.z = (short)(a.z + b.z); in add()
99 public static Short3 add(Short3 a, short b) { in add() argument
101 result.x = (short)(a.x + b); in add()
[all …]
DInt3.java59 public void add(Int3 a) { in add() argument
60 this.x += a.x; in add()
61 this.y += a.y; in add()
62 this.z += a.z; in add()
72 public static Int3 add(Int3 a, Int3 b) { in add() argument
74 result.x = a.x + b.x; in add()
75 result.y = a.y + b.y; in add()
76 result.z = a.z + b.z; in add()
99 public static Int3 add(Int3 a, int b) { in add() argument
101 result.x = a.x + b; in add()
[all …]
DLong3.java59 public void add(Long3 a) { in add() argument
60 this.x += a.x; in add()
61 this.y += a.y; in add()
62 this.z += a.z; in add()
72 public static Long3 add(Long3 a, Long3 b) { in add() argument
74 result.x = a.x + b.x; in add()
75 result.y = a.y + b.y; in add()
76 result.z = a.z + b.z; in add()
99 public static Long3 add(Long3 a, long b) { in add() argument
101 result.x = a.x + b; in add()
[all …]
DByte3.java54 public void add(Byte3 a) { in add() argument
55 this.x += a.x; in add()
56 this.y += a.y; in add()
57 this.z += a.z; in add()
67 public static Byte3 add(Byte3 a, Byte3 b) { in add() argument
69 result.x = (byte)(a.x + b.x); in add()
70 result.y = (byte)(a.y + b.y); in add()
71 result.z = (byte)(a.z + b.z); in add()
94 public static Byte3 add(Byte3 a, byte b) { in add() argument
96 result.x = (byte)(a.x + b); in add()
[all …]
DInt2.java56 public void add(Int2 a) { in add() argument
57 this.x += a.x; in add()
58 this.y += a.y; in add()
68 public static Int2 add(Int2 a, Int2 b) { in add() argument
70 result.x = a.x + b.x; in add()
71 result.y = a.y + b.y; in add()
93 public static Int2 add(Int2 a, int b) { in add() argument
95 result.x = a.x + b; in add()
96 result.y = a.y + b; in add()
106 public void sub(Int2 a) { in sub() argument
[all …]
DLong2.java56 public void add(Long2 a) { in add() argument
57 this.x += a.x; in add()
58 this.y += a.y; in add()
68 public static Long2 add(Long2 a, Long2 b) { in add() argument
70 result.x = a.x + b.x; in add()
71 result.y = a.y + b.y; in add()
93 public static Long2 add(Long2 a, long b) { in add() argument
95 result.x = a.x + b; in add()
96 result.y = a.y + b; in add()
106 public void sub(Long2 a) { in sub() argument
[all …]
DShort2.java59 public void add(Short2 a) { in add() argument
60 this.x += a.x; in add()
61 this.y += a.y; in add()
71 public static Short2 add(Short2 a, Short2 b) { in add() argument
73 result.x = (short)(a.x + b.x); in add()
74 result.y = (short)(a.y + b.y); in add()
96 public static Short2 add(Short2 a, short b) { in add() argument
98 result.x = (short)(a.x + b); in add()
99 result.y = (short)(a.y + b); in add()
109 public void sub(Short2 a) { in sub() argument
[all …]
DByte2.java51 public void add(Byte2 a) { in add() argument
52 this.x += a.x; in add()
53 this.y += a.y; in add()
63 public static Byte2 add(Byte2 a, Byte2 b) { in add() argument
65 result.x = (byte)(a.x + b.x); in add()
66 result.y = (byte)(a.y + b.y); in add()
88 public static Byte2 add(Byte2 a, byte b) { in add() argument
90 result.x = (byte)(a.x + b); in add()
91 result.y = (byte)(a.y + b); in add()
101 public void sub(Byte2 a) { in sub() argument
[all …]
DDouble4.java58 public static Double4 add(Double4 a, Double4 b) { in add() argument
60 res.x = a.x + b.x; in add()
61 res.y = a.y + b.y; in add()
62 res.z = a.z + b.z; in add()
63 res.w = a.w + b.w; in add()
99 public static Double4 add(Double4 a, double b) { in add() argument
101 res.x = a.x + b; in add()
102 res.y = a.y + b; in add()
103 res.z = a.z + b; in add()
104 res.w = a.w + b; in add()
[all …]
DFloat4.java58 public static Float4 add(Float4 a, Float4 b) { in add() argument
60 res.x = a.x + b.x; in add()
61 res.y = a.y + b.y; in add()
62 res.z = a.z + b.z; in add()
63 res.w = a.w + b.w; in add()
99 public static Float4 add(Float4 a, float b) { in add() argument
101 res.x = a.x + b; in add()
102 res.y = a.y + b; in add()
103 res.z = a.z + b; in add()
104 res.w = a.w + b; in add()
[all …]
DDouble3.java55 public static Double3 add(Double3 a, Double3 b) { in add() argument
57 res.x = a.x + b.x; in add()
58 res.y = a.y + b.y; in add()
59 res.z = a.z + b.z; in add()
93 public static Double3 add(Double3 a, double b) { in add() argument
95 res.x = a.x + b; in add()
96 res.y = a.y + b; in add()
97 res.z = a.z + b; in add()
120 public static Double3 sub(Double3 a, Double3 b) { in sub() argument
122 res.x = a.x - b.x; in sub()
[all …]
DFloat3.java55 public static Float3 add(Float3 a, Float3 b) { in add() argument
57 res.x = a.x + b.x; in add()
58 res.y = a.y + b.y; in add()
59 res.z = a.z + b.z; in add()
93 public static Float3 add(Float3 a, float b) { in add() argument
95 res.x = a.x + b; in add()
96 res.y = a.y + b; in add()
97 res.z = a.z + b; in add()
120 public static Float3 sub(Float3 a, Float3 b) { in sub() argument
122 res.x = a.x - b.x; in sub()
[all …]
DDouble2.java53 public static Double2 add(Double2 a, Double2 b) { in add() argument
55 res.x = a.x + b.x; in add()
56 res.y = a.y + b.y; in add()
88 public static Double2 add(Double2 a, double b) { in add() argument
90 res.x = a.x + b; in add()
91 res.y = a.y + b; in add()
113 public static Double2 sub(Double2 a, Double2 b) { in sub() argument
115 res.x = a.x - b.x; in sub()
116 res.y = a.y - b.y; in sub()
138 public static Double2 sub(Double2 a, double b) { in sub() argument
[all …]
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
DVectorUtil.java23 public static void sub(double[] a, double[] b, double[] out) { in sub() argument
24 out[0] = a[0] - b[0]; in sub()
25 out[1] = a[1] - b[1]; in sub()
26 out[2] = a[2] - b[2]; in sub()
29 public static void mult(double[] a, double b, double[] out) { in mult() argument
30 out[0] = a[0] * b; in mult()
31 out[1] = a[1] * b; in mult()
32 out[2] = a[2] * b; in mult()
35 public static double dot(double[] a, double[] b) { in dot() argument
36 return a[0] * b[0] + a[1] * b[1] + a[2] * b[2]; in dot()
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DDescendantFocusabilityTest.java29 private DescendantFocusability a; field in DescendantFocusabilityTest
38 a = getActivity(); in setUp()
45 a.beforeDescendants.getDescendantFocusability()); in testPreconditions()
47 a.afterDescendants.getDescendantFocusability()); in testPreconditions()
49 a.blocksDescendants.getDescendantFocusability()); in testPreconditions()
51 assertTrue(a.beforeDescendantsChild.isFocusable()); in testPreconditions()
52 assertTrue(a.afterDescendantsChild.isFocusable()); in testPreconditions()
53 assertTrue(a.blocksDescendantsChild.isFocusable()); in testPreconditions()
59 a.beforeDescendants.setFocusable(true); in testBeforeDescendants()
61 assertTrue(a.beforeDescendants.requestFocus()); in testBeforeDescendants()
[all …]
/frameworks/base/core/java/android/util/
DMathUtils.java53 public static float log(float a) { in log() argument
54 return (float) Math.log(a); in log()
57 public static float exp(float a) { in exp() argument
58 return (float) Math.exp(a); in exp()
61 public static float pow(float a, float b) { in pow() argument
62 return (float) Math.pow(a, b); in pow()
65 public static float sqrt(float a) { in sqrt() argument
66 return (float) Math.sqrt(a); in sqrt()
69 public static float max(float a, float b) { in max() argument
70 return a > b ? a : b; in max()
[all …]
/frameworks/base/core/tests/utiltests/src/android/util/
DIntArrayTest.java34 IntArray a = new IntArray(); in testIntArray() local
35 a.add(1); in testIntArray()
36 a.add(2); in testIntArray()
37 a.add(3); in testIntArray()
38 verify(new int[]{1, 2, 3}, a); in testIntArray()
41 a.addAll(b); in testIntArray()
42 verify(new int[]{1, 2, 3, 4, 5, 6}, a); in testIntArray()
44 a.resize(2); in testIntArray()
45 verify(new int[]{1, 2}, a); in testIntArray()
47 a.resize(8); in testIntArray()
[all …]
DLongArrayTest.java34 LongArray a = new LongArray(); in testLongArray() local
35 a.add(1); in testLongArray()
36 a.add(2); in testLongArray()
37 a.add(3); in testLongArray()
38 verify(new long[]{1, 2, 3}, a); in testLongArray()
41 a.addAll(b); in testLongArray()
42 verify(new long[]{1, 2, 3, 4, 5, 6}, a); in testLongArray()
44 a.resize(2); in testLongArray()
45 verify(new long[]{1, 2}, a); in testLongArray()
47 a.resize(8); in testLongArray()
[all …]
/frameworks/av/media/codecs/amrwb/enc/src/asm/ARMV5E/
Dsyn_filt_opt.s18 @ Word16 a[], /* (i) Q12 : a[m+1] prediction coefficients */
24 @ a[] --- r0
83 LDRSH r5, [r0] @ load a[0]
85 MOV r5, r5, ASR #1 @ a0 = a[0] >> 1
87 @ load all a[]
90 LDRSH r6, [r0, #2] @ load a[1]
91 LDRSH r7, [r0, #4] @ load a[2]
92 LDRSH r9, [r0, #6] @ load a[3]
93 LDRSH r11,[r0, #8] @ load a[4]
96 ORR r10, r6, r7, LSL #16 @ -a[2] -- -a[1]
[all …]
/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/
DMetricsHelper.java60 alarmStore.getCount(a -> a.windowLength == 0), in registerPuller()
61 alarmStore.getCount(a -> a.wakeup), in registerPuller()
63 a -> (a.flags & AlarmManager.FLAG_ALLOW_WHILE_IDLE) != 0), in registerPuller()
65 a -> (a.flags & AlarmManager.FLAG_PRIORITIZE) != 0), in registerPuller()
66 alarmStore.getCount(a -> (a.operation != null in registerPuller()
67 && a.operation.isForegroundService())), in registerPuller()
69 a -> (a.operation != null && a.operation.isActivity())), in registerPuller()
71 a -> (a.operation != null && a.operation.isService())), in registerPuller()
72 alarmStore.getCount(a -> (a.listener != null)), in registerPuller()
74 a -> (a.getRequestedElapsed() > now + INDEFINITE_DELAY)), in registerPuller()
[all …]
/frameworks/av/media/codecs/mp3dec/src/
Dpv_mp3dec_fxd_op_msc_evc.h57 __inline int32 fxp_mul32_Q30(const int32 a, const int32 b) in fxp_mul32_Q30() argument
59 return (int32)(((int64)(a) * b) >> 30); in fxp_mul32_Q30()
63 __inline int32 fxp_mac32_Q30(const int32 a, const int32 b, int32 L_add) in fxp_mac32_Q30() argument
65 return (L_add + (int32)(((int64)(a) * b) >> 30)); in fxp_mac32_Q30()
69 #define Qfmt_31(a) (int32)(a*0x7FFFFFFF + (a>=0?0.5F:-0.5F)) argument
73 #define fxp_mul32_Q32( a, b) _MulHigh( b, a) argument
77 __inline int32 fxp_mul32_Q28(const int32 a, const int32 b) in fxp_mul32_Q28() argument
79 return (int32)(((int64)(a) * b) >> 28); in fxp_mul32_Q28()
83 __inline int32 fxp_mul32_Q27(const int32 a, const int32 b) in fxp_mul32_Q27() argument
85 return (int32)(((int64)(a) * b) >> 27); in fxp_mul32_Q27()
[all …]

12345678910>>...130