Home
last modified time | relevance | path

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

1234567891011

/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 {@link java.lang.Object} when your activity is restarted due to a configuration change.</p>
[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/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 …]
/frameworks/base/core/java/android/view/
DViewConfiguration.java321 ViewConfiguration configuration = sConfigurations.get(density); in get() local
322 if (configuration == null) { in get()
323 configuration = new ViewConfiguration(context); in get()
324 sConfigurations.put(density, configuration); in get()
327 return configuration; in get()
DGestureDetector.java398 final ViewConfiguration configuration = ViewConfiguration.get(context); in init() local
399 touchSlop = configuration.getScaledTouchSlop(); in init()
400 doubleTapTouchSlop = configuration.getScaledDoubleTapTouchSlop(); in init()
401 doubleTapSlop = configuration.getScaledDoubleTapSlop(); in init()
402 mMinimumFlingVelocity = configuration.getScaledMinimumFlingVelocity(); in init()
403 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>Specifies each screen configuration with which the application is compatible. Only one instance
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
68 <dd>Specifies a single screen configuration with which the application is compatible.
77 <dd><b>Required.</b> Specifies the screen size for this screen configuration.
89 <dd><b>Required.</b> Specifies the screen density for this screen configuration.
111 configuration with which your application is <em>not</em> compatible. Here's what the manifest
Duses-configuration-element.jd1 page.title=&lt;uses-configuration&gt;
19 <dd><pre class="stx">&lt;uses-configuration
37 should include separate {@code &lt;uses-configuration&gt;} declarations for
42 with two {@code &lt;uses-configuration&gt;} elements as follows:
45 <pre>&lt;uses-configuration android:reqFiveWayNav="true" android:reqTouchScreen="finger"
47 &lt;uses-configuration android:reqFiveWayNav="true" android:reqTouchScreen="finger"
/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/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/guide/topics/ui/accessibility/
Dservices.jd14 <li><a href="#service-config">Accessibility service configuration</a></li>
97 <h3 id="service-config">Accessibility service configuration</h3>
99 <p>Accessibility services must also provide a configuration which specifies the types of
101 configuration of an accessibility service is contained in the {@link
103 configuration using an instance of this class and {@link
105 However, not all configuration options are available using this method.</p>
108 with a reference to a configuration file, which allows you to set the full range of options for
122 shows example contents for the service configuration file:</p>
138 configuration file, follow these links to the reference documentation:</p>
151 <p>For more information about which configuration settings can be dynamically set at runtime, see
[all …]
/frameworks/base/native/android/
DAndroid.mk10 configuration.cpp \
/frameworks/base/core/java/android/net/http/
DAndroidHttpClient.java389 LoggingConfiguration configuration = curlConfiguration; in process() local
390 if (configuration != null in process()
391 && configuration.isLoggable() in process()
395 configuration.println(toCurl((HttpUriRequest) request, false)); in process()
/frameworks/base/docs/html/training/search/
Dsetup.jd86 configuration</a> defines how the {@link android.widget.SearchView} behaves and is defined in a
87 <code>res/xml/searchable.xml</code> file. At a minimum, a searchable configuration must contain
115 created before, associate the searchable configuration with the {@link android.widget.SearchView}
123 // Associate searchable configuration with the SearchView
136 {@link android.app.SearchableInfo} object that is created from the searchable configuration XML
137 file. When the searchable configuration is correctly associated with your {@link
/frameworks/native/libs/utils/
DREADME60 categories; a `configuration' indicates a set of phone language, display
65 independent of configuration.
68 values depending on configuration.
71 values depending on configuration.
91 Resource values are specified paired with a set of configuration
95 current configuration, and the value corresponding to the best matching
150 configuration/value pairs. Any number of overlay packages may be loaded
/frameworks/base/docs/html/guide/practices/
Dscreens_support.jd25 <li><a href="#qualifiers">Using configuration qualifiers</a></li>
153 configuration and ensure that your application not only renders properly, but provides the best
176 baseline configuration that is a <em>normal</em> size and <em>mdpi</em> (medium) density. This
177 baseline is based upon the screen configuration for the first Android-powered device, the T-Mobile
178 G1, which has an HVGA screen (until Android 1.6, this was the only screen configuration that Android
230 (Android's first device and baseline screen configuration). On the other hand, a WVGA medium-density
295 configuration. The system handles most of the work to render your application properly on each
296 screen configuration by scaling layouts to fit the screen size/density and scaling bitmap drawables
319 <p>The configuration qualifiers you can use to provide size-specific resources are
323 should instead use the {@code sw&lt;N&gt;dp} configuration qualifier to define the smallest
[all …]
/frameworks/opt/telephony/
DREADME.txt58 -- Retry configuration --
60 You can replace the connection retry configuration. For example, you
/frameworks/base/data/keyboards/
Dqwerty2.idc16 # Emulator keyboard configuration file #2.
Dqwerty.idc16 # Emulator keyboard configuration file #1.
/frameworks/compile/mclinker/include/mcld/Config/
DLinkers.def.in16 // The set of targets supported by MCLD is generated at configuration
DTargets.def.in16 |* The set of targets supported by MCLD is generated at configuration *|

1234567891011