Home
last modified time | relevance | path

Searched refs:h2 (Results 1 – 21 of 21) sorted by relevance

/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dmath_fp16.rs20 static volatile half2 h2;
31 h2 = fn(h2); \
37 i2 = fn(h2); \
43 h2 = fn(h2, h2); \
49 h2 = fn(h2, i2); \
55 h2 = fn(h2, (int2 *) &i2); \
61 h2 = fn(h2, i1); \
67 h2 = fn(h2, h1); \
73 h2 = fn(h1, h2); \
79 h2 = fn(h2, (half2 *) &h2); \
[all …]
Dfp16_globals.rs30 void validateHalf2(half2 h2) {
31 _RS_ASSERT_EQU((float) h2.x, 10.f);
32 _RS_ASSERT_EQU((float) h2.y, 11.f);
48 void test(half h, half2 h2, half3 h3, half4 h4) {
55 validateHalf2(h2);
/frameworks/base/core/tests/coretests/src/android/os/
DBroadcasterTest.java132 Handler h2; in test4()
137 h2 = new H(); in test4()
140 b.request(MESSAGE_B, h2, MESSAGE_D); in test4()
167 Handler h2; in test5()
172 h2 = new H(); in test5()
175 b.request(MESSAGE_B, h2, MESSAGE_D); in test5()
184 if (msg.what == MESSAGE_D && msg.getTarget() == h2) { in test5()
202 Handler h2; in test6()
207 h2 = new H(); in test6()
210 b.request(MESSAGE_A, h2, MESSAGE_D); in test6()
[all …]
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
Dcor_h.cpp278 Word16 h2[L_CODE]; in cor_h() local
316 p_h2 = h2; in cor_h()
343 p_h2 = h2; in cor_h()
355 p_h2 = h2; in cor_h()
387 p_h2 = h2; in cor_h()
388 p_h = &h2[dec]; in cor_h()
/frameworks/native/libs/ui/tests/
DBufferHubMetadata_test.cpp43 unique_fd h2 = unique_fd(dup(m1.ashmemFd().get())); in TEST_F() local
44 EXPECT_NE(h2.get(), -1); in TEST_F()
46 BufferHubMetadata m2 = BufferHubMetadata::import(std::move(h2)); in TEST_F()
47 EXPECT_EQ(h2.get(), -1); in TEST_F()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DCaptureCollector.java574 CaptureHolder h2 = mPreviewProduceQueue.peek(); in failNextPreview() local
577 CaptureHolder h = (h1 == null) ? h2 : in failNextPreview()
578 ((h2 == null) ? h1 : in failNextPreview()
579 ((h1.compareTo(h2) <= 0) ? h1 : in failNextPreview()
580 h2)); in failNextPreview()
601 CaptureHolder h2 = mJpegProduceQueue.peek(); in failNextJpeg() local
604 CaptureHolder h = (h1 == null) ? h2 : in failNextJpeg()
605 ((h2 == null) ? h1 : in failNextJpeg()
606 ((h1.compareTo(h2) <= 0) ? h1 : in failNextJpeg()
607 h2)); in failNextJpeg()
/frameworks/base/core/java/android/transition/
DArcMotion.java206 float h2 = deltaX * deltaX + deltaY * deltaY; in getPath() local
213 float midDist2 = h2 * 0.25f; in getPath()
231 float eDistY = Math.abs(h2 / (2 * deltaY)); in getPath()
244 float eDistX = h2 / (2 * deltaX); in getPath()
/frameworks/native/libs/math/tests/
Dhalf_test.cpp89 half2 h2(f4.xy); in TEST_F() local
93 EXPECT_EQ(f4.xy, h2); in TEST_F()
/frameworks/base/services/core/jni/
Dcom_android_server_connectivity_tethering_OffloadHardwareInterface.cpp114 h2(handleFromFileDescriptor(std::move(fd2))); in android_server_connectivity_tethering_OffloadHardwareInterface_configOffload() local
118 const auto status = configInterface->setHandles(h1, h2, in android_server_connectivity_tethering_OffloadHardwareInterface_configOffload()
/frameworks/compile/slang/tests/P_invoke_half_parameter/
Dinvoke_half_parameter.rs4 void test(half h, half2 h2, half3 h3, half4 h4) {
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
DvoAMRWBEnc.c191 Word16 h2[L_SUBFR]; /* Impulse response vector */ in coder() local
825 Copy(h1, h2, L_SUBFR); in coder()
831 Scale_sig_opt(h2, L_SUBFR, -2); in coder()
835 Scale_sig(h2, L_SUBFR, -2); in coder()
1074 Preemph(h2, st->tilt_code, L_SUBFR, &tmp); in coder()
1078 Pit_shrp(h2, T0, PIT_SHARP, L_SUBFR); in coder()
1083 cor_h_x(h2, xn2, dn); in coder()
1086 ACELP_2t64_fx(dn, cn, h2, code, y2, indice); in coder()
1091 ACELP_4t64_fx(dn, cn, h2, code, y2, 20, *ser_size, indice); in coder()
1099 ACELP_4t64_fx(dn, cn, h2, code, y2, 36, *ser_size, indice); in coder()
[all …]
/frameworks/layoutlib/bridge/src/android/view/shadow/
DAmbientShadowVertexCalculator.java79 float h2 = polygon[index2 + 2] * mConfig.getShadowBoundRatio(); in generateVertex() local
80 rayHeights[i] = h1 + intersection[1] * (h2 - h1); in generateVertex()
/frameworks/base/tools/obbtool/
DMain.cpp170 bool hexToByte(char h1, char h2, unsigned char* b) { in hexToByte() argument
173 if (!fromHex(h2, &second)) return false; in hexToByte()
/frameworks/compile/slang/tests/P_export_types/
Dexport_types.rs5 half2 h2 = {(half) 1.2f, (half) 2.3f};
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/events/
DEventBus.java307 public int compare(EventHandler h1, EventHandler h2) {
310 if (h1.priority != h2.priority) {
311 return h2.priority - h1.priority;
313 return Long.compare(h2.subscriber.registrationTime, h1.subscriber.registrationTime);
/frameworks/base/core/java/android/text/
DSelection.java507 float h2 = layout.getPrimaryHorizontal(off2); in chooseHorizontal() local
512 if (h1 < h2) in chooseHorizontal()
519 if (h1 > h2) in chooseHorizontal()
DLayout.java1959 float h2 = getHorizontal(en, true, line, false /* not clamped */); in addSelection() local
1961 float left = Math.min(h1, h2); in addSelection()
1962 float right = Math.max(h1, h2); in addSelection()
/frameworks/rs/driver/runtime/
Drs_core.c296 extern void __attribute__((overloadable)) rsDebug(const char *s, half2 h2) { in rsDebug() argument
297 float2 f = convert_float2(h2); in rsDebug()
298 rsDebug(s, &f, (ushort2 *) &h2); in rsDebug()
Drs_cl.c1708 extern half __attribute__((overloadable)) fn(half h1, half h2) { \
1709 return (half) fn((float) h1, (float) h2); \
1744 extern half __attribute__((overloadable)) fn(half h1, half h2, half h3) { \
1745 return (half) fn((float) h1, (float) h2, (float) h3); \
1805 extern half __attribute__((overloadable)) fn(half h1, half h2) { \
1806 return (half) fn((float) h1, (float) h2); \
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDessertCaseView.java531 final int h2 = (int) (h / mView.SCALE / 2);
534 mView.layout(cx - w2, cy - h2, cx + w2, cy + h2);
/frameworks/base/media/tests/contents/media_api/music/
Dtest_amr_ietf.amr89 8T� h^(�s <�fkR\�P��`Z�Jc� ����Ж�V�P<N~i?L�A�*ˊb��y�h2�R��.�_@v�<�q{��Z���_m�%ļ�4˓Ó���'���…