Home
last modified time | relevance | path

Searched refs:configuration (Results 1 – 25 of 302) sorted by relevance

12345678910>>...13

/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/
DConfigGenerator.java20 import com.android.ide.common.resources.configuration.CountryCodeQualifier;
21 import com.android.ide.common.resources.configuration.DensityQualifier;
22 import com.android.ide.common.resources.configuration.FolderConfiguration;
23 import com.android.ide.common.resources.configuration.KeyboardStateQualifier;
24 import com.android.ide.common.resources.configuration.LanguageQualifier;
25 import com.android.ide.common.resources.configuration.LayoutDirectionQualifier;
26 import com.android.ide.common.resources.configuration.NavigationMethodQualifier;
27 import com.android.ide.common.resources.configuration.NetworkCodeQualifier;
28 import com.android.ide.common.resources.configuration.NightModeQualifier;
29 import com.android.ide.common.resources.configuration.RegionQualifier;
[all …]
/frameworks/base/docs/html/training/wearables/watch-faces/
Dconfiguration.jd27 <p>Some watch faces support configuration parameters to let users customize how the watch face
32 <p>Watch faces that support configuration parameters can let users customize a watch face using
34 wearable configuration activity on the wearable device, and they can start the companion
35 configuration activity from the Android Wear companion app.</p>
38 implement handheld and wearable configuration activities and how to update a watch face in
39 response to configuration changes. This sample is located in the
46 <p>If your watch face includes configuration activities, add the following metadata entries to
52 &lt;!-- companion configuration activity -->
58 &lt;!-- wearable configuration activity -->
72 <p>If your watch face only includes a companion or a wearable configuration activity, you only
[all …]
/frameworks/base/docs/html/guide/topics/resources/
Druntime-changes.jd30 alternative resources that match the new device configuration.</p>
42 invoke configuration changes (such as changing the screen orientation) while performing various
44 user data or state in order to handle events such as configuration changes or when the user receives
54 <li><a href="#RetainingAnObject">Retain an object during a configuration change</a>
55 <p>Allow your activity to restart when a configuration changes, but carry a stateful
59 <li><a href="#HandlingTheChange">Handle the configuration change yourself</a>
60 <p>Prevent the system from restarting your activity during certain configuration
70 connection, or perform other intensive operations, then a full restart due to a configuration change
75 deserialized, which can consume a lot of memory and make the configuration change slow. In such a
77 android.app.Fragment} when your activity is restarted due to a configuration change. This fragment
[all …]
Doverview.jd29 configuration.</p>
49 the device configuration or when there are no alternative resources that match the current
50 configuration.</li>
52 configuration. To specify that a group of resources are for a specific configuration,
53 append an appropriate configuration qualifier to the directory name.</li>
60 device's current configuration to your resource directory names.</p>
77 <dd>How to manage configuration changes that occur while your Activity is running.</dd>
Dproviding-resources.jd11 <li>Alternative resources provide configuration-specific resource files</li>
41 runtime, Android uses the appropriate resource based on the current configuration. For
177 android.content.res.Resources#getXml(int) Resources.getXML()}. Various XML configuration files
179 href="{@docRoot}guide/topics/search/searchable-config.html">searchable configuration</a>.
180 <!-- or preferences configuration. --></td>
213 detects the current device configuration and loads the appropriate
216 <p>To specify configuration-specific alternatives for a set of resources:</p>
223 <li><em>{@code &lt;qualifier&gt;}</em> is a name that specifies an individual configuration
254 configuration information with the qualifiers in the resource directory name.</p>
256 <p>Android supports several configuration qualifiers and you can
[all …]
/frameworks/base/core/java/android/hardware/usb/
DUsbDevice.java195 UsbConfiguration configuration = (UsbConfiguration)mConfigurations[i]; in getInterfaceList() local
196 interfaceCount += configuration.getInterfaceCount(); in getInterfaceList()
202 UsbConfiguration configuration = (UsbConfiguration)mConfigurations[i]; in getInterfaceList() local
203 interfaceCount = configuration.getInterfaceCount(); in getInterfaceList()
205 mInterfaces[offset++] = configuration.getInterface(j); in getInterfaceList()
239 public void setConfigurations(Parcelable[] configuration) { in setConfigurations() argument
240 mConfigurations = configuration; in setConfigurations()
DUsbConfiguration.java161 UsbConfiguration configuration = new UsbConfiguration(id, name, attributes, maxPower);
162 configuration.setInterfaces(interfaces);
163 return configuration;
DUsbDeviceConnection.java118 public boolean setConfiguration(UsbConfiguration configuration) { in setConfiguration() argument
119 return native_set_configuration(configuration.getId()); in setConfiguration()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteConnectionPool.java148 private SQLiteConnectionPool(SQLiteDatabaseConfiguration configuration) { in SQLiteConnectionPool() argument
149 mConfiguration = new SQLiteDatabaseConfiguration(configuration); in SQLiteConnectionPool()
170 public static SQLiteConnectionPool open(SQLiteDatabaseConfiguration configuration) { in open() argument
171 if (configuration == null) { in open()
176 SQLiteConnectionPool pool = new SQLiteConnectionPool(configuration); in open()
254 public void reconfigure(SQLiteDatabaseConfiguration configuration) { in reconfigure() argument
255 if (configuration == null) { in reconfigure()
262 boolean walModeChanged = ((configuration.openFlags ^ mConfiguration.openFlags) in reconfigure()
280 boolean foreignKeyModeChanged = configuration.foreignKeyConstraintsEnabled in reconfigure()
294 if (mConfiguration.openFlags != configuration.openFlags) { in reconfigure()
[all …]
DSQLiteConnection.java161 SQLiteDatabaseConfiguration configuration, in SQLiteConnection() argument
164 mConfiguration = new SQLiteDatabaseConfiguration(configuration); in SQLiteConnection()
167 mIsReadOnlyConnection = (configuration.openFlags & SQLiteDatabase.OPEN_READONLY) != 0; in SQLiteConnection()
188 SQLiteDatabaseConfiguration configuration, in open() argument
190 SQLiteConnection connection = new SQLiteConnection(pool, configuration, in open()
399 void reconfigure(SQLiteDatabaseConfiguration configuration) { in reconfigure() argument
403 final int functionCount = configuration.customFunctions.size(); in reconfigure()
405 SQLiteCustomFunction function = configuration.customFunctions.get(i); in reconfigure()
412 boolean foreignKeyModeChanged = configuration.foreignKeyConstraintsEnabled in reconfigure()
414 boolean walModeChanged = ((configuration.openFlags ^ mConfiguration.openFlags) in reconfigure()
[all …]
/frameworks/base/docs/html/tools/building/
Dbuilding-eclipse.jd46 automatically create a default run configuration for the project. Eclipse will then perform the
52 <li>Create a default run configuration (if one does not already exist for the project).</li>
55 Target defined by the run configuration.
67 <p>To set or change the run configuration used for your project, use the run configuration
112 <p>The run configuration specifies the project to run, the Activity to start, the emulator or
114 Application</em>, ADT will automatically create a run configuration. The default run
115 configuration will launch the default project Activity and use automatic target mode for device
117 customize the run configuration or even create a new one.</p>
119 …<p>To create or modify a run configuration, refer to the Eclipse documentation on how to create Ru…
123 <li>Open the run configuration manager from the Run Menu.</li>
[all …]
Dbuilding-studio.jd111 <p>The run configuration specifies the module to run, package to deploy, Activity to start,
112 target device, emulator settings, and Logcat options. Run configuration can be set at the project,
114 Android Studio will automatically create a run configuration. The default run
115 configuration will launch the default project Activity and use automatic target mode for device
117 can customize the run configuration or even create a new one.</p>
119 <p>To create or modify a run configuration, see the IntelliJ documentation on
120 <a href="https://www.jetbrains.com/idea/webhelp/run-debug-configuration-android-application.html">
128 <li>Expand the <strong>Android Application</strong> item and create a new configuration or open
131 <li>With the Run Configuration selected, adjust your desired run configuration settings:
151 <p>By default, a run configuration uses the <strong>automatic</strong> target mode in order to
[all …]
Dmultidex.jd94 <em>multidex</em> configuration.
147 Using these techniques can help you avoid the build configuration changes required to enable more
157 multidex as part of your build configuration. Make sure you update the Android SDK Build Tools
164 Setting up your app development project to use a multidex configuration requires that you make a
170 <li>Change your Gradle build configuration to enable multidex</li>
176 Modify your app Gradle build file configuration to include the support library and enable
227 When these configuration settings are added to an app, the Android build tools construct a
243 when you incorporate it into your app build configuration:
261 <li>Applications using a multidex configuration that make very large memory allocation
281 A multidex configuration requires significantly increased build processing time because the build
[all …]
Dplugin-for-gradle.jd44 <h2 id="buildConf">Build configuration</h2>
46 <p>The build configuration for your project is defined inside <code>build.gradle</code> files,
60 elements of the manifest file in the build variant configuration. These build values
67 configuration, and it can sign your APKs during the build process.</li>
112 configuration options common to all application modules in the project. Each application module
174 <p>This example applies the Android plugin, uses the default configuration to override several
207 compile project(path: ':app2, configuration: 'android-endpoints')
335 <p>By default, Android Studio defines default configuration settings, <code>defaultConfig</code> in
342 each with its own customized configuration:</p>
394 <li><code>src/main/</code> - the main source directory (the default configuration common to all
[all …]
/frameworks/base/core/java/android/view/
DViewConfiguration.java362 ViewConfiguration configuration = sConfigurations.get(density); in get() local
363 if (configuration == null) { in get()
364 configuration = new ViewConfiguration(context); in get()
365 sConfigurations.put(density, configuration); in get()
368 return configuration; in get()
DGestureDetector.java399 final ViewConfiguration configuration = ViewConfiguration.get(context); in init() local
400 touchSlop = configuration.getScaledTouchSlop(); in init()
401 doubleTapTouchSlop = configuration.getScaledDoubleTapTouchSlop(); in init()
402 doubleTapSlop = configuration.getScaledDoubleTapSlop(); in init()
403 mMinimumFlingVelocity = configuration.getScaledMinimumFlingVelocity(); in init()
404 mMaximumFlingVelocity = configuration.getScaledMaximumFlingVelocity(); in init()
/frameworks/base/docs/html/training/multiple-apks/
Dindex.jd38 configuration variables. Each lesson covers basics about how to organize your codebase and target
53 configuration using the <code>aapt</code> tool before pushing live.</dd>
57 organize your codebase, what to do with your manifest, and how to investigate your APK configuration
63 configuration using the <code>aapt</code> tool before pushing live.</dd>
66 <dd>Learn how to target different Android devices based on more than one configuration
69 manifest, and how to investigate your APK configuration using the <code>aapt</code> tool before
/frameworks/av/include/drm/
Ddrm_framework_common.h89 configuration(_configuration) { in ActionDescription()
94 int configuration; /* RESOLUTION_720_480 , RECORDABLE etc.*/ variable
/frameworks/base/docs/html/guide/topics/manifest/
Dcompatible-screens-element.jd23 <dd itemprop="description">Specifies each screen configuration with which the application is compat…
31 with specific screen configurations and enable filtering for users. Any screen configuration that is
39 configuration that you have not listed. You should use it only as a last resort, when the
69 <dd>Specifies a single screen configuration with which the application is compatible.
78 <dd><b>Required.</b> Specifies the screen size for this screen configuration.
90 <dd><b>Required.</b> Specifies the screen density for this screen configuration.
116 configuration with which your application is <em>not</em> compatible. Here's what the manifest
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DTaskStackViewTouchHandler.java60 ViewConfiguration configuration = ViewConfiguration.get(context); in TaskStackViewTouchHandler() local
61 mMinimumVelocity = configuration.getScaledMinimumFlingVelocity(); in TaskStackViewTouchHandler()
62 mMaximumVelocity = configuration.getScaledMaximumFlingVelocity(); in TaskStackViewTouchHandler()
63 mScrollTouchSlop = configuration.getScaledTouchSlop(); in TaskStackViewTouchHandler()
64 mPagingTouchSlop = configuration.getScaledPagingTouchSlop(); in TaskStackViewTouchHandler()
/frameworks/support/v4/java/android/support/v4/view/
DGestureDetectorCompat.java174 final ViewConfiguration configuration = ViewConfiguration.get(context); in init() local
175 final int touchSlop = configuration.getScaledTouchSlop(); in init()
176 final int doubleTapSlop = configuration.getScaledDoubleTapSlop(); in init()
177 mMinimumFlingVelocity = configuration.getScaledMinimumFlingVelocity(); in init()
178 mMaximumFlingVelocity = configuration.getScaledMaximumFlingVelocity(); in init()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNavigationBarViewTaskSwitchHelper.java40 ViewConfiguration configuration = ViewConfiguration.get(context); in NavigationBarViewTaskSwitchHelper() local
43 mMinFlingVelocity = configuration.getScaledMinimumFlingVelocity(); in NavigationBarViewTaskSwitchHelper()
/frameworks/base/docs/html/tools/testing/
Dwhat_to_test.jd40 <h4>Change in configuration</h4>
43 configuration, such as a change in the availability of a keyboard or a change in system
47 A change in configuration also triggers the default behavior of destroying and then restarting
50 correctly to the new configuration.
/frameworks/base/docs/html/tools/devices/
Dmanaging-avds.jd66 <li><p>In the Select Hardware window, select a device configuration, such as Nexus 6,
74 <li>Verify the configuration settings, then click <strong>Finish</strong>.
104 creating a custom device configuration.</p>
106 <li>Your custom device configuration is now available in the list of device definitions
108 with your custom device configuration, select the new configuration and follow the instructions
287 … <li>Layout files for supported orientations (landscape, portrait) and physical configuration</li>
292 <li>Create a new directory where you will save your skin configuration files. </li>
/frameworks/base/docs/html/guide/topics/ui/accessibility/
Dservices.jd14 <li><a href="#service-config">Accessibility service configuration</a></li>
104 <h3 id="service-config">Accessibility service configuration</h3>
106 <p>Accessibility services must also provide a configuration which specifies the types of
108 configuration of an accessibility service is contained in the {@link
110 configuration using an instance of this class and {@link
112 However, not all configuration options are available using this method.</p>
115 with a reference to a configuration file, which allows you to set the full range of options for
129 shows example contents for the service configuration file:</p>
145 configuration file, follow these links to the reference documentation:</p>
158 <p>For more information about which configuration settings can be dynamically set at runtime, see
[all …]

12345678910>>...13