/device/generic/goldfish/camera/ |
D | Converters.h | 94 #define RGB565(r, g, b) static_cast<uint16_t>((((static_cast<uint16_t>(b) << 6) | g) << 5) | r) argument 96 #define RGB32(r, g, b) static_cast<uint32_t>((((static_cast<uint32_t>(b) << 8) | g) << 8) | r) argument 111 #define RGB565(r, g, b) static_cast<uint16_t>((((static_cast<uint16_t>(r) << 6) | g) << 5) | b) argument 113 #define RGB32(r, g, b) static_cast<uint32_t>((((static_cast<uint32_t>(r) << 8) | g) << 8) | b) argument 122 uint8_t r; uint8_t g; uint8_t b; uint8_t a; member 124 uint8_t a; uint8_t b; uint8_t g; uint8_t r; 147 #define RGB2Y(r, g, b) (uint8_t)(((66 * (r) + 129 * (g) + 25 * (b) + 128) >> 8) + 16) argument 148 #define RGB2U(r, g, b) (uint8_t)(((-38 * (r) - 74 * (g) + 112 * (b) + 128) >> 8) + 128) argument 149 #define RGB2V(r, g, b) (uint8_t)(((112 * (r) - 94 * (g) - 18 * (b) + 128) >> 8) + 128) argument 153 R8G8B8ToYUV(uint8_t r, uint8_t g, uint8_t b, uint8_t* y, uint8_t* u, uint8_t* v) in R8G8B8ToYUV() argument [all …]
|
D | EmulatedCameraDevice.cpp | 150 int g = YUV2G(y, u, v); in changeWhiteBalance() local 153 y = RGB2Y(r, g, b); in changeWhiteBalance() 154 u = RGB2U(r, g, b); in changeWhiteBalance() 155 v = RGB2V(r, g, b); in changeWhiteBalance()
|
/device/google/contexthub/lib/nanohub/ |
D | sha2.c | 68 uint32_t i, a, b, c, d, e, f, g, h; in sha2processBlock() local 88 g = state->h[6]; in sha2processBlock() 94 uint32_t ch = (e & f) ^ ((~e) & g); in sha2processBlock() 100 h = g; in sha2processBlock() 101 g = f; in sha2processBlock() 117 state->h[6] += g; in sha2processBlock()
|
/device/google/accessory/demokit/app/src/com/google/android/DemoKit/ |
D | ColorWheel.java | 150 int g = ave(Color.green(c0), Color.green(c1), p); in interpColor() local 153 return Color.argb(a, r, g, b); in interpColor() 159 int g = Color.green(color); in rotateColor() local 173 int ir = floatToByte(a[0] * r + a[1] * g + a[2] * b); in rotateColor() 174 int ig = floatToByte(a[5] * r + a[6] * g + a[7] * b); in rotateColor() 175 int ib = floatToByte(a[10] * r + a[11] * g + a[12] * b); in rotateColor()
|
D | ColorLEDController.java | 79 ViewGroup g = (ViewGroup) targetView.getChildAt(i); in attachToView() local 80 TextView label = (TextView) g.getChildAt(0); in attachToView() 81 Slider slider = (Slider) g.getChildAt(1); in attachToView() 82 TextView valueText = (TextView) g.getChildAt(2); in attachToView()
|
/device/linaro/hikey/installer/ |
D | flash-all.sh | 14 PTABLE=ptable-aosp-8g.img 19 PTABLE=ptable-aosp-4g.img
|
/device/google/dragon/audio/hal/dsp/ |
D | biquad.c | 52 double g = pow(10.0, 0.05 * resonance); in biquad_lowpass() local 53 double d = sqrt((4 - sqrt(16 - 16 / (g * g))) / 2); in biquad_lowpass() 87 double g = pow(10.0, 0.05 * resonance); in biquad_highpass() local 88 double d = sqrt((4 - sqrt(16 - 16 / (g * g))) / 2); in biquad_highpass()
|
/device/google/contexthub/firmware/src/drivers/orientation/ |
D | orientation.c | 318 struct Vec3 g, a; in updateOutput() local 333 initVec3(&g, R.elem[0][2], R.elem[1][2], R.elem[2][2]); in updateOutput() 334 vec3ScalarMul(&g, kGravityEarth); in updateOutput() 337 g.x, g.y, g.z); in updateOutput() 377 initVec3(&g, R.elem[0][2], R.elem[1][2], R.elem[2][2]); in updateOutput() 378 vec3ScalarMul(&g, kGravityEarth); in updateOutput() 386 a.x - g.x, in updateOutput() 387 a.y - g.y, in updateOutput() 388 a.z - g.z); in updateOutput()
|
/device/moto/shamu/sepolicy/ |
D | system_server.te | 2 # (e.g., LocationManager)
|
D | qmux.te | 20 # e.g. allow qmux sysfs_hsicctl_modem_wait:file rw_file_perms;
|
/device/google/contexthub/firmware/src/drivers/ams_tmd4903/ |
D | ams_tmd4903.c | 313 static inline float getLuxFromAlsData(uint16_t c, uint16_t r, uint16_t g, uint16_t b) in getLuxFromAlsData() argument 321 …return LUX_PER_COUNTS * ((c * C_COEFF) + (r * R_COEFF) + (g * G_COEFF) + (b * B_COEFF)) * mTask.al… in getLuxFromAlsData() 607 uint16_t c, r, g, b, ps; in handle_i2c_event() local 739 g = *(uint16_t*)(mTask.txrxBuf+4); in handle_i2c_event() 742 DEBUG_PRINT("als sample ready: c=%u r=%u g=%u b=%u\n", c, r, g, b); in handle_i2c_event() 745 sample.fdata = getLuxFromAlsData(c, r, g, b); in handle_i2c_event()
|
/device/huawei/angler/sepolicy/ |
D | thermald.te | 22 # (e.g., LocationManager)
|
/device/htc/flounder/VolantisKeyboard/res/raw/ |
D | keyboard_layout_volantis_english_us.kcm | 208 label: 'g' 209 base: 'g'
|
D | keyboard_layout_volantis_japanese.kcm | 210 label: 'g' 211 base: 'g'
|
D | keyboard_layout_volantis_italian.kcm | 217 label: 'g' 218 base: 'g'
|
D | keyboard_layout_volantis_spanish.kcm | 221 label: 'g' 222 base: 'g'
|
D | keyboard_layout_volantis_english_uk.kcm | 220 label: 'g' 221 base: 'g'
|
D | keyboard_layout_volantis_french_ca.kcm | 225 label: 'g' 226 base: 'g'
|
/device/google/dragon/DragonKeyboard/res/raw/ |
D | keyboard_layout_dragon_english_us.kcm | 193 label: 'g' 194 base: 'g'
|
D | keyboard_layout_dragon_english_uk.kcm | 205 label: 'g' 206 base: 'g'
|
D | keyboard_layout_dragon_french.kcm | 207 label: 'g' 208 base: 'g'
|
D | keyboard_layout_dragon_spanish.kcm | 200 label: 'g' 201 base: 'g'
|
D | keyboard_layout_dragon_spanish_latin.kcm | 197 label: 'g' 198 base: 'g'
|
D | keyboard_layout_dragon_danish.kcm | 204 label: 'g' 205 base: 'g'
|
/device/lge/bullhead/sepolicy/ |
D | cnd.te | 25 # create upd_socket to gather network info via ioctls (e.g. MTU size)
|