Home
last modified time | relevance | path

Searched refs:i2 (Results 1 – 25 of 72) sorted by relevance

123

/frameworks/native/libs/gui/tests/
DWindowInfo_test.cpp36 WindowInfo i, i2; in TEST() local
42 i2.readFromParcel(&p); in TEST()
43 ASSERT_TRUE(i2.token == nullptr); in TEST()
78 WindowInfo i2; in TEST() local
79 i2.readFromParcel(&p); in TEST()
80 ASSERT_EQ(i.token, i2.token); in TEST()
81 ASSERT_EQ(i.windowToken, i2.windowToken); in TEST()
82 ASSERT_EQ(i.id, i2.id); in TEST()
83 ASSERT_EQ(i.name, i2.name); in TEST()
84 ASSERT_EQ(i.layoutParamsFlags, i2.layoutParamsFlags); in TEST()
[all …]
/frameworks/base/core/java/android/os/
DWorkSource.java622 int i1 = 0, i2 = 0; in removeUids() local
624 while (i1 < N1 && i2 < N2) { in removeUids()
625 if (DEBUG) Log.d(TAG, "Step: target @ " + i1 + " of " + N1 + ", other @ " + i2 in removeUids()
627 if (uids2[i2] == uids1[i1]) { in removeUids()
628 if (DEBUG) Log.d(TAG, "i1=" + i1 + " i2=" + i2 + " N1=" + N1 in removeUids()
633 i2++; in removeUids()
634 } else if (uids2[i2] > uids1[i1]) { in removeUids()
635 if (DEBUG) Log.d(TAG, "i1=" + i1 + " i2=" + i2 + " N1=" + N1 + ": skip i1"); in removeUids()
638 if (DEBUG) Log.d(TAG, "i1=" + i1 + " i2=" + i2 + " N1=" + N1 + ": skip i2"); in removeUids()
639 i2++; in removeUids()
[all …]
/frameworks/rs/
DrsCppUtils.h174 static inline uint16_t rsBoxFilter565(uint16_t i1, uint16_t i2, uint16_t i3, uint16_t i4) { in rsBoxFilter565() argument
175 uint32_t r = ((i1 & 0x1f) + (i2 & 0x1f) + (i3 & 0x1f) + (i4 & 0x1f)); in rsBoxFilter565()
176 uint32_t g = ((i1 >> 5) & 0x3f) + ((i2 >> 5) & 0x3f) + ((i3 >> 5) & 0x3f) + ((i4 >> 5) & 0x3f); in rsBoxFilter565()
177 uint32_t b = ((i1 >> 11) + (i2 >> 11) + (i3 >> 11) + (i4 >> 11)); in rsBoxFilter565()
181 static inline uint32_t rsBoxFilter8888(uint32_t i1, uint32_t i2, uint32_t i3, uint32_t i4) { in rsBoxFilter8888() argument
182 uint32_t r = (i1 & 0xff) + (i2 & 0xff) + (i3 & 0xff) + (i4 & 0xff); in rsBoxFilter8888()
183 … uint32_t g = ((i1 >> 8) & 0xff) + ((i2 >> 8) & 0xff) + ((i3 >> 8) & 0xff) + ((i4 >> 8) & 0xff); in rsBoxFilter8888()
184 …uint32_t b = ((i1 >> 16) & 0xff) + ((i2 >> 16) & 0xff) + ((i3 >> 16) & 0xff) + ((i4 >> 16) & 0xff); in rsBoxFilter8888()
185 …uint32_t a = ((i1 >> 24) & 0xff) + ((i2 >> 24) & 0xff) + ((i3 >> 24) & 0xff) + ((i4 >> 24) & 0xff); in rsBoxFilter8888()
/frameworks/layoutlib/create/tests/src/com/android/tools/layoutlib/create/
DDelegateClassAdapterTest.java113 Object i2 = clazz2.newInstance(); in testNoOp()
114 assertNotNull(i2); in testNoOp()
115 assertEquals(42, callAdd(i2, 20, 22)); in testNoOp()
118 callCallNativeInstance(i2, 10, 3.1415, new Object[0]); in testNoOp()
168 Object i2 = clazz2.newInstance(); in testConstructorAfterDelegate()
169 assertNotNull(i2); in testConstructorAfterDelegate()
170 assertEquals(123, clazz2.getField("mId").getInt(i2)); in testConstructorAfterDelegate()
203 Object i2 = clazz2.getConstructor(outerClazz2).newInstance(o2); in testInnerConstructorAfterDelegate()
204 assertNotNull(i2); in testInnerConstructorAfterDelegate()
205 assertEquals(98, clazz2.getField("mInnerId").getInt(i2)); in testInnerConstructorAfterDelegate()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/satellite/domain/interactor/
DDeviceBasedSatelliteInteractorTest.kt325 val i2 = iconsInteractor.getMobileConnectionInteractorForSubId(2) in areAllConnectionsOutOfService_twoConnectionsOos_nonNtn_noDeviceEmergencyCalls_yes() constant
333 i2.isInService.value = false in areAllConnectionsOutOfService_twoConnectionsOos_nonNtn_noDeviceEmergencyCalls_yes()
334 i2.isEmergencyOnly.value = false in areAllConnectionsOutOfService_twoConnectionsOos_nonNtn_noDeviceEmergencyCalls_yes()
335 i2.isNonTerrestrial.value = false in areAllConnectionsOutOfService_twoConnectionsOos_nonNtn_noDeviceEmergencyCalls_yes()
349 val i2 = iconsInteractor.getMobileConnectionInteractorForSubId(2) in areAllConnectionsOutOfService_twoConnectionsOos_nonNtn_deviceEmergencyCalls_no() constant
357 i2.isInService.value = false in areAllConnectionsOutOfService_twoConnectionsOos_nonNtn_deviceEmergencyCalls_no()
358 i2.isEmergencyOnly.value = false in areAllConnectionsOutOfService_twoConnectionsOos_nonNtn_deviceEmergencyCalls_no()
359 i2.isNonTerrestrial.value = false in areAllConnectionsOutOfService_twoConnectionsOos_nonNtn_deviceEmergencyCalls_no()
373 val i2 = iconsInteractor.getMobileConnectionInteractorForSubId(2) in areAllConnectionsOutOfService_twoConnectionsOos_noDeviceEmergencyCalls_oneNtn_no() constant
381 i2.isInService.value = false in areAllConnectionsOutOfService_twoConnectionsOos_noDeviceEmergencyCalls_oneNtn_no()
[all …]
/frameworks/av/media/module/codecs/amrnb/enc/src/
Dc3_14pf.cpp383 Word16 i2; in search_3i40() local
518 for (i2 = ipos[2]; i2 < L_CODE; i2 += STEP) in search_3i40()
522 ps1 = ps0 + dn[i2]; in search_3i40()
528 alp1 = alp0 + ((Word32) rr[i2][i2] << 12); in search_3i40()
532 alp1 += (Word32) rr[i1][i2] << 13; in search_3i40()
536 alp1 += (Word32) rr[i0][i2] << 13; in search_3i40()
555 ix = i2; in search_3i40()
558 i2 = ix; in search_3i40()
578 *(p_codvec) = i2; in search_3i40()
Dc4_17pf.cpp396 Word16 i2; in search_4i40() local
528 for (i2 = ipos[2]; i2 < L_CODE; i2 += STEP) in search_4i40()
532 ps1 = ps0 + dn[i2]; in search_4i40()
538 alp1 = alp0 + ((Word32) rr[i2][i2] << 12); in search_4i40()
542 alp1 += (Word32) rr[i1][i2] << 13; in search_4i40()
546 alp1 += (Word32) rr[i0][i2] << 13; in search_4i40()
565 ix = i2; in search_4i40()
568 i2 = ix; in search_4i40()
595 alp1 += (Word32) rr[i2][i3] << 13; /* idx incr = STEP */ in search_4i40()
643 *(p_codvec++) = i2; in search_4i40()
Ds10_8pf.cpp568 Word16 i0, i1, i2, i3, i4, i5, i6, i7, i9; in search_10and8i40() local
692 i2 = ia; in search_10and8i40()
710 s += (Word32) * (p_temp2 + i2); in search_10and8i40()
739 alp1 += (Word32) * (p_temp2 + i2) << 12; in search_10and8i40()
785 s += (Word32) rr[i2][i7]; in search_10and8i40()
818 alp1 += (Word32) * (p_temp2 + i2) << 11; in search_10and8i40()
876 s += (Word32) rr[i2][i9]; in search_10and8i40()
909 alp1 += (Word32) rr[i2][j] << 10; in search_10and8i40()
/frameworks/av/media/module/codecs/amrwb/enc/src/asm/ARMV5E/
Dresidu_asm_opt.s81 SMULTT r4, r5, r2 @i2(0) --- r4 = x[1] * a0
85 SMLABB r4, r5, r2, r4 @i2(1) --- r4 += x[0] * a1
96 SMLATT r4, r6, r2, r4 @i2(2) --- r4 += x[-1] * a2
101 SMLABB r4, r6, r2, r4 @ i2 (3)
107 SMLATT r4, r7, r2, r4 @ i2 (4)
111 SMLABB r4, r7, r2, r4 @ i2 (5)
117 SMLATT r4, r8, r2, r4 @ i2 (6)
121 SMLABB r4, r8, r2, r4 @ i2 (7)
128 SMLATT r4, r9, r2, r4 @ i2 (8)
132 SMLABB r4, r9, r2, r4 @ i2 (9)
[all …]
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dkernel_struct.rscript23 int i2;
36 out->i2 = 1;
45 s.i2 = in.i2 + x;
57 _RS_ASSERT(aout[i].i2 == (i + ain[i].i2));
DUT_instance.java76 int i2[] = new int[1]; in run() local
82 ai2.copyTo(i2); in run()
88 assertEquals(2, i2[0]); in run()
93 assertEquals(2, i2[0]); in run()
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Dkernel_struct.rscript25 int i2;
38 out->i2 = 1;
47 s.i2 = in.i2 + x;
59 _RS_ASSERT(aout[i].i2 == (i + ain[i].i2));
DUT_instance.java78 int i2[] = new int[1]; in run() local
84 ai2.copyTo(i2); in run()
90 assertEquals(2, i2[0]); in run()
95 assertEquals(2, i2[0]); in run()
Dapitest.rscript65 volatile int2 i2;
254 i2 = rsGetElementAt_int2(aInt2, 0);
255 rsSetElementAt_int2(aInt2, i2, 0);
256 i2 = rsGetElementAt_int2(aInt2, 0, 0);
257 rsSetElementAt_int2(aInt2, i2, 0, 0);
258 i2 = rsGetElementAt_int2(aInt2, 0, 0, 0);
259 rsSetElementAt_int2(aInt2, i2, 0, 0, 0);
440 c2 = convert_char2(i2);
462 uc2 = convert_uchar2(i2);
484 s2 = convert_short2(i2);
[all …]
Dforeach_multi.rscript24 uint32_t i2;
66 retval.i2 = in0 + in1;
165 _RS_ASSERT(result->i2 == sum);
/frameworks/base/libs/hwui/
DInterpolator.cpp145 int i2 = std::min(i1 + 1, (int)mSize - 1); in interpolate() local
148 i1 < 0 || i2 < 0, in interpolate()
151 i1, i2, input, lutpos, mSize, mValues.get(), ipart, weight); in interpolate()
154 float v2 = mValues[i2]; in interpolate()
/frameworks/wilhelm/src/
DThreadPool.h29 typedef void (*ClosureHandler_generic)(void *p1, void *p2, void *p3, int i1, int i2);
31 typedef void (*ClosureHandler_ppii) (void *p1, void *p2, int i1, int i2);
32 typedef void (*ClosureHandler_piipp) (void *p1, int i1, int i2, void *p2, void *p3);
Dsles_allinclusive.h461 #define EnqueueAsyncCallback_ppii(object, handler, p1, p2, i1, i2) \ argument
463 (ClosureHandler_ppii) (handler), (p1), (p2), (i1), (i2))
464 #define EnqueueAsyncCallback_piipp(object, handler, p1, i1, i2, p2, p3) \ argument
466 (ClosureHandler_piipp) (handler), (p1), (i1), (i2), (p2), (p3))
/frameworks/compile/slang/tests/P_math_fp/
Dmath_fp.rscript5 int2 i2;
22 i2 = fnc(f2); \
40 f2 = fnc(f2, &i2); \
58 f2 = fnc(f2, i2); \
70 f2 = fnc(f2, f2, &i2); \
/frameworks/rs/tests/java_api/RSUnitTests/supportlibonlysrc/com/android/rs/unittest/
Dapitest.rscript63 volatile int2 i2;
252 i2 = rsGetElementAt_int2(aInt2, 0);
253 rsSetElementAt_int2(aInt2, i2, 0);
254 i2 = rsGetElementAt_int2(aInt2, 0, 0);
255 rsSetElementAt_int2(aInt2, i2, 0, 0);
256 i2 = rsGetElementAt_int2(aInt2, 0, 0, 0);
257 rsSetElementAt_int2(aInt2, i2, 0, 0, 0);
438 c2 = convert_char2(i2);
460 uc2 = convert_uchar2(i2);
482 s2 = convert_short2(i2);
[all …]
/frameworks/compile/slang/tests/P_kernel_cpp/
Dkernel_cpp.rscript5 //int2 i2;
10 int2 i2 = 2;
/frameworks/base/location/java/android/location/altitude/
DAltitudeConverter.java100 int i2 = i1 + sizeIj; in findMapSquare() local
104 if (i2 < maxIj && j2 < maxIj) { in findMapSquare()
105 return new long[]{z11, S2CellIdUtils.getParent(S2CellIdUtils.fromFij(f11, i2, j1), in findMapSquare()
108 S2CellIdUtils.getParent(S2CellIdUtils.fromFij(f11, i2, j2), in findMapSquare()
129 long z21 = (f11 % 2 == 1 && i2 >= maxIj) ? z11Sw : z11S; in findMapSquare()
/frameworks/base/core/java/android/widget/
DTextInputTimePickerView.java92 public void beforeTextChanged(CharSequence charSequence, int i, int i1, int i2) {} in TextInputTimePickerView()
95 public void onTextChanged(CharSequence charSequence, int i, int i1, int i2) {} in TextInputTimePickerView()
111 public void beforeTextChanged(CharSequence charSequence, int i, int i1, int i2) {} in TextInputTimePickerView()
114 public void onTextChanged(CharSequence charSequence, int i, int i1, int i2) {} in TextInputTimePickerView()
/frameworks/av/media/libnblog/
DMerger.cpp71 bool operator>(const struct MergeItem &i1, const struct MergeItem &i2) in operator >() argument
73 return i1.ts > i2.ts || (i1.ts == i2.ts && i1.index > i2.index); in operator >()
/frameworks/compile/slang/tests/F_global_init/
Dglobal_init.rscript6 int2 i2 = {3, 4};

123