Home
last modified time | relevance | path

Searched refs:half (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DBitmapsRectActivity.java57 final float half = mBitmap1.getHeight() / 2.0f; in BitmapsView() local
58 mSrcRect = new Rect((int) fourth, (int) (half - half / 2.0f), in BitmapsView()
59 (int) (fourth + fourth), (int) (half + half / 2.0f)); in BitmapsView()
60 mDstRect = new RectF(fourth, half - half / 2.0f, fourth + fourth, half + half / 2.0f); in BitmapsView()
61 mDstRect2 = new RectF(fourth, half - half / 2.0f, in BitmapsView()
62 (fourth + fourth) * 3.0f, (half + half / 2.0f) * 3.0f); in BitmapsView()
/frameworks/wilhelm/tests/sandbox/
Dintbufq.c66 frame_t half[HALF_FRAMES]; variable
165 half[i].left = sine[i].left; in main()
166 half[i].right = sawtooth[i].right / 2; in main()
197 buffer = half; in main()
198 size = sizeof(half); in main()
/frameworks/rs/scriptc/
Drs_value_types.rsh29 * Floating point: half float double
95 * half: 16 bit floating point value
100 typedef __fp16 half;
106 * Vector version of the half float type. Provides two half fields packed
110 typedef half __attribute__((ext_vector_type(2))) half2;
116 * Vector version of the half float type. Provides three half fields packed
120 typedef half __attribute__((ext_vector_type(3))) half3;
126 * Vector version of the half float type. Provides four half fields packed
130 typedef half __attribute__((ext_vector_type(4))) half4;
Drs_allocation_data.rsh2528 extern half __attribute__((overloadable))
2548 extern half __attribute__((overloadable))
2568 extern half __attribute__((overloadable))
3299 rsSetElementAt_half(rs_allocation a, half val, uint32_t x);
3319 rsSetElementAt_half(rs_allocation a, half val, uint32_t x, uint32_t y);
3339 rsSetElementAt_half(rs_allocation a, half val, uint32_t x, uint32_t y, uint32_t z);
/frameworks/rs/driver/runtime/ll32/
Dallocation.ll657 !61 = !{!"half", !15}
658 define void @rsSetElementAtImpl_half([1 x i32] %a.coerce, half %val, i32 %x, i32 %y, i32 %z) #1 {
660 %2 = bitcast i8* %1 to half*
661 store half %val, half* %2, align 2, !tbaa !61
665 define half @rsGetElementAtImpl_half([1 x i32] %a.coerce, i32 %x, i32 %y, i32 %z) #0 {
667 %2 = bitcast i8* %1 to half*
668 %3 = load half, half* %2, align 2, !tbaa !61
669 ret half %3
673 define void @rsSetElementAtImpl_half2([1 x i32] %a.coerce, <2 x half> %val, i32 %x, i32 %y, i32 %z)…
675 %2 = bitcast i8* %1 to <2 x half>*
[all …]
/frameworks/rs/driver/runtime/ll64/
Dallocation.ll672 !61 = !{!"half", !15}
673 define void @rsSetElementAtImpl_half(%struct.rs_allocation* nocapture readonly %a.coerce, half %val…
675 %2 = bitcast i8* %1 to half*
676 store half %val, half* %2, align 2, !tbaa !61
680 define half @rsGetElementAtImpl_half(%struct.rs_allocation* nocapture readonly %a.coerce, i32 %x, i…
682 %2 = bitcast i8* %1 to half*
683 %3 = load half, half* %2, align 2, !tbaa !61
684 ret half %3
688 …entAtImpl_half2(%struct.rs_allocation* nocapture readonly %a.coerce, <2 x half> %val, i32 %x, i32 …
690 %2 = bitcast i8* %1 to <2 x half>*
[all …]
/frameworks/rs/driver/runtime/
Dbuild_bc_lib_internal.mk34 bc_clang_cc1_cflags := -fnative-half-type -fallow-half-arguments-and-returns
Drs_allocation.c275 ELEMENT_AT(half)
/frameworks/av/media/libmedia/
DAudioTrackShared.cpp733 size_t half = mFrameCount / 2; in releaseBuffer() local
734 if (half == 0) { in releaseBuffer()
735 half = 1; in releaseBuffer()
739 minimum = mIsOut ? half : 1; in releaseBuffer()
740 } else if (minimum > half) { in releaseBuffer()
741 minimum = half; in releaseBuffer()
/frameworks/base/docs/html/tools/performance/hierarchy-viewer/
Dprofiling.jd107 half of the other views.</li>
110 half of the other views.</li>
113 half of views.</li>
/frameworks/base/docs/html/guide/topics/renderscript/reference/
Drs_value_types.jd15 <tr><td>Floating point: </td> <td> </td> <td>half </td> <td>float …
166 <a href='rs_value_types.html#android_rs:half'>half</a>
640 <a name='android_rs:half'></a>
643 <span class='sympad'>half</span>
661 <p>A typedef of: half __attribute__((ext_vector_type(2)))&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Added in…
663 <p> Vector version of the half float type. Provides two half fields packed
676 <p>A typedef of: half __attribute__((ext_vector_type(3)))&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Added in…
678 <p> Vector version of the half float type. Provides three half fields packed
691 <p>A typedef of: half __attribute__((ext_vector_type(4)))&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Added in…
693 <p> Vector version of the half float type. Provides four half fields packed
Drs_allocation_data.jd1581 …<td><a href='rs_value_types.html#android_rs:half'>half</a> rsGetElementAt_half(<a href='rs_object_…
1587 …<td><a href='rs_value_types.html#android_rs:half'>half</a> rsGetElementAt_half(<a href='rs_object_…
1593 …<td><a href='rs_value_types.html#android_rs:half'>half</a> rsGetElementAt_half(<a href='rs_object_…
2472 …location'>rs_allocation</a> a, <a href='rs_value_types.html#android_rs:half'>half</a> val, <a href…
2478 …location'>rs_allocation</a> a, <a href='rs_value_types.html#android_rs:half'>half</a> val, <a href…
2484 …location'>rs_allocation</a> a, <a href='rs_value_types.html#android_rs:half'>half</a> val, <a href…
Doverview.jd33 <tr><td>Floating point: </td> <td> </td> <td>half </td> <td>float …
183 <a href='rs_value_types.html#android_rs:half'>half</a>
/frameworks/rs/api/
Drs_value_types.spec27 …<tr><td>Floating point: </td> <td> </td> <td>half </td> <td>float …
Drs_math.spec1941 rint() rounds half values to even. For example, <code>rint(0.5f)</code> returns 0.f and
1974 round() rounds half values away from zero. For example, <code>round(0.5f)</code> returns 1.f
1978 @rint() is similar but rounds half values toward even. @trunc() truncates the decimal fraction.
/frameworks/base/docs/html/guide/topics/ui/layout/
Dlinear.jd71 it is now declared more important than both the others, so it gets half the total remaining space,
/frameworks/base/docs/html/training/basics/supporting-devices/
Dscreens.jd169 you provide hdpi assets, the system scales them down by one half to properly fit ldpi
/frameworks/base/docs/html/guide/topics/media/jet/
Djetcreator_manual.jd163 example, the bridge might end with a half-step key modulation and the remaining
164 segments could be transposed up a half-step to match.</p>
257 not pressed a button, a timer is set to half the length of the window. If the
264 event is received, a timer is set to half the length of the window. If an event
557 Indicates the transposition in semi-tones or half-steps a segment should
/frameworks/base/docs/html/training/tv/discovery/
Drecommendations.jd281 every half hour:
/frameworks/base/docs/html/google/play/billing/
Dbilling_subscriptions.jd249 Since he paid for a full month (April 1-30), but only used half of it, half of a
/frameworks/base/docs/html/training/scheduling/
Dalarms.jd179 <p>If you simply need your alarm to fire at a particular interval (for example, every half
/frameworks/base/docs/html/guide/topics/ui/
Ddrag-drop.jd650 // Sets the width of the shadow to half the width of the original View
653 // Sets the height of the shadow to half the height of the original View
/frameworks/compile/slang/tests/P_all_api_23/
Dall23.rs6065 *(half*)buf3704 = rsGetElementAt_half(*(rs_allocation*)buf3705, *(uint32_t*)buf3706);
6069 …*(half*)buf3716 = rsGetElementAt_half(*(rs_allocation*)buf3717, *(uint32_t*)buf3718, *(uint32_t*)b…
6073 …*(half*)buf3732 = rsGetElementAt_half(*(rs_allocation*)buf3733, *(uint32_t*)buf3734, *(uint32_t*)b…
6287 rsSetElementAt_half(*(rs_allocation*)buf4497, *(half*)buf4498, *(uint32_t*)buf4499);
6291 …rsSetElementAt_half(*(rs_allocation*)buf4509, *(half*)buf4510, *(uint32_t*)buf4511, *(uint32_t*)bu…
6295 …rsSetElementAt_half(*(rs_allocation*)buf4525, *(half*)buf4526, *(uint32_t*)buf4527, *(uint32_t*)bu…
/frameworks/base/docs/html/design/wear/
Dwatchfaces.jd198 the bottom half of the face should leverage the small peek card instead.</p>
/frameworks/base/docs/html/guide/topics/text/
Dcreating-input-method.jd211 no more than half the screen is occupied by the IME. In fullscreen IME mode this is not an

12