Home
last modified time | relevance | path

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

123456

/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/google/accessory/demokit/app/src/com/google/android/DemoKit/
DInputController.java22 mTemperature = (TextView) findViewById(R.id.tempValue); in InputController()
23 mLightView = (TextView) findViewById(R.id.lightPercentValue); in InputController()
24 mLightRawView = (TextView) findViewById(R.id.lightRawValue); in InputController()
25 mJoystickView = (JoystickView) findViewById(R.id.joystickView); in InputController()
110 viewId = R.id.Button1; in SwitchDisplayer()
111 onImageId = R.drawable.indicator_button1_on_noglow; in SwitchDisplayer()
112 offImageId = R.drawable.indicator_button1_off_noglow; in SwitchDisplayer()
115 viewId = R.id.Button2; in SwitchDisplayer()
116 onImageId = R.drawable.indicator_button2_on_noglow; in SwitchDisplayer()
117 offImageId = R.drawable.indicator_button2_off_noglow; in SwitchDisplayer()
[all …]
DOutputController.java15 setupServoController(1, R.id.servo1); in onAccesssoryAttached()
16 setupServoController(2, R.id.servo2); in onAccesssoryAttached()
17 setupServoController(3, R.id.servo3); in onAccesssoryAttached()
19 setupLedController(1, R.id.leds1); in onAccesssoryAttached()
20 setupLedController(2, R.id.leds2); in onAccesssoryAttached()
21 setupLedController(3, R.id.leds3); in onAccesssoryAttached()
23 setupRelayController(1, R.id.relay1); in onAccesssoryAttached()
24 setupRelayController(2, R.id.relay2); in onAccesssoryAttached()
DDemoKitPhone.java29 R.drawable.tab_focused_holo_dark); in onCreate()
31 R.drawable.tab_normal_holo_dark); in onCreate()
40 mInputLabel = (TextView) findViewById(R.id.inputLabel); in showControls()
41 mOutputLabel = (TextView) findViewById(R.id.outputLabel); in showControls()
42 mInputContainer = (LinearLayout) findViewById(R.id.inputContainer); in showControls()
43 mOutputContainer = (LinearLayout) findViewById(R.id.outputContainer); in showControls()
67 case R.id.inputLabel: in onClick()
71 case R.id.outputLabel: in onClick()
DColorLEDController.java62 mRed = res.getDrawable(R.drawable.scrubber_vertical_red_holo_dark); in ColorLEDController()
64 .getDrawable(R.drawable.scrubber_vertical_green_holo_dark); in ColorLEDController()
66 .getDrawable(R.drawable.scrubber_vertical_blue_holo_dark); in ColorLEDController()
69 .getDrawable(R.drawable.scrubber_horizontal_red_holo_dark); in ColorLEDController()
71 .getDrawable(R.drawable.scrubber_horizontal_green_holo_dark); in ColorLEDController()
73 .getDrawable(R.drawable.scrubber_horizontal_blue_holo_dark); in ColorLEDController()
DJoystickView.java50 mJoystickBackground = r.getDrawable(R.drawable.joystick_background); in initJoystickView()
54 mJoystickPressed = r.getDrawable(R.drawable.joystick_pressed_holo_dark); in initJoystickView()
55 mJoystickNormal = r.getDrawable(R.drawable.joystick_normal_holo_dark); in initJoystickView()
/device/generic/goldfish/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/linaro/bootloader/edk2/StdLib/LibC/Math/
De_log.c105 double hfsq,f,s,z,R,w,t1,t2,dk; in __ieee754_log() local
133 R = f*f*(0.5-0.33333333333333333*f); in __ieee754_log()
134 if(k==0) return f-R; else {dk=(double)k; in __ieee754_log()
135 return dk*ln2_hi-((R-dk*ln2_lo)-f);} in __ieee754_log()
146 R = t2+t1; in __ieee754_log()
149 if(k==0) return f-(hfsq-s*(hfsq+R)); else in __ieee754_log()
150 return dk*ln2_hi-((hfsq-(s*(hfsq+R)+dk*ln2_lo))-f); in __ieee754_log()
152 if(k==0) return f-s*(f-R); else in __ieee754_log()
153 return dk*ln2_hi-((s*(f-R)-dk*ln2_lo)-f); in __ieee754_log()
De_log2.c43 double hfsq,f,s,z,R,w,t1,t2,dk; in __ieee754_log2() local
68 R = f*f*(0.5-0.33333333333333333*f); in __ieee754_log2()
69 return (dk-(R-f)/ln2); in __ieee754_log2()
79 R = t2+t1; in __ieee754_log2()
82 return (dk-(hfsq-s*(hfsq+R)-f)/ln2); in __ieee754_log2()
84 return (dk-((s*(f-R))-f)/ln2); in __ieee754_log2()
/device/sample/apps/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/google/accessory/demokit/hardware/fab/m256c/
Dm256.mnt39 D3 35.56 17.53 180 MMBD7000 SC70-3-R
40 D4 32.00 28.96 270 MMBD7000 SC70-3-R
41 D5 38.35 18.54 0 MMBD7000 SC70-3-R
44 FB1 6.60 50.80 90 120R R0603
45 FB2 19.05 32.77 270 120R R0603
62 R14 20.07 39.37 90 100R R0402
63 R15 86.23 19.05 0 33R R0402
71 R23 17.53 28.70 0 33R R0402
72 R24 17.53 27.43 0 33R R0402
/device/linaro/bootloader/edk2/Vlv2DeviceRefCodePkg/ValleyView2Soc/NorthCluster/Include/
DVlvAccess.h170 #define PciCfg32Read_CF8CFC(B,D,F,R) \ argument
171 (UINT32)(IoOut32(0xCF8,(0x80000000|(B<<16)|(D<<11)|(F<<8)|(R))),IoIn32(0xCFC))
173 #define PciCfg32Write_CF8CFC(B,D,F,R,Data) \ argument
174 (IoOut32(0xCF8,(0x80000000|(B<<16)|(D<<11)|(F<<8)|(R))),IoOut32(0xCFC,Data))
176 #define PciCfg32Or_CF8CFC(B,D,F,R,O) \ argument
177 PciCfg32Write_CF8CFC(B,D,F,R, \
178 (PciCfg32Read_CF8CFC(B,D,F,R) | (O)))
180 #define PciCfg32And_CF8CFC(B,D,F,R,A) \ argument
181 PciCfg32Write_CF8CFC(B,D,F,R, \
182 (PciCfg32Read_CF8CFC(B,D,F,R) & (A)))
[all …]
/device/linaro/bootloader/edk2/BeagleBoardPkg/Debugger_scripts/
Drvi_symbols_macros.inc13 define /R int compare_guid(guid1, guid2)
21 define /R unsigned char * find_system_table(mem_start, mem_size)
44 define /R unsigned char * find_debug_info_table_header(system_table)
87 define /R int valid_pe_header(header)
102 define /R unsigned long pe_headersize(header)
113 define /R unsigned char *pe_filename(header)
131 define /R int char_is_valid(c)
141 define /R write_symbols_file(filename, mem_start, mem_size)
/device/linaro/bootloader/OpenPlatformPkg/Platforms/TexasInstruments/BeagleBoard/Debugger_scripts/
Drvi_symbols_macros.inc13 define /R int compare_guid(guid1, guid2)
21 define /R unsigned char * find_system_table(mem_start, mem_size)
44 define /R unsigned char * find_debug_info_table_header(system_table)
87 define /R int valid_pe_header(header)
102 define /R unsigned long pe_headersize(header)
113 define /R unsigned char *pe_filename(header)
131 define /R int char_is_valid(c)
141 define /R write_symbols_file(filename, mem_start, mem_size)
/device/linaro/bootloader/edk2/SourceLevelDebugPkg/
DReadme.txt2 SourceLevelDebugPkg in conjunction with Intel(R) UEFI Development Kit Debugger
3 Tool (Intel (R) UDK Debugger Tool).
5 The Intel(R) UDK Debugger Tool and its detailed user manual can be obtained
/device/sample/apps/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/linaro/bootloader/edk2/MdeModulePkg/Universal/MemoryTest/GenericMemoryTestDxe/
DGenericMemoryTestDxe.uni2 // This driver first constructs the non-tested memory range, then performs the R/W/V memory test.
4 // This driver first constructs the non-tested memory range, then performs the R/W/V memory test.
19 … #language en-US "Constructs the non-tested memory range, then performs the R/W/V memory test"
21 …US "This driver first constructs the non-tested memory range, then performs the R/W/V memory test."
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/
DSmbiosViewStrings.uni172 #string STR_SMBIOSVIEW_PRINTINFO_PENTIUM_PROC_FAMILY #language en-US "Pentium(R) Process…
173 #string STR_SMBIOSVIEW_PRINTINFO_PENTIUM_PRO_PROC #language en-US "Pentium(R) Pro pro…
174 #string STR_SMBIOSVIEW_PRINTINFO_PENTIUM_II_PROC #language en-US "Pentium(R) II proc…
175 #string STR_SMBIOSVIEW_PRINTINFO_PENTIUM_PROC_MMX #language en-US "Pentium(R) process…
177 #string STR_SMBIOSVIEW_PRINTINFO_PENTIUM_XEON_PROC #language en-US "Pentium(R) II Xeon…
178 #string STR_SMBIOSVIEW_PRINTINFO_PENTIUM_III_PROC #language en-US "Pentium(R) III Pro…
187 #string STR_SMBIOSVIEW_PRINTINFO_INTEL_CORE_DUO #language en-US "Intel(R) Core(TM) Duo proc…
188 #string STR_SMBIOSVIEW_PRINTINFO_INTEL_CORE_DUO_MOBILE #language en-US "Intel(R) Core(TM) Duo mobi…
189 #string STR_SMBIOSVIEW_PRINTINFO_INTEL_CORE_SOLO_MOBILE #language en-US "Intel(R) Core(TM) Solo mob…
190 #string STR_SMBIOSVIEW_PRINTINFO_INTEL_ATOM #language en-US "Intel(R) Atom(TM) processo…
[all …]
/device/generic/goldfish-opengl/system/OpenglSystemCommon/
DFormatConversions.cpp92 uint8_t R = (r * 527 + 23) >> 6; in rgb565_to_yv12() local
97 yv12_y[i] = clamp_rgb((77 * R + 150 * G + 29 * B) >> 8); in rgb565_to_yv12()
100 yv12_u[i] = clamp_rgb((( -43 * R - 85 * G + 128 * B) >> 8) + 128); in rgb565_to_yv12()
101 yv12_v[i] = clamp_rgb((( 128 * R - 107 * G - 21 * B) >> 8) + 128); in rgb565_to_yv12()
129 uint8_t R = rgb_ptr[i*rgb_stride]; in rgb888_to_yv12() local
134 yv12_y[i] = clamp_rgb((77 * R + 150 * G + 29 * B) >> 8); in rgb888_to_yv12()
137 yv12_u[i] = clamp_rgb((( -43 * R - 85 * G + 128 * B) >> 8) + 128); in rgb888_to_yv12()
138 yv12_v[i] = clamp_rgb((( 128 * R - 107 * G - 21 * B) >> 8) + 128); in rgb888_to_yv12()
165 uint8_t R = rgb_ptr[i*rgb_stride]; in rgb888_to_yuv420p() local
170 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/linaro/bootloader/edk2/DuetPkg/BootSector/bin/
DMbr.com4 ����M B R S t a r t ! M B R E r r : ? ? ����$��00��9~��<9~�����������������������������…
Dbs16.com2R��ZF�2���
3 …f3�f�^�f��B+�C;���Q��3��vS���|��$���ô���r![Yf��f�+ˌ���Î����u�aÅ��R��6��|���B S t a r t…
Dbootsect.com2R��ZF�2���
3 …f3�f�^�f��B+�C;���Q��3��vS���|��$���ô���r![Yf��f�+ˌ���Î����u�aÅ��R��6��|���B S t a r t…
Dbs32.com3R��ZF�2���
4 …f3�f�^�f��B+�C;���Q��3��vS���|��@���ô���r![Yf��f�+ˌ���Î����u�aÅ��R����}���B S t a r t …

123456