Searched refs:config (Results 26 - 50 of 112) sorted by relevance

12345

/frameworks/base/opengl/tests/fillrate/
H A Dfillrate.cpp43 EGLConfig config; local
54 dpy, configAttribs, window, &config);
60 surface = eglCreateWindowSurface(dpy, config, window, NULL);
61 context = eglCreateContext(dpy, config, NULL, NULL);
/frameworks/base/opengl/tests/testPauseResume/src/com/android/test/
H A DTestView.java79 public void onSurfaceCreated(GL10 gl, EGLConfig config) { argument
/frameworks/base/opengl/tests/textures/
H A Dtextures.cpp40 EGLConfig config; local
51 dpy, configAttribs, window, &config);
57 surface = eglCreateWindowSurface(dpy, config, window, NULL);
58 context = eglCreateContext(dpy, config, NULL, NULL);
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsHelper.java174 Configuration config = am.getConfiguration();
175 config.locale = loc;
177 config.userSetLocale = true;
179 am.updateConfiguration(config);
/frameworks/base/media/libstagefright/omx/
H A DOMXComponentBase.h42 OMX_INDEXTYPE index, OMX_PTR config) = 0;
45 OMX_INDEXTYPE index, const OMX_PTR config) = 0;
/frameworks/base/wifi/java/android/net/wifi/
H A DIWifiManager.aidl33 int addOrUpdateNetwork(in WifiConfiguration config);
/frameworks/base/opengl/tests/filter/
H A Dfilter.cpp35 EGLConfig config; local
51 dpy, s_configAttribs, window, &config);
52 surface = eglCreateWindowSurface(dpy, config, window, NULL);
55 eglChooseConfig(dpy, s_configAttribs, &config, 1, &numConfigs);
57 surface = eglCreatePbufferSurface(dpy, config, attribs);
62 context = eglCreateContext(dpy, config, NULL, NULL);
/frameworks/base/core/jni/
H A Dandroid_util_AssetManager.cpp91 uint32_t typeSpecFlags, ResTable_config* config = NULL);
95 uint32_t typeSpecFlags, ResTable_config* config)
105 if (config != NULL) {
106 env->SetIntField(outValue, gTypedValueOffsets.mDensity, config->density);
549 ResTable_config config; local
550 memset(&config, 0, sizeof(config));
554 config.mcc = (uint16_t)mcc;
555 config.mnc = (uint16_t)mnc;
556 config
93 copyValue(JNIEnv* env, jobject outValue, const ResTable* table, const Res_value& value, uint32_t ref, ssize_t block, uint32_t typeSpecFlags, ResTable_config* config) argument
720 ResTable_config config; local
931 ResTable_config config; local
1166 ResTable_config config; local
1318 ResTable_config config; local
[all...]
H A Dcom_google_android_gles_jni_EGLImpl.cpp232 jobject config, jobject share_context, jintArray attrib_list) {
233 if (display == NULL || config == NULL || share_context == NULL
239 EGLConfig cnf = getConfig(_env, config);
248 jobject config, jintArray attrib_list) {
249 if (display == NULL || config == NULL
255 EGLConfig cnf = getConfig(_env, config);
274 jobject display, jobject config, jobject native_pixmap,
277 if (display == NULL || config == NULL || native_pixmap == NULL
283 EGLConfig cnf = getConfig(_env, config);
303 pixmap.format = convertPixelFormat(nativeBitmap->config());
231 jni_eglCreateContext(JNIEnv *_env, jobject _this, jobject display, jobject config, jobject share_context, jintArray attrib_list) argument
247 jni_eglCreatePbufferSurface(JNIEnv *_env, jobject _this, jobject display, jobject config, jintArray attrib_list) argument
273 jni_eglCreatePixmapSurface(JNIEnv *_env, jobject _this, jobject out_sur, jobject display, jobject config, jobject native_pixmap, jintArray attrib_list) argument
319 jni_eglCreateWindowSurface(JNIEnv *_env, jobject _this, jobject display, jobject config, jobject native_window, jintArray attrib_list) argument
345 jni_eglGetConfigAttrib(JNIEnv *_env, jobject _this, jobject display, jobject config, jint attribute, jintArray value) argument
[all...]
/frameworks/base/opengl/tests/angeles/include/GLES/
H A Degl.h147 /* 0x3039 - 0x304F reserved for additional config attributes. */
204 GLAPI EGLBoolean APIENTRY eglGetConfigAttrib (EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint *value);
206 GLAPI EGLSurface APIENTRY eglCreateWindowSurface (EGLDisplay dpy, EGLConfig config, NativeWindowType window, const EGLint *attrib_list);
207 GLAPI EGLSurface APIENTRY eglCreatePixmapSurface (EGLDisplay dpy, EGLConfig config, NativePixmapType pixmap, const EGLint *attrib_list);
208 GLAPI EGLSurface APIENTRY eglCreatePbufferSurface (EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list);
212 GLAPI EGLContext APIENTRY eglCreateContext (EGLDisplay dpy, EGLConfig config, EGLContext share_list, const EGLint *attrib_list);
/frameworks/base/opengl/java/android/opengl/
H A DGLSurfaceView.java357 * Install a config chooser which will choose a config
375 * Install a config chooser which will choose a config
416 * EGLConfigChooser is responsible for choosing an OpenGL ES 2.0-compatible config.
616 * @param config the EGLConfig of the created surface. Can be used
619 void onSurfaceCreated(GL10 gl, EGLConfig config); argument
678 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig config) { argument
682 return egl.eglCreateContext(display, config, EGL10.EGL_NO_CONTEXT,
706 EGLSurface createWindowSurface(EGL10 egl, EGLDisplay display, EGLConfig config, argument
713 createWindowSurface(EGL10 egl, EGLDisplay display, EGLConfig config, Object nativeWindow) argument
848 findConfigAttrib(EGL10 egl, EGLDisplay display, EGLConfig config, int attribute, int defaultValue) argument
[all...]
/frameworks/base/opengl/include/EGL/
H A Degl.h132 /* Reserved 0x3041-0x304F for additional config attributes */
141 /* More config attribute values, for EGL_TEXTURE_FORMAT */
263 EGLAPI EGLBoolean EGLAPIENTRY eglGetConfigAttrib(EGLDisplay dpy, EGLConfig config,
266 EGLAPI EGLSurface EGLAPIENTRY eglCreateWindowSurface(EGLDisplay dpy, EGLConfig config,
269 EGLAPI EGLSurface EGLAPIENTRY eglCreatePbufferSurface(EGLDisplay dpy, EGLConfig config,
271 EGLAPI EGLSurface EGLAPIENTRY eglCreatePixmapSurface(EGLDisplay dpy, EGLConfig config,
287 EGLConfig config, const EGLint *attrib_list);
298 EGLAPI EGLContext EGLAPIENTRY eglCreateContext(EGLDisplay dpy, EGLConfig config,
/frameworks/base/tools/localize/
H A DValuesFile.cpp146 ValuesFile::ValuesFile(const Configuration& config) argument
147 :m_config(config),
158 ValuesFile::ParseFile(const string& filename, const Configuration& config, argument
161 ValuesFile* result = new ValuesFile(config);
170 ValuesFile::ParseString(const string& filename, const string& text, const Configuration& config, argument
173 ValuesFile* result = new ValuesFile(config);
H A DXLIFFFile.h18 string config; member in struct:Stats
66 Stats GetStats(const string& config) const;
H A Dlocalize.h34 int select_files(vector<string> *resFiles, const string& config,
/frameworks/base/services/java/com/android/server/
H A DAttributeCache.java83 public void updateConfiguration(Configuration config) { argument
85 int changes = mConfiguration.updateFrom(config);
/frameworks/base/opengl/libs/EGL/
H A Degl.cpp157 DisplayImpl() : dpy(EGL_NO_DISPLAY), config(0),
160 EGLConfig* config; member in struct:android::egl_display_t::DisplayImpl
479 EGLDisplay dpy, EGLConfig config,
485 impl = uintptr_t(config)>>24;
489 index = uintptr_t(config) & 0xFFFFFF;
715 dp->disp[i].config = (EGLConfig*)malloc(sizeof(EGLConfig)*n);
716 if (dp->disp[i].config) {
718 dp->disp[i].dpy, dp->disp[i].config, n,
722 qsort( dp->disp[i].config,
773 free(dp->disp[i].config);
478 validate_display_config( EGLDisplay dpy, EGLConfig config, egl_display_t const*& dp, int& impl, int& index) argument
927 eglGetConfigAttrib(EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint *value) argument
949 eglCreateWindowSurface( EGLDisplay dpy, EGLConfig config, NativeWindowType window, const EGLint *attrib_list) argument
967 eglCreatePixmapSurface( EGLDisplay dpy, EGLConfig config, NativePixmapType pixmap, const EGLint *attrib_list) argument
985 eglCreatePbufferSurface( EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list) argument
1039 eglCreateContext(EGLDisplay dpy, EGLConfig config, EGLContext share_list, const EGLint *attrib_list) argument
1578 eglCreatePbufferFromClientBuffer( EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EGLint *attrib_list) argument
[all...]
/frameworks/base/tools/aapt/
H A DAaptAssets.cpp114 ResTable_config config; local
117 if (getMccName(part.string(), &config)) {
119 *value = config.mcc;
124 if (getMncName(part.string(), &config)) {
126 *value = config.mnc;
146 if (getScreenLayoutSizeName(part.string(), &config)) {
148 *value = (config.screenLayout&ResTable_config::MASK_SCREENSIZE);
153 if (getScreenLayoutLongName(part.string(), &config)) {
155 *value = (config.screenLayout&ResTable_config::MASK_SCREENLONG);
160 if (getOrientationName(part.string(), &config)) {
[all...]
/frameworks/base/core/jni/android/opengl/
H A Dutil.cpp558 static int checkFormat(SkBitmap::Config config, int format, int type) argument
560 switch(config) {
586 static int getInternalFormat(SkBitmap::Config config) argument
588 switch(config) {
604 static int getType(SkBitmap::Config config) argument
606 switch(config) {
628 SkBitmap::Config config = bitmap.getConfig(); local
629 return getInternalFormat(config);
638 SkBitmap::Config config = bitmap.getConfig(); local
639 return getType(config);
649 SkBitmap::Config config = bitmap.getConfig(); local
698 SkBitmap::Config config = bitmap.getConfig(); local
[all...]
/frameworks/base/opengl/libagl/
H A Degl.cpp119 EGLConfig config; member in struct:android::egl_context_t
140 EGLConfig config; member in struct:android::egl_surface_t
143 egl_surface_t(EGLDisplay dpy, EGLConfig config, int32_t depthFormat);
167 EGLConfig config,
169 : magic(MAGIC), dpy(dpy), config(config), ctx(0)
214 EGLDisplay dpy, EGLConfig config,
356 EGLConfig config,
359 : egl_surface_t(dpy, config, depthFormat),
720 EGLDisplay dpy, EGLConfig config,
166 egl_surface_t(EGLDisplay dpy, EGLConfig config, int32_t depthFormat) argument
355 egl_window_surface_v2_t(EGLDisplay dpy, EGLConfig config, int32_t depthFormat, android_native_window_t* window) argument
735 egl_pixmap_surface_t(EGLDisplay dpy, EGLConfig config, int32_t depthFormat, egl_native_pixmap_t const * pixmap) argument
798 egl_pbuffer_surface_t(EGLDisplay dpy, EGLConfig config, int32_t depthFormat, int32_t w, int32_t h, int32_t f) argument
1259 getConfigAttrib(EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint *value) argument
1288 createWindowSurface(EGLDisplay dpy, EGLConfig config, NativeWindowType window, const EGLint *attrib_list) argument
1337 createPixmapSurface(EGLDisplay dpy, EGLConfig config, NativePixmapType pixmap, const EGLint *attrib_list) argument
1383 createPbufferSurface(EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list) argument
1593 eglGetConfigAttrib(EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint *value) argument
1606 eglCreateWindowSurface( EGLDisplay dpy, EGLConfig config, NativeWindowType window, const EGLint *attrib_list) argument
1613 eglCreatePixmapSurface( EGLDisplay dpy, EGLConfig config, NativePixmapType pixmap, const EGLint *attrib_list) argument
1620 eglCreatePbufferSurface( EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list) argument
1710 eglCreateContext(EGLDisplay dpy, EGLConfig config, EGLContext share_list, const EGLint *attrib_list) argument
2037 eglCreatePbufferFromClientBuffer( EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EGLint *attrib_list) argument
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DBitmapFactory.java69 * the decoder will try to pick the best matching config based on the
71 * as if it has per-pixel alpha (requiring a config that also does).
562 * Set the default config used for decoding bitmaps. This config is
563 * presented to the codec if the caller did not specify a preferred config
569 * @param config The preferred config for decoding bitmaps. If null, then
575 public static void setDefaultConfig(Bitmap.Config config) { argument
576 if (config == null) {
579 config
[all...]
/frameworks/base/native/graphics/jni/
H A Dbitmap.cpp37 switch (bm->config()) {
/frameworks/base/opengl/tests/finish/
H A Dfinish.cpp44 EGLConfig config; local
55 dpy, configAttribs, window, &config);
61 surface = eglCreateWindowSurface(dpy, config, window, NULL);
62 context = eglCreateContext(dpy, config, NULL, NULL);
/frameworks/base/opengl/tests/gl_jni/src/com/android/gljni/
H A DGLJNIView.java79 public void onSurfaceCreated(GL10 gl, EGLConfig config) { argument
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBitmap.java186 * @param config The bitmap config to create.
189 public static Bitmap createBitmap(int width, int height, Config config) { argument
204 * @param config The bitmap config to create. If the config does not
211 int width, int height, Config config) {
236 * @param config The bitmap config to create. If the config doe
210 createBitmap(int colors[], int offset, int stride, int width, int height, Config config) argument
242 createBitmap(int colors[], int width, int height, Config config) argument
[all...]

Completed in 451 milliseconds

12345