Searched refs:config (Results 1 - 25 of 112) sorted by relevance

12345

/frameworks/base/opengl/java/com/google/android/gles_jni/
H A DEGLConfigImpl.java25 EGLConfigImpl(int config) { argument
26 mEGLConfig = config;
H A DEGLImpl.java36 public native boolean eglGetConfigAttrib(EGLDisplay display, EGLConfig config, int attribute, int[] value); argument
49 public EGLContext eglCreateContext(EGLDisplay display, EGLConfig config, EGLContext share_context, int[] attrib_list) { argument
50 int eglContextId = _eglCreateContext(display, config, share_context, attrib_list);
57 public EGLSurface eglCreatePbufferSurface(EGLDisplay display, EGLConfig config, int[] attrib_list) { argument
58 int eglSurfaceId = _eglCreatePbufferSurface(display, config, attrib_list);
65 public EGLSurface eglCreatePixmapSurface(EGLDisplay display, EGLConfig config, Object native_pixmap, int[] attrib_list) { argument
67 _eglCreatePixmapSurface(sur, display, config, native_pixmap, attrib_list);
74 public EGLSurface eglCreateWindowSurface(EGLDisplay display, EGLConfig config, Object native_window, int[] attrib_list) { argument
87 int eglSurfaceId = _eglCreateWindowSurface(display, config, sur, attrib_list);
134 private native int _eglCreateContext(EGLDisplay display, EGLConfig config, EGLContex argument
135 _eglCreatePbufferSurface(EGLDisplay display, EGLConfig config, int[] attrib_list) argument
136 _eglCreatePixmapSurface(EGLSurface sur, EGLDisplay display, EGLConfig config, Object native_pixmap, int[] attrib_list) argument
137 _eglCreateWindowSurface(EGLDisplay display, EGLConfig config, Object native_window, int[] attrib_list) argument
[all...]
/frameworks/base/tools/localize/
H A DValuesFile_test.cpp8 Configuration config; local
9 config.locale = "zz_ZZ";
10 ValuesFile* vf = ValuesFile::ParseFile("testdata/values/strings.xml", config,
24 str.config.ToString().c_str(), str.comment.c_str());
H A DValuesFile.h19 ValuesFile(const Configuration& config);
21 static ValuesFile* ParseFile(const string& filename, const Configuration& config,
24 const Configuration& config,
H A DValues.cpp12 config(c),
25 config(),
38 config(that.config),
60 if (config != that.config) {
61 return config < that.config ? -1 : 1;
H A DValues.h19 StringResource(const SourcePos& pos, const string& file, const Configuration& config,
39 Configuration config; member in struct:StringResource
H A Dlocalize.cpp195 const string& config)
197 if (settings.find(config) == settings.end()) {
199 config.c_str());
211 string config = configs[i]; local
212 err |= validate_config(settingsFile, settings, config);
218 select_files(vector<string> *resFiles, const string& config, argument
224 configs.push_back(config);
241 const string& config = configs[i]; local
242 const Settings& setting = settings.find(config)->second;
269 printf("config[
194 validate_config(const string& settingsFile, const map<string,Settings>& settings, const string& config) argument
301 const string& config = configs[i]; local
[all...]
/frameworks/base/opengl/tests/swapinterval/
H A Dswapinterval.cpp41 EGLConfig config; local
56 dpy, configAttribs, window, &config);
63 eglGetConfigAttrib(dpy, config, EGL_RED_SIZE, &r);
64 eglGetConfigAttrib(dpy, config, EGL_GREEN_SIZE, &g);
65 eglGetConfigAttrib(dpy, config, EGL_BLUE_SIZE, &b);
66 eglGetConfigAttrib(dpy, config, EGL_ALPHA_SIZE, &a);
68 surface = eglCreateWindowSurface(dpy, config, window, NULL);
71 fprintf(stderr, "%s, config=%p, format = %d-%d-%d-%d\n",
72 EGLUtils::strerror(err), config, r,g,b,a);
75 printf("config
[all...]
/frameworks/policies/base/phone/com/android/internal/policy/impl/
H A DKeyguardScreenCallback.java60 void recreateMe(Configuration config); argument
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DActivityManagerTest.java97 ConfigurationInfo config = mActivityManager.getDeviceConfigurationInfo();
98 assertNotNull(config);
102 assertEquals(config.reqKeyboardType, vconfig.keyboard);
103 assertEquals(config.reqTouchScreen, vconfig.touchscreen);
104 assertEquals(config.reqNavigation, vconfig.navigation);
106 assertNotNull(config.reqInputFeatures & ConfigurationInfo.INPUT_FEATURE_FIVE_WAY_NAV);
109 assertNotNull(config.reqInputFeatures & ConfigurationInfo.INPUT_FEATURE_HARD_KEYBOARD);
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiConfiguration.java401 * @param scannedAP the scan result used to construct the config entry
463 WifiConfiguration config = new WifiConfiguration();
464 config.networkId = in.readInt();
465 config.status = in.readInt();
466 config.SSID = in.readString();
467 config.BSSID = in.readString();
468 config.preSharedKey = in.readString();
469 for (int i = 0; i < config.wepKeys.length; i++)
470 config.wepKeys[i] = in.readString();
471 config
[all...]
H A DWifiManager.java395 * @param config the set of variables that describe the configuration,
401 public int addNetwork(WifiConfiguration config) { argument
402 if (config == null) {
405 config.networkId = -1;
406 return addOrUpdateNetwork(config);
412 * @param config the set of variables that describe the configuration,
424 public int updateNetwork(WifiConfiguration config) { argument
425 if (config == null || config.networkId < 0) {
428 return addOrUpdateNetwork(config);
439 addOrUpdateNetwork(WifiConfiguration config) argument
[all...]
/frameworks/base/opengl/tests/gl2_jni/src/com/android/gl2jni/
H A DGL2JNIView.java141 for(EGLConfig config : configs) {
142 int d = findConfigAttrib(egl, display, config,
144 int s = findConfigAttrib(egl, display, config,
147 int r = findConfigAttrib(egl, display, config,
149 int g = findConfigAttrib(egl, display, config,
151 int b = findConfigAttrib(egl, display, config,
153 int a = findConfigAttrib(egl, display, config,
161 closestConfig = config;
169 EGLConfig config, int attribute, int defaultValue) {
171 if (egl.eglGetConfigAttrib(display, config, attribut
168 findConfigAttrib(EGL10 egl, EGLDisplay display, EGLConfig config, int attribute, int defaultValue) argument
187 printConfig(EGL10 egl, EGLDisplay display, EGLConfig config) argument
291 onSurfaceCreated(GL10 gl, EGLConfig config) argument
[all...]
/frameworks/base/opengl/tests/gldual/src/com/android/gldual/
H A DGLDualGL2View.java144 for(EGLConfig config : configs) {
145 int d = findConfigAttrib(egl, display, config,
147 int s = findConfigAttrib(egl, display, config,
150 int r = findConfigAttrib(egl, display, config,
152 int g = findConfigAttrib(egl, display, config,
154 int b = findConfigAttrib(egl, display, config,
156 int a = findConfigAttrib(egl, display, config,
164 closestConfig = config;
172 EGLConfig config, int attribute, int defaultValue) {
174 if (egl.eglGetConfigAttrib(display, config, attribut
171 findConfigAttrib(EGL10 egl, EGLDisplay display, EGLConfig config, int attribute, int defaultValue) argument
190 printConfig(EGL10 egl, EGLDisplay display, EGLConfig config) argument
294 onSurfaceCreated(GL10 gl, EGLConfig config) argument
[all...]
/frameworks/base/services/java/com/android/server/
H A DWifiService.java714 /* Use default config if there is no existing config */
830 WifiConfiguration config = new WifiConfiguration();
832 config.networkId = Integer.parseInt(result[0]);
838 config.status = WifiConfiguration.Status.CURRENT;
840 config.status = WifiConfiguration.Status.DISABLED;
842 config.status = WifiConfiguration.Status.ENABLED;
844 config.status = WifiConfiguration.Status.ENABLED;
846 readNetworkVariables(config);
847 networks.add(config);
860 readNetworkVariables(WifiConfiguration config) argument
1028 addOrUpdateNetwork(WifiConfiguration config) argument
[all...]
/frameworks/base/libs/surfaceflinger/DisplayHardware/
H A DDisplayHardware.cpp137 EGLConfig config; local
139 display, attribs, mNativeWindow.get(), &config);
143 eglGetConfigAttrib(display, config, EGL_RED_SIZE, &r);
144 eglGetConfigAttrib(display, config, EGL_GREEN_SIZE, &g);
145 eglGetConfigAttrib(display, config, EGL_BLUE_SIZE, &b);
146 eglGetConfigAttrib(display, config, EGL_ALPHA_SIZE, &a);
161 LOGI("EGLSurface: %d-%d-%d-%d, config=%p", r, g, b, a, config);
168 if (eglGetConfigAttrib(display, config, EGL_CONFIG_CAVEAT, &dummy) == EGL_TRUE) {
177 surface = eglCreateWindowSurface(display, config, mNativeWindo
[all...]
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/
H A DBitmapTest.java127 Bitmap.Config config = Bitmap.Config.ARGB_8888;
128 Bitmap bm1 = Bitmap.createBitmap(colors, 10, 10, config);
129 Bitmap bm2 = Bitmap.createBitmap(10, 10, config);
153 Bitmap.Config config = Bitmap.Config.RGB_565;
154 Bitmap bm1 = Bitmap.createBitmap(colors, 10, 10, config);
155 Bitmap bm2 = Bitmap.createBitmap(10, 10, config);
183 Bitmap.Config config = Bitmap.Config.ARGB_8888;
186 Bitmap bm1 = Bitmap.createBitmap(colors, 16, 16, config);
189 Bitmap bm2 = Bitmap.createBitmap(16, 16, config);
/frameworks/base/opengl/tests/angeles/
H A Dapp-linux.cpp131 EGLConfig config; local
142 dpy, configAttribs, window, &config);
148 surface = eglCreateWindowSurface(dpy, config, window, NULL);
153 context = eglCreateContext(dpy, config, NULL, NULL);
/frameworks/base/opengl/tests/linetex/
H A Dlinetex.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/java/android/opengl/
H A DEGLLogWrapper.java78 public EGLContext eglCreateContext(EGLDisplay display, EGLConfig config, argument
82 arg("config", config);
87 EGLContext result = mEgl10.eglCreateContext(display, config,
95 EGLConfig config, int[] attrib_list) {
98 arg("config", config);
102 EGLSurface result = mEgl10.eglCreatePbufferSurface(display, config,
110 EGLConfig config, Object native_pixmap, int[] attrib_list) {
113 arg("config", confi
94 eglCreatePbufferSurface(EGLDisplay display, EGLConfig config, int[] attrib_list) argument
109 eglCreatePixmapSurface(EGLDisplay display, EGLConfig config, Object native_pixmap, int[] attrib_list) argument
125 eglCreateWindowSurface(EGLDisplay display, EGLConfig config, Object native_window, int[] attrib_list) argument
165 eglGetConfigAttrib(EGLDisplay display, EGLConfig config, int attribute, int[] value) argument
[all...]
/frameworks/base/core/jni/android/graphics/
H A DBitmap.cpp62 static FromColorProc ChooseFromColorProc(SkBitmap::Config config) { argument
63 switch (config) {
82 FromColorProc proc = ChooseFromColorProc(dstBitmap.config());
187 switch (src.config()) {
210 SkBitmap::Config config, jboolean isMutable) {
226 bitmap.setConfig(config, width, height);
313 return bitmap->config();
336 const SkBitmap::Config config = (SkBitmap::Config)p->readInt32(); local
342 if (SkBitmap::kARGB_8888_Config != config &&
343 SkBitmap::kRGB_565_Config != config
208 Bitmap_creator(JNIEnv* env, jobject, jintArray jColors, int offset, int stride, int width, int height, SkBitmap::Config config, jboolean isMutable) argument
[all...]
/frameworks/base/opengl/java/javax/microedition/khronos/egl/
H A DEGL10.java99 EGLContext eglCreateContext(EGLDisplay display, EGLConfig config, EGLContext share_context, int[] attrib_list); argument
100 EGLSurface eglCreatePbufferSurface(EGLDisplay display, EGLConfig config, int[] attrib_list); argument
101 EGLSurface eglCreatePixmapSurface(EGLDisplay display, EGLConfig config, Object native_pixmap, int[] attrib_list); argument
102 EGLSurface eglCreateWindowSurface(EGLDisplay display, EGLConfig config, Object native_window, int[] attrib_list); argument
105 boolean eglGetConfigAttrib(EGLDisplay display, EGLConfig config, int attribute, int[] value); argument
/frameworks/base/tools/aapt/
H A DResourceTable.cpp561 bool localeIsDefined(const ResTable_config& config) argument
563 return config.locale == 0;
569 const ResTable_config& config,
594 config.language[0], config.language[1],
595 config.country[0], config.country[1],
596 config.orientation, config.density,
604 &spans, &config, overwrit
566 parseAndAddBag(Bundle* bundle, const sp<AaptFile>& in, ResXMLTree* block, const ResTable_config& config, const String16& myPackage, const String16& curType, const String16& ident, const String16& parentIdent, const String16& itemIdent, int32_t curFormat, bool pseudolocalize, const bool overwrite, ResourceTable* outTable) argument
609 parseAndAddEntry(Bundle* bundle, const sp<AaptFile>& in, ResXMLTree* block, const ResTable_config& config, const String16& myPackage, const String16& curType, const String16& ident, const String16& curTag, bool curIsStyled, int32_t curFormat, bool pseudolocalize, const bool overwrite, ResourceTable* outTable) argument
2366 String8 config; local
2477 match(const ResTable_config& config) argument
2562 ConfigDescription config = c->getEntries().keyAt(ei); local
2696 ConfigDescription config = t->getUniqueConfigs().itemAt(ci); local
3302 getEntry(const String16& entry, const SourcePos& sourcePos, const ResTable_config* config, bool doSetIndex, bool overlay, bool autoAddOverlay) argument
3612 getEntry(const String16& package, const String16& type, const String16& name, const SourcePos& sourcePos, bool overlay, const ResTable_config* config, bool doSetIndex) argument
[all...]
/frameworks/base/libs/ui/
H A DEGLUtils.cpp91 EGLConfig config = NULL; local
100 config = curr;
108 *outConfig = config;
/frameworks/base/media/libdrm/mobile2/include/drmmanager/
H A DDrmManager.h62 bool config();

Completed in 895 milliseconds

12345