Searched refs:configs (Results 1 - 25 of 73) sorted by relevance

123

/frameworks/base/libs/androidfw/tests/
H A DConfig_test.cpp28 const Vector<ResTable_config>& configs) {
31 const size_t configCount = configs.size();
33 const ResTable_config& thisConfig = configs[i];
59 Vector<ResTable_config> configs; local
62 configs.add(expectedBest);
63 ASSERT_EQ(expectedBest, selectBest(deviceConfig, configs));
66 configs.add(expectedBest);
67 ASSERT_EQ(expectedBest, selectBest(deviceConfig, configs));
70 configs.add(expectedBest);
71 ASSERT_EQ(expectedBest, selectBest(deviceConfig, configs));
27 selectBest(const ResTable_config& target, const Vector<ResTable_config>& configs) argument
91 Vector<ResTable_config> configs; local
[all...]
/frameworks/base/media/java/android/media/tv/
H A DITvInputHardwareCallback.aidl26 void onStreamConfigChanged(in TvStreamConfig[] configs);
/frameworks/native/opengl/tests/include/
H A DEGLUtils.h90 // Get all the "potential match" configs...
94 EGLConfig* const configs = (EGLConfig*)malloc(sizeof(EGLConfig)*numConfigs); local
95 if (eglChooseConfig(dpy, attrs, configs, numConfigs, &n) == EGL_FALSE) {
96 free(configs);
104 eglGetConfigAttrib(dpy, configs[i], EGL_NATIVE_VISUAL_ID, &nativeVisualId);
106 config = configs[i];
111 free(configs);
/frameworks/native/opengl/tools/glgen/specs/egl/
H A Dchecks.spec2 eglGetConfigs check configs config_size
3 eglChooseConfig check configs config_size check num_config 1 sentinel attrib_list EGL_NONE
H A DEGL14.spec6 EGLBoolean eglGetConfigs ( EGLDisplay dpy, EGLConfig *configs, EGLint config_size, EGLint *num_config )
7 EGLBoolean eglChooseConfig ( EGLDisplay dpy, const EGLint *attrib_list, EGLConfig *configs, EGLint config_size, EGLint *num_config )
/frameworks/native/opengl/tests/configdump/
H A Dconfigdump.cpp68 EGLConfig* configs; local
74 configs = new EGLConfig[n];
75 eglGetConfigs(dpy, configs, n, &n);
81 eglGetConfigAttrib(dpy, configs[i], attributes[attr].attribute, &value);
86 delete [] configs;
/frameworks/base/tools/aapt/
H A DApkBuilder.cpp30 status_t ApkBuilder::createSplitForConfigs(const std::set<ConfigDescription>& configs) { argument
34 std::set<ConfigDescription>::const_iterator iter = configs.begin();
35 for (; iter != configs.end(); iter++) {
45 sp<StrongResourceFilter> splitFilter = new StrongResourceFilter(configs);
55 mSplits.add(new ApkSplit(configs, filter));
81 ApkSplit::ApkSplit(const std::set<ConfigDescription>& configs, const sp<ResourceFilter>& filter, bool isBase) argument
82 : mConfigs(configs), mFilter(filter), mIsBase(isBase) {
83 std::set<ConfigDescription>::const_iterator iter = configs.begin();
84 for (; iter != configs.end(); iter++) {
H A DApkBuilder.h44 android::status_t createSplitForConfigs(const std::set<ConfigDescription>& configs);
111 ApkSplit(const std::set<ConfigDescription>& configs, const android::sp<ResourceFilter>& filter, bool isBase=false);
H A DStringPool.cpp83 if (configs.size() > 0) {
84 for (size_t j=0; j<configs.size(); j++) {
86 configStr.append(configs[j].toString());
109 const size_t LHN = configs.size();
110 const size_t RHN = o.configs.size();
113 comp = configs[i].compareLogical(o.configs[i]);
165 // Add this to the set of configs associated with the string.
168 for (addPos=0; addPos<ent.configs.size(); addPos++) {
169 int cmp = ent.configs
[all...]
H A DStringPool.h49 configTypeName(o.configTypeName), configs(o.configs) { }
56 Vector<ResTable_config> configs; member in struct:StringPool::entry
H A DResourceFilter.h81 StrongResourceFilter(const std::set<ConfigDescription>& configs) argument
82 : mConfigs(configs) {}
/frameworks/base/services/core/java/com/android/server/tv/
H A DTvInputHal.java51 TvInputHardwareInfo info, TvStreamConfig[] configs);
53 public void onStreamConfigurationChanged(int deviceId, TvStreamConfig[] configs); argument
161 TvStreamConfig[] configs;
168 configs = mStreamConfigs.get(info.getDeviceId());
170 mCallback.onDeviceAvailable(info, configs);
184 TvStreamConfig[] configs;
191 configs = mStreamConfigs.get(deviceId);
193 mCallback.onStreamConfigurationChanged(deviceId, configs);
50 onDeviceAvailable( TvInputHardwareInfo info, TvStreamConfig[] configs) argument
/frameworks/native/opengl/tests/gl2_jni/src/com/android/gl2jni/
H A DGL2JNIView.java129 throw new IllegalArgumentException("No configs match configSpec");
131 EGLConfig[] configs = new EGLConfig[numConfigs];
132 egl.eglChooseConfig(display, s_configAttribs2, configs, numConfigs, num_config);
133 // printConfigs(egl, display, configs);
134 return chooseConfig(egl, display, configs);
138 EGLConfig[] configs) {
141 for(EGLConfig config : configs) {
178 EGLConfig[] configs) {
179 int numConfigs = configs.length;
183 printConfig(egl, display, configs[
137 chooseConfig(EGL10 egl, EGLDisplay display, EGLConfig[] configs) argument
177 printConfigs(EGL10 egl, EGLDisplay display, EGLConfig[] configs) argument
[all...]
/frameworks/native/opengl/tests/gl_perfapp/src/com/android/glperf/
H A DGLPerfView.java129 throw new IllegalArgumentException("No configs match configSpec");
131 EGLConfig[] configs = new EGLConfig[numConfigs];
132 egl.eglChooseConfig(display, s_configAttribs2, configs, numConfigs, num_config);
133 // printConfigs(egl, display, configs);
134 return chooseConfig(egl, display, configs);
138 EGLConfig[] configs) {
141 for(EGLConfig config : configs) {
178 EGLConfig[] configs) {
179 int numConfigs = configs.length;
183 printConfig(egl, display, configs[
137 chooseConfig(EGL10 egl, EGLDisplay display, EGLConfig[] configs) argument
177 printConfigs(EGL10 egl, EGLDisplay display, EGLConfig[] configs) argument
[all...]
/frameworks/native/opengl/tests/gldual/src/com/android/gldual/
H A DGLDualGL2View.java132 throw new IllegalArgumentException("No configs match configSpec");
134 EGLConfig[] configs = new EGLConfig[numConfigs];
135 egl.eglChooseConfig(display, s_configAttribs2, configs, numConfigs, num_config);
136 // printConfigs(egl, display, configs);
137 return chooseConfig(egl, display, configs);
141 EGLConfig[] configs) {
144 for(EGLConfig config : configs) {
181 EGLConfig[] configs) {
182 int numConfigs = configs.length;
186 printConfig(egl, display, configs[
140 chooseConfig(EGL10 egl, EGLDisplay display, EGLConfig[] configs) argument
180 printConfigs(EGL10 egl, EGLDisplay display, EGLConfig[] configs) argument
[all...]
/frameworks/base/core/java/android/animation/
H A DAnimator.java330 * @param configs A mask of the changing configuration parameters, as
336 public void setChangingConfigurations(int configs) { argument
337 mChangingConfigurations = configs;
342 * and the provided configs.
346 public void appendChangingConfigurations(int configs) { argument
347 mChangingConfigurations |= configs;
H A DStateListAnimator.java234 * @param configs A mask of the changing configuration parameters, as
240 public void setChangingConfigurations(int configs) { argument
241 mChangingConfigurations = configs;
246 * and the provided configs.
250 public void appendChangingConfigurations(int configs) { argument
251 mChangingConfigurations |= configs;
/frameworks/native/opengl/tests/gl2_copyTexImage/
H A Dgl2_copyTexImage.cpp343 EGLConfig* configs = (EGLConfig*) malloc(sizeof(EGLConfig) * numConfig); local
344 if (! configs) {
345 printf("Could not allocate configs.\n");
349 returnVal = eglGetConfigs(dpy, configs, numConfig, &numConfig);
352 free(configs);
358 printEGLConfiguration(dpy, configs[i]);
361 free(configs);
414 EGLConfig* const configs = new EGLConfig[numConfigs]; local
415 eglChooseConfig(dpy, s_configAttribs, configs, numConfigs, &n);
416 myConfig = configs[
[all...]
/frameworks/native/opengl/tests/gl2_basic/
H A Dgl2_basic.cpp239 EGLConfig* configs = (EGLConfig*) malloc(sizeof(EGLConfig) * numConfig); local
240 if (! configs) {
241 printf("Could not allocate configs.\n");
245 returnVal = eglGetConfigs(dpy, configs, numConfig, &numConfig);
248 free(configs);
254 printEGLConfiguration(dpy, configs[i]);
257 free(configs);
/frameworks/native/opengl/tests/gl_basic/
H A Dgl_basic.cpp170 EGLConfig* configs = (EGLConfig*) malloc(sizeof(EGLConfig) * numConfig); local
171 if (! configs) {
172 printf("Could not allocate configs.\n");
176 returnVal = eglGetConfigs(dpy, configs, numConfig, &numConfig);
179 free(configs);
185 printEGLConfiguration(dpy, configs[i]);
188 free(configs);
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DRenderEngine.cpp289 EGLConfig* const configs = new EGLConfig[numConfigs]; local
290 eglChooseConfig(dpy, attrs, configs, numConfigs, &n);
296 eglGetConfigAttrib(dpy, configs[i], attribute, &value);
298 *outConfig = configs[i];
299 delete [] configs;
305 *outConfig = configs[0];
306 delete [] configs;
310 delete [] configs;
/frameworks/base/services/core/jni/
H A Dcom_android_server_AssetAtlasService.cpp122 EGLConfig configs[1]; local
124 if (!eglChooseConfig(display, configAttrs, configs, 1, &configCount)) {
146 EGLContext context = eglCreateContext(display, configs[0], EGL_NO_CONTEXT, attrs);
154 surface = eglCreatePbufferSurface(display, configs[0], surfaceAttrs);
H A Dcom_android_server_tv_TvInputHal.cpp357 const tv_stream_config_t* configs = NULL; local
359 mDevice, deviceId, &numConfigs, &configs) != 0) {
360 ALOGE("Couldn't get stream configs");
365 if (configs[i].stream_id == streamId) {
374 connection.mStreamType = configs[configIndex].type;
377 stream.stream_id = configs[configIndex].stream_id;
379 stream.buffer_producer.width = configs[configIndex].max_video_width;
380 stream.buffer_producer.height = configs[configIndex].max_video_height;
438 const tv_stream_config_t* configs = NULL; local
440 mDevice, deviceId, numConfigs, &configs) !
632 const tv_stream_config_t* configs = tvInputHal->getStreamConfigs(deviceId, &numConfigs); local
[all...]
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWComposer.cpp180 disp.configs.push_back(config);
349 uint32_t configs[MAX_NUM_CONFIGS] = {0}; local
351 status_t err = mHwc->getDisplayConfigs(mHwc, disp, configs, &numConfigs);
360 err = mHwc->getDisplayAttributes(mHwc, disp, configs[c],
399 mDisplayData[disp].configs.push_back(config);
416 DisplayConfig& config = mDisplayData[id].configs.editItemAt(configId);
430 mDisplayData[id].configs.resize(1);
456 mDisplayData[disp].configs[configId].refresh);
477 return mDisplayData[disp].configs[currentConfig].width;
482 return mDisplayData[disp].configs[currentConfi
[all...]
/frameworks/native/libs/gui/
H A DISurfaceComposer.cpp221 Vector<DisplayInfo>* configs)
230 configs->clear();
231 configs->resize(numConfigs);
233 memcpy(&(configs->editItemAt(c)),
407 Vector<DisplayInfo> configs; local
409 status_t result = getDisplayConfigs(display, &configs);
412 reply->writeInt32(static_cast<int32_t>(configs.size()));
413 for (size_t c = 0; c < configs.size(); ++c) {
415 &configs[c], sizeof(DisplayInfo));
220 getDisplayConfigs(const sp<IBinder>& display, Vector<DisplayInfo>* configs) argument

Completed in 708 milliseconds

123