Home
last modified time | relevance | path

Searched refs:h1 (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/text/
DLayoutBidiCursorPathTest.java66 final float h1 = BIDI_TEXT_SIZE * LTR_TEXT.length() - 0.5f; in testGetCursorPathSegments() local
73 expectedPath.moveTo(h1, top); in testGetCursorPathSegments()
74 expectedPath.lineTo(h1, bottom); in testGetCursorPathSegments()
93 final float h1 = BIDI_TEXT_SIZE * LTR_TEXT.length() - 0.5f; in testGetCursorPath_whenShiftIsPressed() local
104 expectedPath.moveTo(h1, top); in testGetCursorPath_whenShiftIsPressed()
105 expectedPath.lineTo(h1, bottom); in testGetCursorPath_whenShiftIsPressed()
107 expectedPath.moveTo(h1, bottom); in testGetCursorPath_whenShiftIsPressed()
108 expectedPath.lineTo(h1 - dist, bottom + dist); in testGetCursorPath_whenShiftIsPressed()
110 expectedPath.moveTo(h1 - dist, bottom + dist - 0.5f); in testGetCursorPath_whenShiftIsPressed()
111 expectedPath.lineTo(h1 + dist, bottom + dist - 0.5f); in testGetCursorPath_whenShiftIsPressed()
[all …]
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dmath_fp16.rscript19 static volatile half h1;
30 h1 = fn(h1); \
36 i1 = fn(h1); \
42 h1 = fn(h1, h1); \
48 h1 = fn(h1, i1); \
54 h1 = fn(h1, (int *) &i1); \
60 h1 = fn(h1, i1); \
66 h1 = fn(h1, h1); \
67 h2 = fn(h2, h1); \
68 h3 = fn(h3, h1); \
[all …]
/frameworks/base/core/tests/coretests/src/android/os/
DBroadcasterTest.java131 Handler h1; in test4()
136 h1 = new H(); in test4()
139 b.request(MESSAGE_A, h1, MESSAGE_C); in test4()
149 if (msg.what == MESSAGE_C && msg.getTarget() == h1) { in test4()
166 Handler h1; in test5()
171 h1 = new H(); in test5()
174 b.request(MESSAGE_A, h1, MESSAGE_C); in test5()
201 Handler h1; in test6()
206 h1 = new H(); in test6()
209 b.request(MESSAGE_A, h1, MESSAGE_C); in test6()
[all …]
DHandlerThreadTest.java69 final Handler h1 = new Handler(th1.getLooper()) { in testHandlerThread() local
83 Message msg = h1.obtainMessage(TEST_WHAT); in testHandlerThread()
85 synchronized (h1) { in testHandlerThread()
87 h1.sendMessage(msg); in testHandlerThread()
90 h1.wait(); in testHandlerThread()
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
Dspreproc.cpp184 Word16 h1[], /* o : impulse response */ in subframePreProc() argument
211 Syn_filt(Aq, ai_zero, h1, L_SUBFR, zero, 0); in subframePreProc()
212 Syn_filt(Ap2, h1, h1, L_SUBFR, zero, 0); in subframePreProc()
Dcl_ltp.cpp625 Word16 *h1, /* i : Impulse response vector Q12 */ in cl_ltp() argument
663 h1, in cl_ltp()
690 Convolve(exc, h1, yl, L_SUBFR); in cl_ltp()
Dcod_amr.cpp490 st->h1 = &st->hvec[L_SUBFR]; in cod_amr_reset()
1461 st->h1, xn, res, st->error); in cod_amr()
1469 st->h1, xn, res, st->error); in cod_amr()
1475 memcpy(h1_sf0, st->h1, L_SUBFR*sizeof(Word16)); in cod_amr()
1486 cl_ltp(st->clLtpSt, st->tonStabSt, *usedMode, i_subfr, T_op, st->h1, in cod_amr()
1507 cbsearch(xn2, st->h1, T0, st->sharp, gain_pit, res2, in cod_amr()
1577 st->h1, xn, res, st->error); in cod_amr()
1581 Convolve(&st->exc[i_subfr], st->h1, y1, L_SUBFR); in cod_amr()
Dspreproc.h121 Word16 h1[], /* o : impulse response */
Dcl_ltp.h139 Word16 *h1, /* i : Impulse response vector Q12 */
Dcod_amr.h150 Word16 *h1; member
/frameworks/base/core/java/android/hardware/camera2/legacy/
DCaptureCollector.java573 CaptureHolder h1 = mPreviewCaptureQueue.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()
600 CaptureHolder h1 = mJpegCaptureQueue.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()
/frameworks/base/core/java/android/text/
DLayout.java1880 float h1 = getPrimaryHorizontal(point, clamped) - 0.5f; in getCursorPath() local
1896 if (h1 < 0.5f) in getCursorPath()
1897 h1 = 0.5f; in getCursorPath()
1899 dest.moveTo(h1, top); in getCursorPath()
1900 dest.lineTo(h1, bottom); in getCursorPath()
1903 dest.moveTo(h1, bottom); in getCursorPath()
1904 dest.lineTo(h1 - dist, bottom + dist); in getCursorPath()
1905 dest.lineTo(h1, bottom); in getCursorPath()
1906 dest.lineTo(h1 + dist, bottom + dist); in getCursorPath()
1908 dest.moveTo(h1, bottom); in getCursorPath()
[all …]
DSelection.java506 float h1 = layout.getPrimaryHorizontal(off1); in chooseHorizontal() local
512 if (h1 < h2) in chooseHorizontal()
519 if (h1 > h2) in chooseHorizontal()
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DOffloadHardwareInterface.java236 final NativeHandle h1 = mDeps.createConntrackSocket( in initOffloadConfig() local
238 if (h1 == null) return false; in initOffloadConfig()
240 sendNetlinkMessage(h1, (short) ((NFNL_SUBSYS_CTNETLINK << 8) | IPCTNL_MSG_CT_GET), in initOffloadConfig()
246 closeFdInNativeHandle(h1); in initOffloadConfig()
252 offloadConfig.setHandles(h1, h2, in initOffloadConfig()
262 closeFdInNativeHandle(h1); in initOffloadConfig()
/frameworks/opt/vcard/tests/res/raw/
Dv21_japanese_2.vcf4 N;CHARSET=SHIFT_JIS:����;���C�h1;;;
/frameworks/base/tools/obbtool/
DMain.cpp170 bool hexToByte(char h1, char h2, unsigned char* b) { in hexToByte() argument
172 if (!fromHex(h1, &first)) return false; in hexToByte()
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
DvoAMRWBEnc.c190 Word16 h1[L_SUBFR]; /* Impulse response vector */ in coder() local
805 vo_p3 = h1; in coder()
822 Deemph2(h1, TILT_FAC, L_SUBFR, &tmp); /* h1 in Q14 */ in coder()
825 Copy(h1, h2, L_SUBFR); in coder()
833 Scale_sig_opt(h1, L_SUBFR, 1 + shift); /* set h1[] in Q15 with scaling for convolution */ in coder()
837 Scale_sig(h1, L_SUBFR, 1 + shift); /* set h1[] in Q15 with scaling for convolution */ in coder()
845 T0 = Pitch_fr4(&exc[i_subfr], xn, h1, T0_min, T0_max, &T0_frac, in coder()
892 T0 = Pitch_fr4(&exc[i_subfr], xn, h1, T0_min, T0_max, &T0_frac, in coder()
968 Convolve_asm(&exc[i_subfr], h1, y1, L_SUBFR); in coder()
970 Convolve(&exc[i_subfr], h1, y1, L_SUBFR); in coder()
[all …]
/frameworks/rs/driver/runtime/
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); \
1769 extern half __attribute__((overloadable)) fn(half h1, int v) { \
1770 return (half) fn((float) h1, v); \
1805 extern half __attribute__((overloadable)) fn(half h1, half h2) { \
1806 return (half) fn((float) h1, (float) h2); \