Searched defs:config (Results 76 - 100 of 235) sorted by relevance

12345678910

/frameworks/rs/java/tests/GenImages/src/com/android/rs/genimage/
H A DGenImage.java56 public void onSurfaceCreated(GL10 unused, EGLConfig config) { argument
/frameworks/av/media/libstagefright/wifi-display/
H A DVideoFormats.cpp281 const config_t *config = &mResolutionTable[type][index]; local
283 if (config->width == 0) {
288 *width = config->width;
292 *height = config->height;
296 *framesPerSecond = config->framesPerSecond;
300 *interlaced = config->interlaced;
/frameworks/av/services/audioflinger/
H A DPatchPanel.cpp103 status_t AudioFlinger::setAudioPortConfig(const struct audio_port_config *config) argument
107 return mPatchPanel->setAudioPortConfig(config);
241 audio_config_t config = AUDIO_CONFIG_INITIALIZER; local
248 &config,
262 audio_config_t config = AUDIO_CONFIG_INITIALIZER; local
264 config.sample_rate = newPatch->mPlaybackThread->sampleRate();
265 config.channel_mask = inChannelMask;
266 config.format = newPatch->mPlaybackThread->format();
270 &config,
663 status_t AudioFlinger::PatchPanel::setAudioPortConfig(const struct audio_port_config *config) argument
[all...]
/frameworks/av/services/audiopolicy/
H A DAudioPolicyClientImpl.cpp41 audio_config_t *config,
52 return af->openOutput(module, output, config, devices, address, latencyMs, flags);
101 audio_config_t *config,
113 return af->openInput(module, input, config, device, address, source, flags);
200 const struct audio_port_config *config,
203 return mAudioPolicyService->clientSetAudioPortConfig(config, delayMs);
39 openOutput(audio_module_handle_t module, audio_io_handle_t *output, audio_config_t *config, audio_devices_t *devices, const String8& address, uint32_t *latencyMs, audio_output_flags_t flags) argument
99 openInput(audio_module_handle_t module, audio_io_handle_t *input, audio_config_t *config, audio_devices_t *device, const String8& address, audio_source_t source, audio_input_flags_t flags) argument
199 setAudioPortConfig( const struct audio_port_config *config, int delayMs) argument
H A DAudioPolicyClientImplLegacy.cpp84 audio_config_t config = AUDIO_CONFIG_INITIALIZER; local
85 config.sample_rate = *pSamplingRate;
86 config.format = *pFormat;
87 config.channel_mask = *pChannelMask;
89 config.offload_info = *offloadInfo;
92 status_t status = af->openOutput(module, &output, &config, pDevices,
95 *pSamplingRate = config.sample_rate;
96 *pFormat = config.format;
97 *pChannelMask = config.channel_mask;
99 *((audio_offload_info_t *)offloadInfo) = config
198 audio_config_t config = AUDIO_CONFIG_INITIALIZER;; local
[all...]
/frameworks/base/cmds/bootanimation/
H A DAudioPlayer.cpp140 bool AudioPlayer::init(const char* config) argument
147 const char* endl = strstr(config, "\n");
149 String8 line(config, endl - config);
184 config = ++endl;
206 struct pcm_config config; local
270 memset(&config, 0, sizeof(config));
271 config.channels = chunkFmt->num_channels;
272 config
[all...]
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
H A DConnectivityManagerTestBase.java320 WifiConfiguration config;
322 config = WifiConfigurationHelper.createOpenConfig(ssid);
324 config = WifiConfigurationHelper.createPskConfig(ssid, password);
326 return connectToWifiWithConfiguration(config);
333 protected boolean connectToWifiWithConfiguration(WifiConfiguration config) { argument
346 mWifiManager.connect(config,
476 * @param config is the network configuration
479 protected void connectToWifi(WifiConfiguration config) { argument
481 assertTrue("failed to associate with " + config.SSID,
482 connectToWifiWithConfiguration(config));
[all...]
/frameworks/base/media/mca/filterfw/jni/
H A Djni_gl_environment.cpp152 EGLConfig config; local
166 eglChooseConfig(gl_env->display(), configAttribs, &config, 1, &numConfigs);
174 config,
221 EGLConfig config; local
235 eglChooseConfig(gl_env->display(), configAttribs, &config, 1, &numConfigs);
243 config,
320 EGLConfig config; local
333 eglChooseConfig(gl_env->display(), configAttribs, &config, 1, &numConfigs);
342 config,
/frameworks/base/media/mca/filterfw/native/core/
H A Dgl_env.cpp142 EGLConfig config; local
146 // TODO: Currently choosing the config that includes all
158 eglChooseConfig(display(), configAttribs, &config, 1, &numConfigs); local
172 surfaces_[0] = SurfaceWindowPair(eglCreateWindowSurface(display(), config, window_.get(), NULL), NULL);
178 config,
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DFakeShadowDrawable.java84 public FakeShadowDrawable(Resources resources, RecentsConfiguration config) { argument
93 mCornerRadius = config.taskViewRoundedCornerRadiusPx;
H A DTaskStackViewLayoutAlgorithm.java73 public TaskStackViewLayoutAlgorithm(RecentsConfiguration config) { argument
74 mConfig = config;
H A DTaskStackViewScroller.java44 public TaskStackViewScroller(Context context, RecentsConfiguration config, TaskStackViewLayoutAlgorithm layoutAlgorithm) { argument
45 mConfig = config;
H A DTaskStackViewTouchHandler.java59 RecentsConfiguration config, TaskStackViewScroller scroller) {
67 mConfig = config;
58 TaskStackViewTouchHandler(Context context, TaskStackView sv, RecentsConfiguration config, TaskStackViewScroller scroller) argument
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
H A DUploadedTexture.java87 public Config config; field in class:UploadedTexture.BorderKey
92 int x = config.hashCode() ^ length;
101 && config == o.config && length == o.length;
119 boolean vertical, Config config, int length) {
122 key.config = config;
127 ? Bitmap.createBitmap(1, length, config)
128 : Bitmap.createBitmap(length, 1, config);
233 Config config
118 getBorderLine( boolean vertical, Config config, int length) argument
[all...]
/frameworks/base/services/core/jni/
H A Dcom_android_server_UsbHostManager.cpp100 struct usb_config_descriptor *config = (struct usb_config_descriptor *)desc; local
101 char *name = usb_device_get_string(device, config->iConfiguration);
105 config->bConfigurationValue, configName, config->bmAttributes,
106 config->bMaxPower);
/frameworks/base/test-runner/src/android/test/mock/
H A DMockResources.java46 public void updateConfiguration(Configuration config, DisplayMetrics metrics) { argument
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DGLDepthTestActivity.java189 public void onSurfaceCreated(GL10 glUnused, EGLConfig config) { argument
/frameworks/base/tools/aapt/
H A DAaptConfig.cpp37 ConfigDescription config; local
48 if (parseMcc(part, &config)) {
56 if (parseMnc(part, &config)) {
70 locale.writeTo(&config);
78 if (parseLayoutDirection(part, &config)) {
86 if (parseSmallestScreenWidthDp(part, &config)) {
94 if (parseScreenWidthDp(part, &config)) {
102 if (parseScreenHeightDp(part, &config)) {
110 if (parseScreenLayoutSize(part, &config)) {
118 if (parseScreenLayoutLong(part, &config)) {
229 ConfigDescription config; local
238 applyVersionForCompatibility(ConfigDescription* config) argument
790 getVersion(const ResTable_config& config) argument
798 isDensityOnly(const ResTable_config& config) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
H A DBridgeResources.java96 Configuration config,
101 config,
118 Configuration config, IProjectCallback projectCallback) {
119 super(assets, metrics, config);
93 initSystem(BridgeContext context, AssetManager assets, DisplayMetrics metrics, Configuration config, IProjectCallback projectCallback) argument
117 BridgeResources(BridgeContext context, AssetManager assets, DisplayMetrics metrics, Configuration config, IProjectCallback projectCallback) argument
/frameworks/native/libs/gui/tests/
H A DGLTest.cpp170 EGLSurface GLTest::createWindowSurface(EGLDisplay display, EGLConfig config, argument
172 return eglCreateWindowSurface(display, config, window.get(), NULL);
/frameworks/native/opengl/libs/EGL/
H A Degl_object.h132 egl_surface_t(egl_display_t* dpy, EGLConfig config,
137 EGLConfig config; member in class:android::egl_surface_t
148 egl_context_t(EGLDisplay dpy, EGLContext context, EGLConfig config,
156 EGLConfig config; member in class:android::egl_context_t
/frameworks/native/opengl/tests/gl2_basic/
H A Dgl2_basic.cpp178 void printEGLConfiguration(EGLDisplay dpy, EGLConfig config) { argument
219 EGLint returnVal = eglGetConfigAttrib(dpy, config, names[j].attribute, &value);
/frameworks/native/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/native/opengl/tests/gl_basic/
H A Dgl_basic.cpp97 void printEGLConfiguration(EGLDisplay dpy, EGLConfig config) { argument
138 EGLint returnVal = eglGetConfigAttrib(dpy, config, names[j].attribute, &value);
/frameworks/native/opengl/tests/gl_perfapp/src/com/android/glperf/
H A DGLPerfView.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...]

Completed in 713 milliseconds

12345678910