/external/skia/src/effects/ |
SkEmbossMask.h | 17 static void Emboss(SkMask* mask, const SkEmbossMaskFilter::Light&);
|
SkEmbossMaskFilter.cpp | 16 SkMaskFilter* SkEmbossMaskFilter::Create(SkScalar blurSigma, const Light& light) { 17 return new SkEmbossMaskFilter(blurSigma, light); 48 SkEmbossMaskFilter::Light light; local 50 memcpy(light.fDirection, direction, sizeof(light.fDirection)); 51 light.fAmbient = SkToU8(am); 52 light.fSpecular = SkToU8(sp); 54 return SkEmbossMaskFilter::Create(blurSigma, light); 108 Light light = fLight; local 128 Light light; local [all...] |
/external/skia/include/effects/ |
SkEmbossMaskFilter.h | 15 This mask filter creates a 3D emboss look, by specifying a light and blur amount. 19 struct Light { 26 static SkMaskFilter* Create(SkScalar blurSigma, const Light& light); 39 SkEmbossMaskFilter(SkScalar blurSigma, const Light& light); 43 Light fLight;
|
/external/mesa3d/src/mesa/main/ |
light.c | 31 #include "light.h" 52 if (ctx->Light.ShadeModel == mode) 56 ctx->Light.ShadeModel = mode; 86 if (ctx->Light.ProvokingVertex == mode) 90 ctx->Light.ProvokingVertex = mode; 96 * per-light state. 104 struct gl_light *light; local 107 light = &ctx->Light.Light[lnum] 634 struct gl_light *light, *list = &ctx->Light.EnabledList; local 887 struct gl_light *light; local 949 struct gl_light *light; local [all...] |
state.h | 55 if (ctx->Light.Enabled && 56 ctx->Light.Model.ColorControl == GL_SEPARATE_SPECULAR_COLOR)
|
state.c | 42 #include "light.h" 330 if (ctx->Light.ClampVertexColor == GL_FIXED_ONLY_ARB) 331 ctx->Light._ClampVertexColor = 334 ctx->Light._ClampVertexColor = ctx->Light.ClampVertexColor; 361 ctx->VertexProgram._TwoSideEnabled = (ctx->Light.Enabled && 362 ctx->Light.Model.TwoSide); 435 if (ctx->Light.Enabled && ctx->Light.Model.TwoSide) 547 * light positions & normal transforms for other reasons [all...] |
/frameworks/base/services/core/java/com/android/server/lights/ |
LightsManager.java | 30 public abstract Light getLight(int id);
|
Light.java | 19 public abstract class Light { 25 * Light brightness is managed by a user setting. 30 * Light brightness is managed by a light sensor. 35 * Low-persistence light mode.
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
nv10_state_tnl.c | 60 unsigned mask = get_material_bitmask(ctx->Light._ColorMaterialBitmask); 63 PUSH_DATA (push, ctx->Light.ColorMaterialEnabled ? mask : 0); 185 en_lights |= get_light_mode(&ctx->Light.Light[i]) << 2 * i; 190 PUSH_DATAb(push, ctx->Light.Enabled); 199 struct gl_lightmodel *m = &ctx->Light.Model; 209 (!ctx->Light.Enabled && ctx->Fog.ColorSumEnabled ? 285 struct gl_light *l = &ctx->Light.Light[i]; 315 (ctx->Light.ColorMaterialEnabled && [all...] |
nv20_state_tnl.c | 92 unsigned mask = get_material_bitmask(ctx->Light._ColorMaterialBitmask); 95 PUSH_DATA (push, ctx->Light.ColorMaterialEnabled ? mask : 0); 179 struct gl_lightmodel *m = &ctx->Light.Model; 193 PUSH_DATAb(push, ctx->Light.Model.TwoSide); 201 struct gl_light *l = &ctx->Light.Light[i]; 231 (ctx->Light.ColorMaterialEnabled && \ 232 ctx->Light._ColorMaterialBitmask & (1 << MAT_ATTRIB_##attr(side))) 239 float (*mat)[4] = ctx->Light.Material.Attrib; 245 COPY_3V(c_factor, ctx->Light.Model.Ambient) [all...] |
/external/mesa3d/src/mesa/program/ |
prog_statevars.c | 59 const struct gl_material *mat = &ctx->Light.Material; 93 /* state[1] is the light number */ 95 /* state[2] is the light attribute */ 98 COPY_4V(value, ctx->Light.Light[ln].Ambient); 101 COPY_4V(value, ctx->Light.Light[ln].Diffuse); 104 COPY_4V(value, ctx->Light.Light[ln].Specular); 107 COPY_4V(value, ctx->Light.Light[ln].EyePosition) [all...] |
/external/mesa3d/src/mesa/tnl/ |
t_vb_lighttmp.h | 53 GLfloat (*base)[3] = ctx->Light._BaseColor; 77 sumA[0] = ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_DIFFUSE][3]; 82 sumA[1] = ctx->Light.Material.Attrib[MAT_ATTRIB_BACK_DIFFUSE][3]; 91 struct gl_light *light; local 95 sumA[0] = ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_DIFFUSE][3]; 97 sumA[1] = ctx->Light.Material.Attrib[MAT_ATTRIB_BACK_DIFFUSE][3]; 109 /* Add contribution from each enabled light source */ 110 foreach (light, &ctx->Light.EnabledList) { 116 GLfloat VP[3]; /* unit vector from vertex to light */ 269 struct gl_light *light; local 423 const struct gl_light *light = ctx->Light.EnabledList.next; local 534 const struct gl_light *light; local [all...] |
t_vb_light.c | 29 #include "main/light.h" 98 * P = light source position 103 * // light at infinity 178 shininess = ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_SHININESS][0]; 182 shininess = ctx->Light.Material.Attrib[MAT_ATTRIB_BACK_SHININESS][0]; 208 /* recompute derived light/material values */ 234 if (ctx->Light.ColorMaterialEnabled) { 235 const GLuint bitmask = ctx->Light._ColorMaterialBitmask; 253 store->mat[j].current = ctx->Light.Material.Attrib[attr]; 334 if (!ctx->Light.Enabled || ctx->VertexProgram._Current [all...] |
t_vb_rendertmp.h | 85 if (ctx->Light.ProvokingVertex == GL_LAST_VERTEX_CONVENTION_EXT) 110 if (ctx->Light.ProvokingVertex == GL_LAST_VERTEX_CONVENTION_EXT) 134 if (ctx->Light.ProvokingVertex == GL_LAST_VERTEX_CONVENTION_EXT) 141 if (ctx->Light.ProvokingVertex == GL_LAST_VERTEX_CONVENTION_EXT) 148 if (ctx->Light.ProvokingVertex == GL_LAST_VERTEX_CONVENTION_EXT) 174 if (ctx->Light.ProvokingVertex == GL_LAST_VERTEX_CONVENTION_EXT) 181 if (ctx->Light.ProvokingVertex == GL_LAST_VERTEX_CONVENTION_EXT) 206 if (ctx->Light.ProvokingVertex == GL_LAST_VERTEX_CONVENTION_EXT) { 232 if (ctx->Light.ProvokingVertex == GL_LAST_VERTEX_CONVENTION_EXT) 268 if (ctx->Light.ProvokingVertex == GL_LAST_VERTEX_CONVENTION_EXT [all...] |
t_rasterpos.c | 29 #include "main/light.h" 122 /*const*/ GLfloat (*base)[3] = ctx->Light._BaseColor; 123 const struct gl_light *light; local 128 ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_DIFFUSE][3], 0.0F, 1.0F ); 131 foreach (light, &ctx->Light.EnabledList) { 133 GLfloat VP[3]; /* vector from vertex to light pos */ 137 if (!(light->_Flags & LIGHT_POSITIONAL)) { 138 /* light at infinity */ 139 COPY_3V(VP, light->_VP_inf_norm) [all...] |
/external/mesa3d/src/mesa/x86/ |
gen_matypes.c | 98 OFFSET( "CTX_LIGHT_ENABLED ", struct gl_context, Light.Enabled ); 99 OFFSET( "CTX_LIGHT_SHADE_MODEL ", struct gl_context, Light.ShadeModel ); 100 OFFSET( "CTX_LIGHT_COLOR_MAT_FACE ", struct gl_context, Light.ColorMaterialFace ); 101 OFFSET( "CTX_LIGHT_COLOR_MAT_MODE ", struct gl_context, Light.ColorMaterialMode ); 102 OFFSET( "CTX_LIGHT_COLOR_MAT_MASK ", struct gl_context, Light._ColorMaterialBitmask ); 103 OFFSET( "CTX_LIGHT_COLOR_MAT_ENABLED ", struct gl_context, Light.ColorMaterialEnabled ); 104 OFFSET( "CTX_LIGHT_ENABLED_LIST ", struct gl_context, Light.EnabledList ); 105 OFFSET( "CTX_LIGHT_NEED_VERTS ", struct gl_context, Light._NeedVertices ); 106 OFFSET( "CTX_LIGHT_BASE_COLOR ", struct gl_context, Light._BaseColor );
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
gen6_clip_state.c | 54 if (ctx->Light.ProvokingVertex == GL_FIRST_VERTEX_CONVENTION) {
|
brw_sf.c | 194 key.do_flat_shading = (ctx->Light.ShadeModel == GL_FLAT); 195 key.do_twoside_color = (ctx->Light.Enabled && ctx->Light.Model.TwoSide);
|
brw_clip.c | 151 key.do_flat_shading = (ctx->Light.ShadeModel == GL_FLAT); 152 key.pv_first = (ctx->Light.ProvokingVertex == GL_FIRST_VERTEX_CONVENTION); 229 if (ctx->Light.Model.TwoSide && 238 if (ctx->Light.Model.TwoSide &&
|
gen7_clip_state.c | 81 if (ctx->Light.ProvokingVertex == GL_FIRST_VERTEX_CONVENTION) {
|
/external/mesa3d/src/mesa/tnl_dd/ |
t_dd_unfilled.h | 48 if (ctx->Light.ShadeModel == GL_FLAT && HAVE_HW_FLATSHADE) { 86 if (ctx->Light.ShadeModel == GL_FLAT && HAVE_HW_FLATSHADE) { 116 if (ctx->Light.ShadeModel == GL_FLAT && HAVE_HW_FLATSHADE) { 149 if (ctx->Light.ShadeModel == GL_FLAT && HAVE_HW_FLATSHADE) {
|
/external/roboto-fonts/ |
fonts.mk | 22 Roboto-Light.ttf \ 32 RobotoCondensed-Light.ttf \
|
Android.mk | 58 $(eval $(call create-font-symlink,Roboto-Light.ttf,Roboto-Regular.ttf)) 73 Roboto-Light.ttf \ 83 RobotoCondensed-Light.ttf \
|
/external/skia/samplecode/ |
SampleEmboss.cpp | 29 SkEmbossMaskFilter::Light fLight;
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
radeon_state_init.c | 217 TCL_CHECK( tcl_lighting, ctx->Light.Enabled, 0 ) 218 TCL_CHECK( tcl_lighting_add4, ctx->Light.Enabled, 4 ) 219 TCL_CHECK( tcl_eyespace_or_lighting_add4, ctx->_NeedEyeCoords || ctx->Light.Enabled, 4 ) 220 TCL_CHECK( tcl_lit0_add6, ctx->Light.Enabled && ctx->Light.Light[0].Enabled, 6 ) 221 TCL_CHECK( tcl_lit1_add6, ctx->Light.Enabled && ctx->Light.Light[1].Enabled, 6 ) 222 TCL_CHECK( tcl_lit2_add6, ctx->Light.Enabled && ctx->Light.Light[2].Enabled, 6 [all...] |