Home
last modified time | relevance | path

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

/device/generic/goldfish/camera/
DEmulatedFakeCameraDevice.cpp316 const YUVPixel* color) in drawSquare() argument
322 YUVPixel adjustedColor = *color; in drawSquare()
343 void EmulatedFakeCameraDevice::drawSolid(YUVPixel* color) in drawSolid() argument
345 YUVPixel adjustedColor = *color; in drawSolid()
355 *U = color->U; in drawSolid()
356 *V = color->V; in drawSolid()
368 YUVPixel* color; in drawStripes() local
372 color = &mWhiteYUV; in drawStripes()
375 color = &mRedYUV; in drawStripes()
378 color = &mGreenYUV; in drawStripes()
[all …]
DEmulatedFakeCameraDevice.h112 void drawSquare(int x, int y, int size, const YUVPixel* color);
115 void drawSolid(YUVPixel* color);
DConverters.h119 uint32_t color; member
172 rgb_c.color = rgb; in RGB32ToYUV()
226 return rgb.color; in YUVToRGB32()
/device/htc/flounder/lights/
Dlights.c59 int color = state->color & 0x00ffffff; in rgb_to_brightness() local
60 return ((77 * ((color >> 16) & 0x00ff)) in rgb_to_brightness()
61 + (150 * ((color >> 8) & 0x00ff)) + in rgb_to_brightness()
62 (29 * (color & 0x00ff))) >> 8; in rgb_to_brightness()
70 ALOGV("set_light_battery, flashMode:%x, color:%x", state->flashMode, state->color); in set_light_battery()
71 if(state->color) in set_light_battery()
84 ALOGV("set_light_notifications, flashMode:%x, color:%x", state->flashMode, state->color); in set_light_notifications()
/device/generic/goldfish/lights/
Dlights_qemu.c58 int color = state->color & 0x00ffffff; in rgb_to_brightness() local
59 return ((77 * ((color >> 16) & 0x00ff)) in rgb_to_brightness()
60 + (150 * ((color >> 8) & 0x00ff)) + (29 * (color & 0x00ff))) >> 8; in rgb_to_brightness()
81 state->color ); in set_light_backlight()
/device/google/accessory/demokit/app/src/com/google/android/DemoKit/
DColorWheelLEDController.java17 public void colorChanged(int color) { in colorChanged() argument
18 int red = Color.red(color) / 8; in colorChanged()
19 int green = Color.green(color) / 8; in colorChanged()
20 int blue = Color.blue(color) / 8; in colorChanged()
DColorWheel.java34 void colorChanged(int color); in colorChanged() argument
156 private int rotateColor(int color, float rad) { in rotateColor() argument
158 int r = Color.red(color); in rotateColor()
159 int g = Color.green(color); in rotateColor()
160 int b = Color.blue(color); in rotateColor()
177 return Color.argb(Color.alpha(color), pinToByte(ir), in rotateColor()
/device/lge/hammerhead/liblight/
Dlights.c103 int color = state->color & 0x00ffffff; in rgb_to_brightness() local
105 return ((77 * ((color >> 16) & 0x00ff)) in rgb_to_brightness()
106 + (150 * ((color >> 8) & 0x00ff)) + (29 * (color & 0x00ff))) >> 8; in rgb_to_brightness()
142 colorRGB = state->color; in set_light_locked()
/device/sample/skins/WVGAMedDpi/
Dlayout358 color 0xe0e0e0
394 color 0xe0e0e0
/device/sample/apps/LeanbackWidget/src/com/google/android/leanbacklauncher/partnerwidget/
DClockWidgetProvider.java79 resId = android.R.color.transparent; in getConnectedResId()
/device/sample/apps/LeanbackCustomizer/src/com/google/android/leanbacklauncher/partnercustomizer/
DPartnerReceiver.java132 .setColor(mContext.getResources().getColor(R.color.partner_color)) in postNotification()
/device/moto/shamu/camera/QCamera/HAL/usbcamcore/src/
DQualcommUsbCamera.cpp763 int color=30; in initDisplayBuffers() local
2152 static int color = 30; in previewloop() local
2153 color += 50; in previewloop()
2154 if(color > 200) { in previewloop()
2155 color = 30; in previewloop()
2157 ALOGE("%s: Setting to the color: %d\n", __func__, color); in previewloop()
2160 color, camHal->dispWidth * camHal->dispHeight * 1.5 + 2 * 1024); in previewloop()
/device/generic/goldfish/opengl/system/renderControl_enc/
DREADME91 This flushes the current window color buffer
94 This set the target color buffer for a windowSurface, when set the
/device/lge/hammerhead/self-extractors/qcom/staging/
Ddevice-partial.mk66 …vendor/qcom/hammerhead/proprietary/libmm-color-convertor.so:system/lib/libmm-color-convertor.so:qc…
/device/asus/flo/self-extractors/
Dextract-lists.txt96 system/lib/libmm-color-convertor.so \
/device/asus/deb/self-extractors/
Dextract-lists.txt96 system/lib/libmm-color-convertor.so \
/device/lge/hammerhead/self-extractors/
Dextract-lists.txt93 system/lib/libmm-color-convertor.so \
/device/asus/deb/self-extractors/qcom/staging/
Ddevice-partial.mk96 vendor/qcom/deb/proprietary/libmm-color-convertor.so:system/lib/libmm-color-convertor.so:qcom \
/device/asus/flo/self-extractors/qcom/staging/
Ddevice-partial.mk97 vendor/qcom/flo/proprietary/libmm-color-convertor.so:system/lib/libmm-color-convertor.so:qcom \
/device/asus/flo/
Dproprietary-blobs.txt103 /system/lib/libmm-color-convertor.so
Dvendor_owner_info.txt93 system/lib/libmm-color-convertor.so:qcom
/device/lge/hammerhead/
Dproprietary-blobs.txt73 /system/lib/libmm-color-convertor.so
Dvendor_owner_info.txt99 system/lib/libmm-color-convertor.so:qcom
/device/asus/deb/
Dproprietary-blobs.txt103 /system/lib/libmm-color-convertor.so
Dvendor_owner_info.txt94 system/lib/libmm-color-convertor.so:qcom