Searched refs:config (Results 151 - 175 of 251) sorted by relevance

1234567891011

/frameworks/base/core/java/android/view/
H A DViewConfiguration.java138 * in frameworks/base/core/res/res/values/config.xml or the appropriate device resource overlay.
271 final Configuration config = res.getConfiguration();
274 if (config.isLayoutSizeAtLeast(Configuration.SCREENLAYOUT_SIZE_XLARGE)) {
H A DIWindowManager.aidl110 void setNewConfiguration(in Configuration config);
/frameworks/base/core/jni/
H A Dandroid_media_AudioSystem.cpp162 android_media_AudioSystem_setForceUse(JNIEnv *env, jobject thiz, jint usage, jint config) argument
165 static_cast <audio_policy_forced_cfg_t>(config)));
/frameworks/base/media/tests/omxjpegdecoder/
H A DAndroid.mk37 $(TOP)/external/skia/include/config \
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
H A DRecents.java104 final Configuration config = res.getConfiguration();
107 if (config.orientation == Configuration.ORIENTATION_PORTRAIT) {
133 } else { // if (config.orientation == Configuration.ORIENTATION_LANDSCAPE) {
/frameworks/base/services/java/com/android/server/usb/
H A DUsbDeviceManager.java329 // persist.sys.usb.config should never be unset. But if it is, set it to "adb"
331 mDefaultFunctions = SystemProperties.get("persist.sys.usb.config", "adb");
336 // sanity check the sys.usb.config system property
338 String config = SystemProperties.get("sys.usb.config", "none");
339 if (!config.equals(mDefaultFunctions)) {
340 Slog.w(TAG, "resetting config to persistent property: " + mDefaultFunctions);
341 SystemProperties.set("sys.usb.config", mDefaultFunctions);
437 private boolean setUsbConfig(String config) { argument
438 if (DEBUG) Slog.d(TAG, "setUsbConfig(" + config
[all...]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DCropFilter.java133 Bitmap.Config config = Bitmap.Config.ARGB_8888;
134 Bitmap cropped = Bitmap.createBitmap(outDims[0], outDims[1], config);
H A DGraphRunner.java630 * @param config A Config instance with the configuration of this runner.
632 public GraphRunner(MffContext context, Config config) { argument
634 init(config);
974 private void init(Config config) { argument
977 mRunLoop = new GraphRunLoop(config.allowOpenGL);
979 mRunThread.setPriority(config.threadPriority);
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DIWindowManagerImpl.java54 public IWindowManagerImpl(Configuration config, DisplayMetrics metrics, int rotation, argument
56 mConfig = config;
/frameworks/compile/libbcc/lib/Core/
H A DCompiler.cpp44 return "Invalid compiler config supplied (getTarget() returns NULL.) "
52 "TargetMachine. (missing call to Compiler::config()?)";
98 enum ErrorCode err = config(pConfig);
108 enum Compiler::ErrorCode Compiler::config(const CompilerConfig &pConfig) { function in class:Compiler
/frameworks/base/core/java/android/app/
H A DApplicationThreadNative.java161 Configuration config = null;
163 config = Configuration.CREATOR.createFromParcel(data);
165 scheduleRelaunchActivity(b, ri, pi, configChanges, notResumed, config);
282 Configuration config = Configuration.CREATOR.createFromParcel(data);
289 openGlTrace, restrictedBackupMode, persistent, config, compatInfo,
319 Configuration config = Configuration.CREATOR.createFromParcel(data);
320 scheduleConfigurationChanged(config);
757 int configChanges, boolean notResumed, Configuration config)
766 if (config != null) {
768 config
755 scheduleRelaunchActivity(IBinder token, List<ResultInfo> pendingResults, List<Intent> pendingNewIntents, int configChanges, boolean notResumed, Configuration config) argument
908 bindApplication(String packageName, ApplicationInfo info, List<ProviderInfo> providers, ComponentName testName, String profileName, ParcelFileDescriptor profileFd, boolean autoStopProfiler, Bundle testArgs, IInstrumentationWatcher testWatcher, IUiAutomationConnection uiAutomationConnection, int debugMode, boolean openGlTrace, boolean restrictedBackupMode, boolean persistent, Configuration config, CompatibilityInfo compatInfo, Map<String, IBinder> services, Bundle coreSettings) argument
977 scheduleConfigurationChanged(Configuration config) argument
[all...]
/frameworks/base/core/java/android/content/res/
H A DResources.java175 * @param config Desired device configuration to consider when
178 public Resources(AssetManager assets, DisplayMetrics metrics, Configuration config) { argument
179 this(assets, metrics, config, CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO, null);
188 * @param config Desired device configuration to consider when
194 public Resources(AssetManager assets, DisplayMetrics metrics, Configuration config, argument
202 updateConfiguration(config, metrics);
1509 public void updateConfiguration(Configuration config, argument
1511 updateConfiguration(config, metrics, null);
1517 public void updateConfiguration(Configuration config, argument
1521 Slog.i(TAG, "**** Updating config o
1662 updateSystemConfiguration(Configuration config, DisplayMetrics metrics, CompatibilityInfo compat) argument
[all...]
/frameworks/base/tools/aapt/
H A DCommand.cpp514 // Make a dummy config for retrieving resources... we need to supply
518 // version if they are using newer config types like density.
519 ResTable_config config; local
520 config.language[0] = 'e';
521 config.language[1] = 'n';
522 config.country[0] = 'U';
523 config.country[1] = 'S';
524 config.orientation = ResTable_config::ORIENTATION_PORT;
525 config.density = ResTable_config::DENSITY_MEDIUM;
526 config
[all...]
/frameworks/base/services/java/com/android/server/wifi/
H A DWifiService.java176 WifiConfiguration config = (WifiConfiguration) msg.obj;
178 if (config != null && config.isValid()) {
181 if (config.proxySettings != ProxySettings.PAC) {
182 if (DBG) Slog.d(TAG, "Connect with config" + config);
192 } else if (config == null
737 public int addOrUpdateNetwork(WifiConfiguration config) { argument
739 if (config.proxySettings == ProxySettings.PAC) {
742 if (config
[all...]
/frameworks/av/media/libstagefright/
H A DAVIExtractor.cpp969 sp<ABuffer> MakeMPEG4VideoCodecSpecificData(const sp<ABuffer> &config) { argument
970 size_t len1 = config->size() + GetSizeWidth(config->size()) + 1;
990 dst = EncodeSize(dst, config->size());
991 memcpy(dst, config->data(), config->size());
992 dst += config->size();
/frameworks/av/include/media/
H A DIAudioPolicyService.h50 audio_policy_forced_cfg_t config) = 0;
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.cpp247 EGLConfig config; local
254 eglChooseConfig(display, attribs, &config, 1, &numConfigs);
255 surface = eglCreateWindowSurface(display, config, s.get(), NULL);
256 context = eglCreateContext(display, config, NULL, NULL);
/frameworks/base/test-runner/src/android/test/mock/
H A DMockResources.java46 public void updateConfiguration(Configuration config, DisplayMetrics metrics) { argument
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
H A DBridgeResources.java95 Configuration config,
100 config,
117 Configuration config, IProjectCallback projectCallback) {
118 super(assets, metrics, config);
92 initSystem(BridgeContext context, AssetManager assets, DisplayMetrics metrics, Configuration config, IProjectCallback projectCallback) argument
116 BridgeResources(BridgeContext context, AssetManager assets, DisplayMetrics metrics, Configuration config, IProjectCallback projectCallback) argument
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiStateMachine.java482 * from the default config if the setting is not set
1257 public void setWifiApConfiguration(WifiConfiguration config) { argument
1258 mWifiApConfigChannel.sendMessage(CMD_SET_AP_CONFIG, config);
1407 public int syncAddOrUpdateNetwork(AsyncChannel channel, WifiConfiguration config) { argument
1408 Message resultMsg = channel.sendMessageSynchronously(CMD_ADD_OR_UPDATE_NETWORK, config);
1735 /* Clear the interface config to allow dhcp correctly configure new
2100 * - HTTP proxy: the wifi config store.
2115 // Even when we're using static configuration, we don't need to look at the config
2147 // If the network used DHCP, clear the LinkProperties we stored in the config store.
2423 /* Current design is to not set the config o
2429 startSoftApWithConfig(final WifiConfiguration config) argument
[all...]
/frameworks/native/opengl/include/EGL/
H A Deglext.h254 EGLAPI EGLSurface EGLAPIENTRY eglCreatePixmapSurfaceHI(EGLDisplay dpy, EGLConfig config, struct EGLClientPixmapHI* pixmap);
256 typedef EGLSurface (EGLAPIENTRYP PFNEGLCREATEPIXMAPSURFACEHIPROC) (EGLDisplay dpy, EGLConfig config, struct EGLClientPixmapHI* pixmap);
381 EGLAPI EGLSurface EGLAPIENTRY eglCreateStreamProducerSurfaceKHR(EGLDisplay dpy, EGLConfig config, EGLStreamKHR stream, const EGLint *attrib_list);
383 typedef EGLSurface (EGLAPIENTRYP PFNEGLCREATESTREAMPRODUCERSURFACEKHRPROC)(EGLDisplay dpy, EGLConfig config, EGLStreamKHR stream, const EGLint *attrib_list);
/frameworks/native/opengl/tests/gl2_java/src/com/android/gl2java/
H A DGL2JavaView.java83 public void onSurfaceCreated(GL10 gl, EGLConfig config) { argument
/frameworks/native/services/surfaceflinger/
H A DDisplayDevice.h82 EGLConfig config);
/frameworks/av/services/audioflinger/
H A DAudioPolicyService.h63 virtual status_t setForceUse(audio_policy_force_use_t usage, audio_policy_forced_cfg_t config);
140 virtual bool isOffloadSupported(const audio_offload_info_t &config);
153 // Thread used for tone playback and to send audio config commands to audio flinger
157 // For audio config commands, it is necessary because audio flinger requires that the calling
/frameworks/base/core/java/android/widget/
H A DToast.java387 final Configuration config = mView.getContext().getResources().getConfiguration();
388 final int gravity = Gravity.getAbsoluteGravity(mGravity, config.getLayoutDirection());

Completed in 889 milliseconds

1234567891011