Home
last modified time | relevance | path

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

12345

/frameworks/base/services/core/jni/
Dcom_android_server_lights_LightsService.cpp107 jint light, jint colorARGB, jint flashMode, jint onMS, jint offMS, jint brightnessMode) in setLight_native() argument
112 if (light < 0 || light >= LIGHT_COUNT || devices->lights[light] == NULL) { in setLight_native()
116 uint32_t version = devices->lights[light]->common.version; in setLight_native()
121 if (light != LIGHT_INDEX_BACKLIGHT) { in setLight_native()
141 devices->lights[light]->set_light(devices->lights[light], &state); in setLight_native()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DColorFiltersMutateActivity.java79 ObjectAnimator light = ObjectAnimator.ofInt(this, "lightAdd", 0x00101030); in BitmapsView() local
80 light.setEvaluator(new ArgbEvaluator()); in BitmapsView()
81 light.setDuration(1000); in BitmapsView()
82 light.setRepeatCount(ObjectAnimator.INFINITE); in BitmapsView()
83 light.setRepeatMode(ObjectAnimator.REVERSE); in BitmapsView()
84 light.start(); in BitmapsView()
/frameworks/native/opengl/libagl/
Dlight.cpp469 light_t& light = c->lighting.lights[i-GL_LIGHT0]; in lightx() local
477 light.spotExp = param; in lightx()
484 light.spotCutoff = param; in lightx()
485 light.spotCutoffCosine = in lightx()
493 light.attenuation[0] = param; in lightx()
500 light.attenuation[1] = param; in lightx()
507 light.attenuation[2] = param; in lightx()
524 light_t& light = c->lighting.lights[i-GL_LIGHT0]; in lightxv() local
527 what = light.ambient.v; in lightxv()
530 what = light.diffuse.v; in lightxv()
[all …]
DAndroid.mk19 light.cpp.arm \
/frameworks/base/opengl/java/android/opengl/
DGLErrorWrapper.java426 public void glLightf(int light, int pname, float param) { in glLightf() argument
428 mgl.glLightf(light, pname, param); in glLightf()
432 public void glLightfv(int light, int pname, float[] params, int offset) { in glLightfv() argument
434 mgl.glLightfv(light, pname, params, offset); in glLightfv()
438 public void glLightfv(int light, int pname, FloatBuffer params) { in glLightfv() argument
440 mgl.glLightfv(light, pname, params); in glLightfv()
444 public void glLightx(int light, int pname, int param) { in glLightx() argument
446 mgl.glLightx(light, pname, param); in glLightx()
450 public void glLightxv(int light, int pname, int[] params, int offset) { in glLightxv() argument
452 mgl.glLightxv(light, pname, params, offset); in glLightxv()
[all …]
DGLES10.java731 int light, in glLightf() argument
739 int light, in glLightfv() argument
748 int light, in glLightfv() argument
756 int light, in glLightx() argument
764 int light, in glLightxv() argument
773 int light, in glLightxv() argument
DGLES11.java361 int light, in glGetLightfv() argument
370 int light, in glGetLightfv() argument
378 int light, in glGetLightxv() argument
387 int light, in glGetLightxv() argument
DGLLogWrapper.java830 private String getLightName(int light) { in getLightName() argument
831 if (light >= GL_LIGHT0 && light <= GL_LIGHT7) { in getLightName()
832 return "GL_LIGHT" + Integer.toString(light); in getLightName()
834 return getHex(light); in getLightName()
1842 public void glLightf(int light, int pname, float param) { in glLightf() argument
1844 arg("light", getLightName(light)); in glLightf()
1849 mgl.glLightf(light, pname, param); in glLightf()
1853 public void glLightfv(int light, int pname, float[] params, int offset) { in glLightfv() argument
1855 arg("light", getLightName(light)); in glLightfv()
1861 mgl.glLightfv(light, pname, params, offset); in glLightfv()
[all …]
DGLES11Ext.java391 int light, in glGetLightxvOES() argument
400 int light, in glGetLightxvOES() argument
481 int light, in glLightxOES() argument
489 int light, in glLightxvOES() argument
498 int light, in glLightxvOES() argument
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
DGL10.java581 int light, in glLightf() argument
587 int light, in glLightfv() argument
594 int light, in glLightfv() argument
600 int light, in glLightx() argument
606 int light, in glLightxv() argument
613 int light, in glLightxv() argument
DGL11.java300 int light, in glGetLightfv() argument
307 int light, in glGetLightfv() argument
313 int light, in glGetLightxv() argument
320 int light, in glGetLightxv() argument
/frameworks/base/opengl/java/com/google/android/gles_jni/
DGLImpl.java556 int light, in glLightf() argument
564 int light, in glLightfv() argument
573 int light, in glLightfv() argument
581 int light, in glLightx() argument
589 int light, in glLightxv() argument
598 int light, in glLightxv() argument
1373 int light, in glGetLightfv() argument
1382 int light, in glGetLightfv() argument
1390 int light, in glGetLightxv() argument
1399 int light, in glGetLightxv() argument
/frameworks/native/opengl/libs/GLES_CM/
Dgl_api.in34 void API_ENTRY(glGetLightfv)(GLenum light, GLenum pname, GLfloat *params) {
35 CALL_GL_API(glGetLightfv, light, pname, params);
52 void API_ENTRY(glLightf)(GLenum light, GLenum pname, GLfloat param) {
53 CALL_GL_API(glLightf, light, pname, param);
55 void API_ENTRY(glLightfv)(GLenum light, GLenum pname, const GLfloat *params) {
56 CALL_GL_API(glLightfv, light, pname, params);
256 void API_ENTRY(glGetLightxv)(GLenum light, GLenum pname, GLfixed *params) {
257 CALL_GL_API(glGetLightxv, light, pname, params);
298 void API_ENTRY(glLightx)(GLenum light, GLenum pname, GLfixed param) {
299 CALL_GL_API(glLightx, light, pname, param);
[all …]
/frameworks/base/core/java/com/android/internal/util/
DUserIcons.java67 public static Drawable getDefaultUserIcon(int userId, boolean light) { in getDefaultUserIcon() argument
68 int colorResId = light ? R.color.user_icon_default_white : R.color.user_icon_default_gray; in getDefaultUserIcon()
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/
Dvr.rs115 float light = 1;
171 float lop = (ambient + diffuse * dot_prod) * light * opf;
172 light -= opf;
181 if (light > 0) {
274 … float lop = (ambient + diffuse * dot_prod + specular * pow(spec, 10)) * light * opf;
275 light -= opf;
279 if (light <= 0) {
/frameworks/base/docs/html/distribute/stories/games/
Dglu-tap-baseball.jd46 The results showed that of three different color schemes — blue, light blue,
47 and light red — an icon with a light blue background converted 2.9 percent
/frameworks/base/services/core/java/com/android/server/lights/
DLightsService.java235 LightImpl light = (LightImpl)msg.obj;
236 light.stopFlashing();
243 static native void setLight_native(long ptr, int light, int color, int mode, in setLight_native() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DLightStatusBarController.java84 boolean light = (vis & View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR) != 0; in isLight()
85 return allowLight && light; in isLight()
/frameworks/native/opengl/tools/glgen/specs/gles11/
DGLES10.spec51 void glLightf ( GLenum light, GLenum pname, GLfloat param )
52 void glLightfv ( GLenum light, GLenum pname, const GLfloat *params )
53 void glLightx ( GLenum light, GLenum pname, GLfixed param )
54 void glLightxv ( GLenum light, GLenum pname, const GLfixed *params )
DGLES11.spec17 void glGetLightfv ( GLenum light, GLenum pname, GLfloat *params )
18 void glGetLightxv ( GLenum light, GLenum pname, GLfixed *params )
DGLES11Ext.spec25 void glGetLightxvOES ( GLenum light, GLenum pname, GLfixed *params )
31 void glLightxOES ( GLenum light, GLenum pname, GLfixed param )
32 void glLightxvOES ( GLenum light, GLenum pname, const GLfixed *params )
/frameworks/base/docs/html/develop/
Dindex.jd13 <section class="dac-expand dac-hero dac-light">
64 <section class="dac-section dac-light"><div class="wrap">
94 <section class="dac-section dac-section-light"><div class="wrap">
136 <section class="dac-section dac-light" id="courses"><div class="wrap">
/frameworks/native/opengl/tools/glgen/specs/jsr239/
Dglspec-1.051 void glLightf ( GLenum light, GLenum pname, GLfloat param )
52 void glLightfv ( GLenum light, GLenum pname, const GLfloat *params )
53 void glLightx ( GLenum light, GLenum pname, GLfixed param )
54 void glLightxv ( GLenum light, GLenum pname, const GLfixed *params )
Dglspec-1.117 void glGetLightfv ( GLenum light, GLenum pname, GLfloat *params )
18 void glGetLightxv ( GLenum light, GLenum pname, GLfixed *params )
/frameworks/base/docs/html-intl/intl/ja/training/material/
Ddrawables.jd54 <li>Vibrant light (鮮やかな明色)</li>
57 <li>Muted light (控えめな明色)</li>

12345