/art/tools/veridex/ |
appcompat.sh | 49 --light-greylist=${PACKAGING}/hiddenapi-light-greylist.txt \
|
Android.mk | 33 ${TARGET_OUT_COMMON_INTERMEDIATES}/PACKAGING/hiddenapi-light-greylist.txt \
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
NeutralGoodDrawable.java | 41 ContextThemeWrapper light = new ContextThemeWrapper(context, dualToneLightTheme); local 44 return create(light, dark, resId); 49 * @param light - a context using the R.attr.lightIconTheme 53 public static NeutralGoodDrawable create(Context light, Context dark, int resId) { 56 light.getDrawable(resId).mutate(),
|
/external/skia/src/effects/ |
SkEmbossMask.cpp | 46 void SkEmbossMask::Emboss(SkMask* mask, const SkEmbossMaskFilter::Light& light) { 49 int specular = light.fSpecular; 50 int ambient = light.fAmbient; 51 SkFixed lx = SkScalarToFixed(light.fDirection[0]); 52 SkFixed ly = SkScalarToFixed(light.fDirection[1]); 53 SkFixed lz = SkScalarToFixed(light.fDirection[2]); 86 // R = 2 (Light * Normal) Normal - Light 97 // value in the light, and just pass that in to this function [all...] |
SkLightingImageFilter.cpp | 149 virtual SkPMColor light(const SkPoint3& normal, const SkPoint3& surfaceTolight, 157 SkPMColor light(const SkPoint3& normal, const SkPoint3& surfaceTolight, 179 SkPMColor light(const SkPoint3& normal, const SkPoint3& surfaceTolight, 303 *dptr++ = lightingType.light(topLeftNormal(m, surfaceScale), surfaceToLight, 311 *dptr++ = lightingType.light(topNormal(m, surfaceScale), surfaceToLight, 316 *dptr++ = lightingType.light(topRightNormal(m, surfaceScale), surfaceToLight, 330 *dptr++ = lightingType.light(leftNormal(m, surfaceScale), surfaceToLight, 338 *dptr++ = lightingType.light(interiorNormal(m, surfaceScale), surfaceToLight, 343 *dptr++ = lightingType.light(rightNormal(m, surfaceScale), surfaceToLight, 355 *dptr++ = lightingType.light(bottomLeftNormal(m, surfaceScale), surfaceToLight 601 const SkImageFilterLight* light() const { return fLight.get(); } function in class:GrLightingEffect 1365 auto light = this->light()->makeColorSpace(xformer); local 1521 auto light = this->light()->makeColorSpace(xformer); local [all...] |
/external/skqp/src/effects/ |
SkEmbossMask.cpp | 46 void SkEmbossMask::Emboss(SkMask* mask, const SkEmbossMaskFilter::Light& light) { 49 int specular = light.fSpecular; 50 int ambient = light.fAmbient; 51 SkFixed lx = SkScalarToFixed(light.fDirection[0]); 52 SkFixed ly = SkScalarToFixed(light.fDirection[1]); 53 SkFixed lz = SkScalarToFixed(light.fDirection[2]); 86 // R = 2 (Light * Normal) Normal - Light 97 // value in the light, and just pass that in to this function [all...] |
SkLightingImageFilter.cpp | 149 virtual SkPMColor light(const SkPoint3& normal, const SkPoint3& surfaceTolight, 157 SkPMColor light(const SkPoint3& normal, const SkPoint3& surfaceTolight, 179 SkPMColor light(const SkPoint3& normal, const SkPoint3& surfaceTolight, 303 *dptr++ = lightingType.light(topLeftNormal(m, surfaceScale), surfaceToLight, 311 *dptr++ = lightingType.light(topNormal(m, surfaceScale), surfaceToLight, 316 *dptr++ = lightingType.light(topRightNormal(m, surfaceScale), surfaceToLight, 330 *dptr++ = lightingType.light(leftNormal(m, surfaceScale), surfaceToLight, 338 *dptr++ = lightingType.light(interiorNormal(m, surfaceScale), surfaceToLight, 343 *dptr++ = lightingType.light(rightNormal(m, surfaceScale), surfaceToLight, 355 *dptr++ = lightingType.light(bottomLeftNormal(m, surfaceScale), surfaceToLight 601 const SkImageFilterLight* light() const { return fLight.get(); } function in class:GrLightingEffect 1365 auto light = this->light()->makeColorSpace(xformer); local 1521 auto light = this->light()->makeColorSpace(xformer); local [all...] |
/frameworks/base/services/core/java/com/android/server/lights/ |
LightsManager.java | 19 import android.hardware.light.V2_0.Type; 32 public abstract Light getLight(int id);
|
LightsService.java | 34 private final class LightImpl extends Light { 198 public Light getLight(int id) { 210 LightImpl light = (LightImpl)msg.obj; 211 light.stopFlashing(); 215 static native void setLight_native(int light, int color, int mode,
|
/external/swiftshader/src/Renderer/ |
VertexProcessor.cpp | 262 void VertexProcessor::setLightEnable(unsigned int light, bool lightEnable) 264 if(light < 8) 266 context->setLightEnable(light, lightEnable); 280 void VertexProcessor::setLightPosition(unsigned int light, const Point &lightPosition) 282 if(light < 8) 284 context->setLightPosition(light, lightPosition); 291 void VertexProcessor::setLightDiffuse(unsigned int light, const Color<float> &lightDiffuse) 293 if(light < 8) 295 ff.lightDiffuse[light][0] = lightDiffuse.r; 296 ff.lightDiffuse[light][1] = lightDiffuse.g [all...] |
VertexProcessor.hpp | 211 void setLightEnable(unsigned int light, bool lightEnable); 215 void setLightPosition(unsigned int light, const Point &lightPosition); 216 void setLightViewPosition(unsigned int light, const Point &lightPosition); 217 void setLightDiffuse(unsigned int light, const Color<float> &lightDiffuse); 218 void setLightSpecular(unsigned int light, const Color<float> &lightSpecular); 219 void setLightAmbient(unsigned int light, const Color<float> &lightAmbient); 220 void setLightAttenuation(unsigned int light, float constant, float linear, float quadratic); 221 void setLightRange(unsigned int light, float lightRange);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
KeyButtonDrawable.java | 31 * Drawable for {@link KeyButtonView}s which contains an asset for both normal mode and light 41 ShadowKeyDrawable light = new ShadowKeyDrawable(lightDrawable.mutate()); local 44 // Only apply the shadow on the light drawable 50 light.setShadowProperties(offsetX, offsetY, radius, color); 52 return new KeyButtonDrawable(new Drawable[] { light, dark });
|
/external/mesa3d/src/gallium/state_trackers/nine/ |
nine_dump.h | 41 nine_dump_D3DLIGHT9(unsigned ch, const D3DLIGHT9 *light)
|
/external/swiftshader/src/D3D8/ |
Direct3DDevice8.hpp | 135 long __stdcall SetLight(unsigned long index, const D3DLIGHT8 *light) override; 190 struct Light : D3DLIGHT8 192 Light &operator=(const D3DLIGHT8 &light) 194 Type = light.Type; 195 Diffuse = light.Diffuse; 196 Specular = light.Specular; 197 Ambient = light.Ambient; 198 Position = light.Position; 199 Direction = light.Direction 222 Lights light; member in class:D3D8::Direct3DDevice8 [all...] |
/hardware/interfaces/tests/extension/light/2.0/default/ |
Light.cpp | 16 #include "Light.h" 22 namespace light { namespace in namespace:android::hardware::tests::extension 26 // Methods from ::android::hardware::light::V2_0::ILight follow. 27 Return<Status> Light::setLight(Type type, const OldLightState& state) { 38 Return<void> Light::getSupportedTypes(getSupportedTypes_cb _hidl_cb) { 51 // Methods from ::android::hardware::example::extension::light::V2_0::ILight follow. 52 Return<Status> Light::setLightExt(Type /* type */, const LightState& /* state */) { 62 } // namespace light
|
/hardware/interfaces/light/2.0/ |
types.hal | 17 package android.hardware.light@2.0; 28 * Keep the light steady on or off. 33 * Flash the light at specified rate. 38 * Flash the light using hardware assist. 45 * Light brightness is managed by a user setting. 50 * Light brightness is managed by a light sensor. 68 * emitting light for a single frame. 81 * These light IDs correspond to logical lights, not physical. 82 * So for example, if your INDICATOR light is in line with you [all...] |
/external/swiftshader/src/D3D9/ |
Direct3DDevice9.hpp | 151 long __stdcall SetLight(unsigned long index, const D3DLIGHT9 *light) override; 224 struct Light : D3DLIGHT9 226 Light &operator=(const D3DLIGHT9 &light) 228 Type = light.Type; 229 Diffuse = light.Diffuse; 230 Specular = light.Specular; 231 Ambient = light.Ambient; 232 Position = light.Position; 233 Direction = light.Direction 256 Lights light; member in class:D3D9::Direct3DDevice9 [all...] |
/hardware/interfaces/light/2.0/default/ |
Light.cpp | 17 #define LOG_TAG "light" 23 #include "Light.h" 27 namespace light { namespace in namespace:android::hardware 46 Light::Light(std::map<Type, light_device_t*> &&lights) 49 // Methods from ::android::hardware::light::V2_0::ILight follow. 50 Return<Status> Light::setLight(Type type, const LightState& state) { 79 Return<void> Light::getSupportedTypes(getSupportedTypes_cb _hidl_cb) { 112 Return<void> Light::debug(const hidl_handle& handle, const hidl_vec<hidl_string>& /* options */) { 152 ALOGE("Light passthrough failed to load legacy HAL.") 164 light_device_t* light = getLightDevice(name); local [all...] |
/external/skia/include/effects/ |
SkLightingImageFilter.h | 45 SkLightingImageFilter(sk_sp<SkImageFilterLight> light, 50 const SkImageFilterLight* light() const { return fLight.get(); } function in class:SkLightingImageFilter
|
/external/skqp/include/effects/ |
SkLightingImageFilter.h | 45 SkLightingImageFilter(sk_sp<SkImageFilterLight> light, 50 const SkImageFilterLight* light() const { return fLight.get(); } function in class:SkLightingImageFilter
|
/frameworks/base/core/java/com/android/internal/util/ |
UserIcons.java | 67 * @param light whether we want a light icon (suitable for a dark background) 69 public static Drawable getDefaultUserIcon(Resources resources, int userId, boolean light) { 70 int colorResId = light ? R.color.user_icon_default_white : R.color.user_icon_default_gray;
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/util/ |
LightNavigationBarVerifier.java | 148 + " dark=" + darkNavBarPixels.length + " light=" + lightNavBarPixels.length); 153 (dark, light) -> Color.red(dark) - Color.red(light)), 155 (dark, light) -> Color.green(dark) - Color.green(light)), 157 (dark, light) -> Color.blue(dark) - Color.blue(light)), 162 // Exactly the same image. Safe to conclude that light navigation bar is not supported. 171 // (red, green, blue), we consider that it is because light navigation bar takes effect. 184 // consider light navigation bar is not supported. For instance, some devices ma [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
ColorFiltersMutateActivity.java | 79 ObjectAnimator light = ObjectAnimator.ofInt(this, "lightAdd", 0x00101030); local 80 light.setEvaluator(new ArgbEvaluator()); 81 light.setDuration(1000); 82 light.setRepeatCount(ObjectAnimator.INFINITE); 83 light.setRepeatMode(ObjectAnimator.REVERSE); 84 light.start();
|
/external/dng_sdk/source/ |
dng_camera_profile.h | 194 // Light sources for up to two calibrations. These use the EXIF 340 /// Setter for first of up to two light sources used for calibration. 345 void SetCalibrationIlluminant1 (uint32 light) 347 fCalibrationIlluminant1 = light; 351 /// Setter for second of up to two light sources used for calibration. 356 void SetCalibrationIlluminant2 (uint32 light) 358 fCalibrationIlluminant2 = light; 362 /// Getter for first of up to two light sources used for calibration. 372 /// Getter for second of up to two light sources used for calibration. 382 /// Getter for first of up to two light sources used for calibration, returnin [all...] |
/external/mesa3d/src/mesa/main/ |
rastpos.c | 126 /*const*/ GLfloat (*base)[3] = ctx->Light._BaseColor; 132 ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_DIFFUSE][3], 0.0F, 1.0F ); 135 mask = ctx->Light._EnabledLights; 138 struct gl_light *light = &ctx->Light.Light[i]; local 140 GLfloat VP[3]; /* vector from vertex to light pos */ 144 if (!(light->_Flags & LIGHT_POSITIONAL)) { 145 /* light at infinity */ 146 COPY_3V(VP, light->_VP_inf_norm) [all...] |