/external/skia/src/sfnt/ |
SkPanose.h | 51 Light = 3, 201 Light = 3, 322 Light = 3,
|
SkOTTable_OS_2_V0.h | 29 Light = SkTEndian_SwapBE16(300),
|
SkOTTable_OS_2_VA.h | 30 Light = SkTEndian_SwapBE16(3),
|
/frameworks/base/services/core/java/com/android/server/notification/ |
NotificationRecord.java | 131 private Light mLight; 193 private Light calculateLights() { 203 Light light = getChannel().shouldShowLights() ? new Light(channelLightColor, local 210 light = new Light(notification.ledARGB, notification.ledOnMS, 213 light = new Light(defaultLightColor, defaultLightOn, 217 light = null [all...] |
/external/mesa3d/src/mesa/main/ |
enable.c | 34 #include "light.h" 335 if (ctx->Light.ColorMaterialEnabled == state) 339 ctx->Light.ColorMaterialEnabled = state; 386 if (ctx->Light.Light[cap-GL_LIGHT0].Enabled == state) 389 ctx->Light.Light[cap-GL_LIGHT0].Enabled = state; 391 insert_at_tail(&ctx->Light.EnabledList, 392 &ctx->Light.Light[cap-GL_LIGHT0]) [all...] |
get.c | 512 { GL_CLAMP_VERTEX_COLOR, CONTEXT_ENUM(Light.ClampVertexColor), extra_ARB_color_buffer_float }, 550 { GL_LIGHT0, CONTEXT_BOOL(Light.Light[0].Enabled), NO_EXTRA }, 551 { GL_LIGHT1, CONTEXT_BOOL(Light.Light[1].Enabled), NO_EXTRA }, 552 { GL_LIGHT2, CONTEXT_BOOL(Light.Light[2].Enabled), NO_EXTRA }, 553 { GL_LIGHT3, CONTEXT_BOOL(Light.Light[3].Enabled), NO_EXTRA }, 554 { GL_LIGHT4, CONTEXT_BOOL(Light.Light[4].Enabled), NO_EXTRA } [all...] |
attrib.c | 42 #include "light.h" 81 GLboolean Light[MAX_LIGHTS]; 268 attr->ColorMaterial = ctx->Light.ColorMaterialEnabled; 275 attr->Light[i] = ctx->Light.Light[i].Enabled; 277 attr->Lighting = ctx->Light.Enabled; 358 memcpy( attr, &ctx->Light, sizeof(struct gl_light_attrib) ); 519 TEST_AND_UPDATE(ctx->Light.ColorMaterialEnabled, enable->ColorMaterial, 527 TEST_AND_UPDATE(ctx->Light.Enabled, enable->Lighting, GL_LIGHTING) 1055 const struct gl_light_attrib *light; local [all...] |
/external/mesa3d/src/mesa/drivers/dri/r200/ |
r200_state.c | 41 #include "main/light.h" 777 if (ctx->Light.Enabled && 778 ctx->Light.Model.ColorControl == GL_SEPARATE_SPECULAR_COLOR) { 789 else if (ctx->Light.Enabled) { 846 ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_EMISSION]); 848 ctx->Light.Model.Ambient, 849 ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_AMBIENT]); 853 COPY_3V( &fcmd[GLT_RED], ctx->Light.Model.Ambient ); 860 * - light[p].colors 861 * - light[p].enable [all...] |
/frameworks/base/services/tests/notification/src/com/android/server/notification/ |
NotificationRecordTest.java | 102 private static final NotificationRecord.Light CUSTOM_LIGHT = 103 new NotificationRecord.Light(1, 2, 3); 380 NotificationRecord.Light expected = new NotificationRecord.Light( 396 NotificationRecord.Light expected = new NotificationRecord.Light(
|
/external/skia/gm/ |
lightingshader2.cpp | 49 builder.add(SkLights::Light::MakeDirectional(SkColor3f::Make(1.0f, 1.0f, 1.0f), 61 builderTwoDir.add(SkLights::Light::MakeDirectional(SkColor3f::Make(1.0f, 0.0f, 1.0f), 63 builderTwoDir.add(SkLights::Light::MakeDirectional(SkColor3f::Make(0.0f, 1.0f, 1.0f),
|
/external/mesa3d/src/mesa/state_tracker/ |
st_atom_shader.c | 150 st->ctx->Light._ClampVertexColor;
|
/external/mesa3d/src/mesa/tnl/ |
t_vb_normals.c | 97 (!ctx->Light.Enabled &&
|
t_vb_cliptmp.h | 169 if (ctx->Light.ShadeModel == GL_FLAT) 240 if (ctx->Light.ShadeModel == GL_FLAT) { 303 if (ctx->Light.ShadeModel == GL_FLAT) {
|
/external/skia/samplecode/ |
SampleLighting.cpp | 24 builder.add(SkLights::Light::MakeDirectional(SkColor3f::Make(1.0f, 1.0f, blue), dir));
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
gen6_sf_state.c | 124 bool shade_model_flat = ctx->Light.ShadeModel == GL_FLAT; 260 if (ctx->Light.ProvokingVertex != GL_FIRST_VERTEX_CONVENTION) {
|
gen7_sf_state.c | 40 bool shade_model_flat = ctx->Light.ShadeModel == GL_FLAT; 284 if (ctx->Light.ProvokingVertex != GL_FIRST_VERTEX_CONVENTION) {
|
/external/mesa3d/src/mesa/swrast/ |
s_lines.c | 229 (ctx->Light.Enabled && 230 ctx->Light.Model.ColorControl == GL_SEPARATE_SPECULAR_COLOR));
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
nouveau_vbo_t.c | 110 if (ctx->Light.Enabled) { 171 if (ctx->Fog.ColorSumEnabled && !ctx->Light.Enabled) 182 if (ctx->Light.Enabled || 186 if (ctx->Light.Enabled && render->mode == IMM) { 192 if (ctx->Light.Model.TwoSide) {
|
nouveau_render_t.c | 34 #include "main/light.h" 205 COPY_4V(ctx->Light.Material.Attrib[attr], (float *)v);
|
nv04_state_raster.c | 212 if (ctx->Light.ShadeModel == GL_SMOOTH)
|
/external/mesa3d/src/mesa/drivers/common/ |
driverfuncs.c | 267 ctx->Driver.Enable(ctx, GL_LIGHTING, ctx->Light.Enabled); 290 GLfloat f = (GLfloat) ctx->Light.Model.ColorControl; 300 ctx->Driver.ShadeModel(ctx, ctx->Light.ShadeModel);
|
/external/swiftshader/src/D3D9/ |
Direct3DDevice9.hpp | 151 long __stdcall SetLight(unsigned long index, const D3DLIGHT9 *light); 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...] |
/external/mesa3d/src/mesa/vbo/ |
vbo_context.c | 138 cl->Ptr = (const void *)ctx->Light.Material.Attrib[i];
|
/external/skia/src/effects/ |
SkEmbossMask.cpp | 81 void SkEmbossMask::Emboss(SkMask* mask, const SkEmbossMaskFilter::Light& light) { 86 int specular = light.fSpecular; 87 int ambient = light.fAmbient; 88 SkFixed lx = SkScalarToFixed(light.fDirection[0]); 89 SkFixed ly = SkScalarToFixed(light.fDirection[1]); 90 SkFixed lz = SkScalarToFixed(light.fDirection[2]); 132 // R = 2 (Light * Normal) Normal - Light 143 // value in the light, and just pass that in to this function [all...] |
/external/skia/src/utils/ |
SkShadowPaintFilterCanvas.h | 23 * Note that we can only do this for one light at a time! 24 * It is up to the user to set the 0th light in fLights to 25 * the light the want to render the depth map with. 35 static SkISize ComputeDepthMapSize(const SkLights::Light& light, int maxDepth,
|