Home
last modified time | relevance | path

Searched refs:Configuration (Results 1 – 25 of 35) sorted by relevance

12

/sdk/apps/DeviceConfig/src/com/example/android/deviceconfig/
DMyActivity.java22 import android.content.res.Configuration;
60 Configuration config = getResources().getConfiguration(); in onCreate()
64 String separator = config.orientation == Configuration.ORIENTATION_PORTRAIT ? "\n" : ""; in onCreate()
66 if (config.keyboardHidden == Configuration.KEYBOARDHIDDEN_NO) { in onCreate()
68 } else if (config.keyboardHidden == Configuration.KEYBOARDHIDDEN_YES) { in onCreate()
70 } else if (config.keyboardHidden == Configuration.KEYBOARDHIDDEN_UNDEFINED) { in onCreate()
76 if (config.hardKeyboardHidden == Configuration.HARDKEYBOARDHIDDEN_NO) { in onCreate()
78 } else if (config.hardKeyboardHidden == Configuration.HARDKEYBOARDHIDDEN_YES) { in onCreate()
80 } else if (config.hardKeyboardHidden == Configuration.HARDKEYBOARDHIDDEN_UNDEFINED) { in onCreate()
91 if (config.navigationHidden == Configuration.NAVIGATIONHIDDEN_NO) { in onCreate()
[all …]
DConfigGenerator.java24 import android.content.res.Configuration;
169 Configuration config = resources.getConfiguration(); in generateConfig()
199 switch (config.screenLayout & Configuration.SCREENLAYOUT_SIZE_MASK) { in generateConfig()
200 case Configuration.SCREENLAYOUT_SIZE_SMALL: in generateConfig()
203 case Configuration.SCREENLAYOUT_SIZE_NORMAL: in generateConfig()
206 case Configuration.SCREENLAYOUT_SIZE_LARGE: in generateConfig()
209 case Configuration.SCREENLAYOUT_SIZE_XLARGE: in generateConfig()
253 switch (config.screenLayout & Configuration.SCREENLAYOUT_LONG_MASK) { in generateConfig()
254 case Configuration.SCREENLAYOUT_LONG_YES: in generateConfig()
257 case Configuration.SCREENLAYOUT_LONG_NO: in generateConfig()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
DNestedConfiguration.java40 public class NestedConfiguration extends Configuration {
42 protected Configuration mParent;
56 @NonNull Configuration configuration) { in NestedConfiguration()
90 @NonNull Configuration values, in create()
91 @NonNull Configuration parent) { in create()
109 NestedConfiguration other, Configuration values, boolean sync) { in initFrom()
142 public void setParent(@NonNull Configuration parent) { in setParent()
157 @NonNull Configuration parent) { in create()
425 public Configuration getParent() { in getParent()
462 public static String computeDisplayName(int flags, @NonNull Configuration configuration) { in computeDisplayName()
DConfiguration.java71 public class Configuration { class
167 protected Configuration(@NonNull ConfigurationChooser chooser) { in Configuration() method in Configuration
202 public static Configuration create(@NonNull ConfigurationChooser chooser) { in create()
203 return new Configuration(chooser); in create()
214 public static Configuration create( in create()
215 @NonNull Configuration base, in create()
217 Configuration configuration = copy(base); in create()
240 public static Configuration copy(@NonNull Configuration original) { in copy()
241 Configuration copy = create(original.mConfigChooser); in copy()
DOrientationMenuAction.java63 Configuration configuration = configChooser.getConfiguration(); in showMenu()
134 Configuration configuration = mConfigChooser.getConfiguration(); in run()
153 Configuration configuration = mConfigChooser.getConfiguration(); in run()
DConfigurationChooser.java27 import static com.android.ide.eclipse.adt.internal.editors.layout.configuration.Configuration.CFG_D…
28 import static com.android.ide.eclipse.adt.internal.editors.layout.configuration.Configuration.CFG_D…
29 import static com.android.ide.eclipse.adt.internal.editors.layout.configuration.Configuration.CFG_F…
30 import static com.android.ide.eclipse.adt.internal.editors.layout.configuration.Configuration.CFG_L…
31 import static com.android.ide.eclipse.adt.internal.editors.layout.configuration.Configuration.CFG_T…
32 import static com.android.ide.eclipse.adt.internal.editors.layout.configuration.Configuration.CFG_T…
33 import static com.android.ide.eclipse.adt.internal.editors.layout.configuration.Configuration.MASK_…
123 private @NonNull Configuration mConfiguration = Configuration.create(this);
366 public Configuration getConfiguration() { in getConfiguration()
613 public void setConfiguration(@NonNull Configuration configuration) { in setConfiguration()
[all …]
DVaryingConfiguration.java69 @NonNull Configuration configuration) { in VaryingConfiguration()
84 @NonNull Configuration parent) { in create()
99 @NonNull Configuration parent) { in create()
DConfigurationDescription.java145 @NonNull Configuration configuration) { in fromConfiguration()
195 IAndroidTarget target = Configuration.stringToTarget(targetId); in fromXml()
230 description.state = Configuration.getState(d, stateName); in fromXml()
280 element.setAttribute(ATTR_TARGET, Configuration.targetToString(target)); in toXml()
DActivityMenuListener.java68 Configuration configuration = mConfigChooser.getConfiguration(); in widgetSelected()
86 Configuration configuration = chooser.getConfiguration(); in show()
DTargetMenuListener.java79 Configuration configuration = chooser.getConfiguration(); in show()
DThemeMenuAction.java95 Configuration configuration = configChooser.getConfiguration(); in showThemeMenu()
183 Configuration configuration = mConfigChooser.getConfiguration(); in addMenuItems()
DLocaleMenuListener.java80 Configuration configuration = chooser.getConfiguration(); in show()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
DConfigurationTest.java38 private Configuration createConfiguration() throws Exception { in createConfiguration()
41 Constructor<Configuration> constructor = in createConfiguration()
42 Configuration.class.getDeclaredConstructor(ConfigurationChooser.class); in createConfiguration()
49 Configuration configuration = createConfiguration(); in test()
110 Configuration configuration = createConfiguration(); in testCopy()
126 Configuration copy = Configuration.copy(configuration); in testCopy()
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/device/
DDeviceBridge.java38 private static int nextLocalPort = Configuration.DEFAULT_SERVER_PORT;
90 return startViewServer(device, Configuration.DEFAULT_SERVER_PORT); in startViewServer()
147 device.createForward(localPort, Configuration.DEFAULT_SERVER_PORT); in setupDeviceForward()
169 device.removeForward(localPort, Configuration.DEFAULT_SERVER_PORT); in removeDeviceForward()
201 Configuration.SERVICE_CODE_START_SERVER, port); in buildStartServerShellCommand()
205 return String.format("service call window %d", Configuration.SERVICE_CODE_STOP_SERVER); in buildStopServerShellCommand()
210 Configuration.SERVICE_CODE_IS_SERVER_RUNNING); in buildIsServerRunningShellCommand()
DConfiguration.java19 public class Configuration { class
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DRenderPreviewManager.java19 import static com.android.ide.eclipse.adt.internal.editors.layout.configuration.Configuration.CFG_D…
20 import static com.android.ide.eclipse.adt.internal.editors.layout.configuration.Configuration.CFG_D…
21 import static com.android.ide.eclipse.adt.internal.editors.layout.configuration.Configuration.MASK_…
42 import com.android.ide.eclipse.adt.internal.editors.layout.configuration.Configuration;
591 Configuration configuration = preview.getConfiguration(); in paint()
696 Configuration configuration = Configuration.copy(chooser.getConfiguration()); in addAsThumbnail()
747 Configuration parent = chooser.getConfiguration(); in addDefaultPreviews()
778 private void createRenderTargetVariation(ConfigurationChooser chooser, Configuration parent) { in createRenderTargetVariation()
790 private void createStateVariation(ConfigurationChooser chooser, Configuration parent) { in createStateVariation()
802 private void createLocaleVariation(ConfigurationChooser chooser, Configuration parent) { in createLocaleVariation()
[all …]
DRenderPreviewList.java22 import com.android.ide.eclipse.adt.internal.editors.layout.configuration.Configuration;
151 Configuration chooserConfig = chooser.getConfiguration(); in createPreviews()
153 Configuration configuration = Configuration.create(chooser); in createPreviews()
202 Configuration configuration = preview.getConfiguration(); in add()
DRenderPreview.java21 import static com.android.ide.eclipse.adt.internal.editors.layout.configuration.Configuration.MASK_…
42 import com.android.ide.eclipse.adt.internal.editors.layout.configuration.Configuration;
145 private @NonNull Configuration mConfiguration;
148 private @NonNull Configuration mAlternateConfiguration;
204 @NonNull Configuration configuration) { in RenderPreview()
226 public void setConfiguration(@NonNull Configuration configuration) { in setConfiguration()
397 mAlternateConfiguration = Configuration.create(mConfiguration, in updateForkStatus()
414 @NonNull Configuration configuration) { in create()
516 Configuration configuration = in renderSync()
601 private ResourceResolver getResourceResolver(Configuration configuration) { in getResourceResolver()
[all …]
DRenderService.java47 import com.android.ide.eclipse.adt.internal.editors.layout.configuration.Configuration;
124 Configuration config = chooser.getConfiguration(); in RenderService()
142 Configuration configuration, ResourceResolver resourceResolver, in RenderService()
240 Configuration configuration, ResourceResolver resolver) { in create()
255 Configuration configuration, ResourceResolver resolver, Object credential) { in create()
DGraphicalEditorPart.java35 import static com.android.ide.eclipse.adt.internal.editors.layout.configuration.Configuration.CFG_D…
36 import static com.android.ide.eclipse.adt.internal.editors.layout.configuration.Configuration.CFG_D…
37 import static com.android.ide.eclipse.adt.internal.editors.layout.configuration.Configuration.CFG_F…
38 import static com.android.ide.eclipse.adt.internal.editors.layout.configuration.Configuration.CFG_T…
76 import com.android.ide.eclipse.adt.internal.editors.layout.configuration.Configuration;
683 boolean affectsFileSelection = (flags & Configuration.MASK_FILE_ATTRS) != 0; in changed()
728 Configuration configuration = mConfigChooser.getConfiguration(); in changed()
753 Configuration configuration = mConfigChooser.getConfiguration(); in changed()
1560 public RenderService createRenderService(Configuration configuration, in createRenderService()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/
DStringEvaluator.java26 import freemarker.template.Configuration;
48 private Configuration mFreemarker;
54 mFreemarker = new Configuration(); in StringEvaluator()
DTemplateHandler.java54 import freemarker.template.Configuration;
315 Configuration freemarker = new Configuration(); in render()
450 private void processVariables(final Configuration freemarker, in processVariables()
579 final Configuration freemarker, in execute()
706 @NonNull final Configuration freemarker, in merge()
957 @NonNull final Configuration freemarker, in instantiate()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
DProjectLintConfiguration.java22 import com.android.tools.lint.client.api.Configuration;
44 Configuration parent, boolean fatalOnly) { in ProjectLintConfiguration()
50 Configuration parent, boolean fatalOnly) { in create()
DGlobalLintConfiguration.java22 import com.android.tools.lint.client.api.Configuration;
38 class GlobalLintConfiguration extends Configuration {
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/lint/
DProjectLintConfigurationTest.java23 import com.android.tools.lint.client.api.Configuration;
41 Configuration parent = null; in testBasic()
73 Configuration parent = null; in testInheritance()
131 Configuration parent = null; in testBulkEditing()

12