Home
last modified time | relevance | path

Searched refs:R (Results 1 – 25 of 71) sorted by relevance

123

/device/google/contexthub/firmware/os/algos/common/math/
Dquat.c21 void initQuat(Quat *q, const struct Mat33 *R) { in initQuat() argument
22 float Hx = R->elem[0][0]; in initQuat()
23 float My = R->elem[1][1]; in initQuat()
24 float Az = R->elem[2][2]; in initQuat()
30 q->x = copysignf(q->x, R->elem[1][2] - R->elem[2][1]); in initQuat()
31 q->y = copysignf(q->y, R->elem[2][0] - R->elem[0][2]); in initQuat()
32 q->z = copysignf(q->z, R->elem[0][1] - R->elem[1][0]); in initQuat()
35 void quatToMatrix(struct Mat33 *R, const Quat *q) { in quatToMatrix() argument
50 R->elem[0][0] = 1.0f - sq_q2 - sq_q3; in quatToMatrix()
51 R->elem[1][0] = q1_q2 - q3_q0; in quatToMatrix()
[all …]
Dquat.h28 void initQuat(Quat *q, const struct Mat33 *R);
29 void quatToMatrix(struct Mat33 *R, const Quat *q);
/device/generic/goldfish/camera/fake-pipeline2/
DScene.cpp35 #define R (Scene::ROOF * Scene::NUM_CHANNELS) macro
59 H,K,K,K,K,K,H,R,R,R,R,R,R,R,R,R,R,R,R,H, // 10
60 H,K,K,K,K,H,H,R,R,R,R,R,R,R,R,R,R,R,R,H,
61 H,H,H,K,K,H,H,R,R,R,R,R,R,R,R,R,R,R,R,H,
77 #undef R
/device/google/cuttlefish/guest/hals/camera/fake-pipeline2/
DScene.cpp35 #define R (Scene::ROOF * Scene::NUM_CHANNELS) macro
57 H, K, K, K, K, K, H, R, R, R, R, R, R, R, R, R, R, R, R, H, // 10
58 H, K, K, K, K, H, H, R, R, R, R, R, R, R, R, R, R, R, R, H,
59 H, H, H, K, K, H, H, R, R, R, R, R, R, R, R, R, R, R, R, H,
75 #undef R
/device/sample/apps/tv/LeanbackCustomizer/src/com/google/android/leanbacklauncher/partnercustomizer/
DPartnerReceiver.java91 resId = R.drawable.ic_ted_banner; in postNotification()
92 backupResId = R.drawable.ic_try_ted_banner; in postNotification()
93 titleId = R.string.ted; in postNotification()
94 backupTitleId = R.string.try_ted; in postNotification()
98 resId = R.drawable.ic_play_movies_banner; in postNotification()
99 backupResId = R.drawable.ic_try_play_movies_banner; in postNotification()
100 titleId = R.string.play_movies; in postNotification()
101 backupTitleId = R.string.try_play_movies; in postNotification()
126 .setSmallIcon(R.drawable.ic_launcher) in postNotification()
132 .setColor(mContext.getResources().getColor(R.color.partner_color)) in postNotification()
/device/sample/apps/tv/SetupCustomizationSample/app/src/main/java/com/google/android/tv/setup/customizationsample/
DBaseActivity.java30 setContentView(R.layout.activity_base_layout); in onCreate()
35 iv0 = findViewById(R.id.image0); in onCreate()
36 tv0 = findViewById(R.id.tv0); in onCreate()
37 tv1 = findViewById(R.id.tv1); in onCreate()
38 tv2 = findViewById(R.id.tv2); in onCreate()
138 LinearLayout llLeft = findViewById(R.id.ll_keyHandler1); in populateKeyHandlerViews()
140 LinearLayout llRight = findViewById(R.id.ll_keyHandler2); in populateKeyHandlerViews()
151 … TextView tvKey = (TextView) getLayoutInflater().inflate(R.layout.key_item, llLeft, false); in populateKeyHandlerViews()
156 … TextView tvVal = (TextView) getLayoutInflater().inflate(R.layout.key_item, llRight, false); in populateKeyHandlerViews()
163 LinearLayout llLeft = findViewById(R.id.ll_incomingExtra1); in populateIncomingExtrasView()
[all …]
DHookEndActivity.java14 showDrawable(R.drawable.hook); in onCreate()
DHookBeginActivity.java13 showDrawable(R.drawable.hook); in onCreate()
/device/sample/apps/tv/SetupValidation/app/src/main/java/com/google/android/tv/setup/customizationsample/
DBaseActivity.java30 setContentView(R.layout.activity_base_layout); in onCreate()
35 iv0 = findViewById(R.id.image0); in onCreate()
36 tv0 = findViewById(R.id.tv0); in onCreate()
37 tv1 = findViewById(R.id.tv1); in onCreate()
38 tv2 = findViewById(R.id.tv2); in onCreate()
138 LinearLayout llLeft = findViewById(R.id.ll_keyHandler1); in populateKeyHandlerViews()
140 LinearLayout llRight = findViewById(R.id.ll_keyHandler2); in populateKeyHandlerViews()
151 … TextView tvKey = (TextView) getLayoutInflater().inflate(R.layout.key_item, llLeft, false); in populateKeyHandlerViews()
156 … TextView tvVal = (TextView) getLayoutInflater().inflate(R.layout.key_item, llRight, false); in populateKeyHandlerViews()
163 LinearLayout llLeft = findViewById(R.id.ll_incomingExtra1); in populateIncomingExtrasView()
[all …]
DOpaqueActivity.java11 showDrawable(R.drawable.opaque_tile); in onCreate()
DMockKatnissActivity.java11 showDrawable(R.drawable.mock_katniss); in onCreate()
DTransparentActivity.java11 showDrawable(R.drawable.opaque_tile); in onCreate()
DMockHotwordEnrollmentActivity.java11 showDrawable(R.drawable.hotword_enrollment); in onCreate()
/device/google/bonito/vibrator/cs40l20/wav_wavetable/
D10_THUD_0503.json14 �,�R�����A����;��������p���x�����)���`�����J�����N�����Z�c�g �P�� � &
21 R
25 >�r������=������0�m�����Z����j���I���L���s���a�)�������x�v�������\���j���R���`����;�����b�!�…
46 U 6 ��{:�����a�"�����������7����}�o�w�����R�*�6�o���]�������r����>���
52 �'"�,S6>�C�G�H�G!D>�5^+F��)���C��̄�I��� �o����(�0�J���x�3_!K0;=�G�N�RR�NG�;�-UC ^����mĩ…
60 .�L�.�ׂ�,Բ�D��S����"o+S0�0F,F#%�����������nѵ� �W�v�� R~#
/device/google/crosshatch/vibrator/cs40l20/wav_wavetable/
D10_THUD_0503.json14 �,�R�����A����;��������p���x�����)���`�����J�����N�����Z�c�g �P�� � &
21 R
25 >�r������=������0�m�����Z����j���I���L���s���a�)�������x�v�������\���j���R���`����;�����b�!�…
46 U 6 ��{:�����a�"�����������7����}�o�w�����R�*�6�o���]�������r����>���
52 �'"�,S6>�C�G�H�G!D>�5^+F��)���C��̄�I��� �o����(�0�J���x�3_!K0;=�G�N�RR�NG�;�-UC ^����mĩ…
60 .�L�.�ׂ�,Բ�D��S����"o+S0�0F,F#%�����������nѵ� �W�v�� R~#
/device/linaro/hikey/hifi/firmware/
Dhifi-hikey960.img8 �"�����P�� P���� ��0���������� �������� c�����Y�R���%<���� �������
14 �R@0` 3052O1��@U00�8:�P�� �r R�@E�@U�RB�R@U RB:"=�fx�?�9?�9 ?�9"0?�92`?�9Bp?�9R…
18 F����-=�fy80��80��8"0��820��8B0��8R0��4�D�T"�d2�tB�"�@R�b�$r�4��D��T��d��t��"�@����$��…
37 …���xa_mixer����������@� �`��P�0�p��H�(�h��X�8�x��D�$�d��T�4�t� �L�,�l��\�<�|��B�"�b��R�2�r�
42 …�����p��J��A ��Z"���$���&��)��1,��/��2��a5���8���<��z@���D��!I���M���R��UX��^��0d���j���q�…
45 �,p���\���O��&�3 �e2"�Nk$�0�&�qN)���+�y�.���1��"5��8�^D<��.@��ZD���H��M�ƐR�\�W�6�]� �c�H6…
51 ����R
64 .�Nlw��?.�.Zw��n.��Gw���.��5w�h�.�_#w�-�.��w��)/�y�v��X/���v�R�/�I�v���/���v���/�гv�50���v��A0�…
/device/linaro/hikey/hifi/xaf/hifi-dpf/build_hikey/
Dxa_hikey.img8 �"�����P�� P���� ������������x��L����� c�����Y�R���%<���� �������
14 �R@0` 3052O1��@U00�8:�P�� �r R�@E�@U�RB�R@U RB:"=�fx�?�9?�9 ?�9"0?�92`?�9Bp?�9R…
18 F����-=�fy80��80��8"0��820��8B0��8R0��4�D�T"�d2�tB�"�@R�b�$r�4��D��T��d��t��"�@����$��…
35 …���xa_mixer����������@� �`��P�0�p��H�(�h��X�8�x��D�$�d��T�4�t� �L�,�l��\�<�|��B�"�b��R�2�r�
40 …�����p��J��A ��Z"���$���&��)��1,��/��2��a5���8���<��z@���D��!I���M���R��UX��^��0d���j���q�…
43 �,p���\���O��&�3 �e2"�Nk$�0�&�qN)���+�y�.���1��"5��8�^D<��.@��ZD���H��M�ƐR�\�W�6�]� �c�H6…
49 ����R
62 .�Nlw��?.�.Zw��n.��Gw���.��5w�h�.�_#w�-�.��w��)/�y�v��X/���v�R�/�I�v���/���v���/�гv�50���v��A0�…
/device/sample/apps/tv/LeanbackWidget/src/com/google/android/leanbacklauncher/partnerwidget/
DClockWidgetProvider.java59 RemoteViews remoteViews = new RemoteViews(context.getPackageName(), R.layout.clock_widget); in getRemoteViews()
60 remoteViews.setImageViewResource(R.id.connectivity_indicator, getConnectedResId(context)); in getRemoteViews()
74 resId = R.drawable.ic_widget_wifi_not_connected; in getConnectedResId()
76 resId = R.drawable.ic_widget_wifi_no_internet; in getConnectedResId()
79 resId = android.R.color.transparent; in getConnectedResId()
/device/generic/goldfish/wifi/mac80211_create_radios/
Dmain.cpp77 #define RETURN(R) return (R); argument
78 #define RETURN_ERROR(C, R) \ argument
81 return (R); \
83 #define RETURN_NL_ERROR(C, NLR, R) \ argument
86 return (R); \
/device/generic/goldfish-opengl/android-emu/android/base/
DTypeTraits.h63 template <class F, class R, class... Args>
66 R(Args...),
70 R>::value>::type> : std::true_type {};
83 template <class F, class R, class... Args>
86 R(Args...),
/device/generic/goldfish-opengl/system/OpenglSystemCommon/
DFormatConversions.cpp114 uint8_t R = (r * 527 + 23) >> 6; in rgb565_to_yv12() local
119 yv12_y[i] = clamp_rgb((77 * R + 150 * G + 29 * B) >> 8); in rgb565_to_yv12()
122 yv12_u[i] = clamp_rgb((( -43 * R - 85 * G + 128 * B) >> 8) + 128); in rgb565_to_yv12()
123 yv12_v[i] = clamp_rgb((( 128 * R - 107 * G - 21 * B) >> 8) + 128); in rgb565_to_yv12()
165 uint8_t R = rgb_ptr[i*rgb_stride]; in rgb888_to_yv12() local
171 …yv12_y[i] = clamp_rgb(1.0 * ((0.25678823529411765 * R) + (0.5041294117647058 * G) + (0.09790588235… in rgb888_to_yv12()
174 …yv12_u0[uvcount] = clamp_rgb((1/0.96) * (-(0.1482235294117647 * R) - (0.2909921568627451 * G) + (0… in rgb888_to_yv12()
175 …yv12_v0[uvcount] = clamp_rgb((1.0)* ((0.4392156862745098 * R) - (0.36778823529411764 * G) - (0.071… in rgb888_to_yv12()
217 uint8_t R = rgb_ptr[i*rgb_stride]; in rgb888_to_yuv420p() local
222 yv12_y[i] = clamp_rgb((77 * R + 150 * G + 29 * B) >> 8); in rgb888_to_yuv420p()
[all …]
/device/google/contexthub/firmware/os/algos/
Dfusion.c213 struct Mat33 R; in fusion_init_complete() local
214 initMatrixColumns(&R, &east, &north, &up); in fusion_init_complete()
219 initQuat(&fusion->x0, &R); in fusion_init_complete()
441 struct Mat33 R; in fusionUpdate() local
442 initDiagonalMatrix(&R, sigma * sigma); in fusionUpdate()
447 mat33Add(&S, &R); in fusionUpdate()
540 struct Mat33 R; in fusionHandleAcc() local
541 fusionGetRotationMatrix(fusion, &R); in fusionHandleAcc()
548 mat33Apply(&m, &R, &fusion->Bm); in fusionHandleAcc()
565 mat33Apply(&aa, &R, &fusion->Ba); in fusionHandleAcc()
[all …]
/device/google/contexthub/firmware/os/drivers/orientation/
Dorientation.c347 struct Mat33 R; // direction-cosine/rotation matrix, inertial -> device in updateOutput() local
365 fusionGetRotationMatrix(&mTask.game, &R); in updateOutput()
367 initVec3(&g, R.elem[0][2], R.elem[1][2], R.elem[2][2]); in updateOutput()
381 fusionGetRotationMatrix(&mTask.game, &R); in updateOutput()
383 initVec3(&g, R.elem[0][2], R.elem[1][2], R.elem[2][2]); in updateOutput()
404 fusionGetRotationMatrix(&mTask.fusion, &R); in updateOutput()
406 float x = atan2f(-R.elem[0][1], R.elem[0][0]) * kRad2deg; in updateOutput()
407 float y = atan2f(-R.elem[1][2], R.elem[2][2]) * kRad2deg; in updateOutput()
408 float z = asinf(R.elem[0][2]) * kRad2deg; in updateOutput()
/device/google/cuttlefish_vmm/
DDockerfile27 RUN mkdir /source && chown -R $USER /source
28 RUN mkdir /output && chown -R $USER /output
29 RUN mkdir /working && chown -R $USER /working
30 RUN mkdir /static && chown -R $USER /static
/device/generic/goldfish/camera/
DEmulatedFakeRotatingCameraDevice.cpp78 uint8_t R = input[j*width*4 + i*4]; in rgba8888_to_nv21() local
81 uint8_t Y = clamp_rgb((77 * R + 150 * G + 29 * B) >> 8); in rgba8888_to_nv21()
86 uint8_t V = clamp_rgb((( 128 * R - 107 * G - 21 * B) >> 8) + 128); in rgba8888_to_nv21()
87 uint8_t U = clamp_rgb((( -43 * R - 85 * G + 128 * B) >> 8) + 128); in rgba8888_to_nv21()
331 const float R=3500; in get_eye_x_y_z() local
340 float y1 = -R*sin(theta_around_x*3.14/180); in get_eye_x_y_z()
341 float z1 = R*cos(theta_around_x*3.14/180); in get_eye_x_y_z()

123