Home
last modified time | relevance | path

Searched refs:getValue (Results 1 – 25 of 251) sorted by relevance

1234567891011

/sdk/sdkmanager/app/src/com/android/sdkmanager/
DSdkCommandLine.java430 ((Boolean) getValue(GLOBAL_FLAG_VERB, NO_VERB_OBJECT, KEY_CLEAR_CACHE)).booleanValue(); in hasClearCache()
435 return (String) getValue(null, null, KEY_PATH); in getParamLocationPath()
447 return (String) getValue(null, null, KEY_TARGET_ID); in getParamTargetId()
452 return (String) getValue(null, null, KEY_NAME); in getParamName()
457 return (String) getValue(null, null, KEY_SKIN); in getParamSkin()
462 return (String) getValue(null, null, KEY_SDCARD); in getParamSdCard()
467 return ((Boolean) getValue(null, null, KEY_FORCE)).booleanValue(); in getFlagForce()
472 return ((Boolean) getValue(null, null, KEY_SNAPSHOT)).booleanValue(); in getFlagSnapshot()
479 return (String) getValue(VERB_MOVE, null, KEY_RENAME); in getParamMoveNewName()
490 return ((String) getValue(null, directObject, KEY_PACKAGE)); in getParamProjectPackage()
[all …]
/sdk/sdkmanager/libs/sdklib/tests/src/com/android/sdklib/util/
DCommandLineParserTest.java179 assertEquals("value1", c.getValue("verb1", "action1", "first")); in testMandatory()
180 assertEquals("value2", c.getValue("verb1", "action1", "second")); in testMandatory()
187 assertEquals(null, c.getValue("verb1", "action1", "first")); in testMandatory()
188 assertEquals("value2", c.getValue("verb1", "action1", "second")); in testMandatory()
195 assertEquals(null, c.getValue("verb1", "action1", "first")); in testMandatory()
196 assertEquals(null, c.getValue("verb1", "action1", "second")); in testMandatory()
209 assertEquals("value1", c.getValue("verb2", null, "first")); in testStringArray()
210 assertTrue(c.getValue("verb2", null, "second") instanceof List<?>); in testStringArray()
212 Arrays.toString(((List<?>) c.getValue("verb2", null, "second")).toArray())); in testStringArray()
213 assertEquals("value3", c.getValue("verb2", null, "third")); in testStringArray()
[all …]
/sdk/lint/libs/lint_checks/src/com/android/tools/lint/checks/
DApiParser.java66 String name = attributes.getValue(ATTR_NAME); in startElement()
67 int since = Integer.parseInt(attributes.getValue(ATTR_SINCE)); in startElement()
72 String name = attributes.getValue(ATTR_NAME); in startElement()
78 String name = attributes.getValue(ATTR_NAME); in startElement()
84 String name = attributes.getValue(ATTR_NAME); in startElement()
90 String name = attributes.getValue(ATTR_NAME); in startElement()
114 String sinceAttr = attributes.getValue(ATTR_SINCE); in getSince()
/sdk/sdk_common/tests/src/com/android/ide/common/resources/configuration/
DScreenSizeQualifierTest.java45 assertEquals(ScreenSize.SMALL, config.getScreenSizeQualifier().getValue()); in testSmall()
52 assertEquals(ScreenSize.NORMAL, config.getScreenSizeQualifier().getValue()); in testNormal()
59 assertEquals(ScreenSize.LARGE, config.getScreenSizeQualifier().getValue()); in testLarge()
66 assertEquals(ScreenSize.XLARGE, config.getScreenSizeQualifier().getValue()); in testXLarge()
DNavigationMethodQualifierTest.java45 assertEquals(Navigation.DPAD, config.getNavigationMethodQualifier().getValue()); in testDPad()
52 assertEquals(Navigation.TRACKBALL, config.getNavigationMethodQualifier().getValue()); in testTrackball()
59 assertEquals(Navigation.WHEEL, config.getNavigationMethodQualifier().getValue()); in testWheel()
DTouchScreenQualifierTest.java45 assertEquals(TouchScreen.NOTOUCH, config.getTouchTypeQualifier().getValue()); in testNoTouch()
52 assertEquals(TouchScreen.FINGER, config.getTouchTypeQualifier().getValue()); in testFinger()
59 assertEquals(TouchScreen.STYLUS, config.getTouchTypeQualifier().getValue()); in testStylus()
DScreenOrientationQualifierTest.java45 assertEquals(ScreenOrientation.PORTRAIT, config.getScreenOrientationQualifier().getValue()); in testPortrait()
53 config.getScreenOrientationQualifier().getValue()); in testLanscape()
61 config.getScreenOrientationQualifier().getValue()); in testSquare()
DTextInputMethodQualifierTest.java45 assertEquals(Keyboard.QWERTY, config.getTextInputMethodQualifier().getValue()); in testQuerty()
52 assertEquals(Keyboard.TWELVEKEY, config.getTextInputMethodQualifier().getValue()); in test12Key()
59 assertEquals(Keyboard.NOKEY, config.getTextInputMethodQualifier().getValue()); in testNoKey()
DKeyboardStateQualifierTest.java45 assertEquals(KeyboardState.EXPOSED, config.getKeyboardStateQualifier().getValue()); in testExposed()
52 assertEquals(KeyboardState.HIDDEN, config.getKeyboardStateQualifier().getValue()); in testHidden()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
DLocale.java55 if (language.getValue().equals(FAKE_LANG_VALUE)) { in Locale()
58 if (region.getValue().equals(FAKE_REGION_VALUE)) { in Locale()
97 String languageCode = hasLanguage() ? language.getValue() : null; in getFlagImage()
98 String regionCode = hasRegion() ? region.getValue() : null; in getFlagImage()
165 .addValue(language.getValue()) in toString()
166 .addValue(region.getValue()) in toString()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
DConfigurationTest.java60 assertEquals(FAKE_LANG_VALUE, folderConfig.getLanguageQualifier().getValue()); in test()
61 assertEquals(FAKE_REGION_VALUE, folderConfig.getRegionQualifier().getValue()); in test()
66 assertEquals(FAKE_LANG_VALUE, folderConfig.getLanguageQualifier().getValue()); in test()
67 assertEquals(FAKE_REGION_VALUE, folderConfig.getRegionQualifier().getValue()); in test()
70 assertEquals(FAKE_REGION_VALUE, folderConfig.getRegionQualifier().getValue()); in test()
71 assertEquals("nb", folderConfig.getLanguageQualifier().getValue()); in test()
DLocaleManagerTest.java51 assertTrue(entry.getValue(), entry.getKey().length() > 0); in testIntegrity()
52 assertTrue(entry.getKey(), entry.getValue().length() > 0); in testIntegrity()
55 assertTrue(entry.getValue(), entry.getKey().length() > 0); in testIntegrity()
56 assertTrue(entry.getKey(), entry.getValue().length() > 0); in testIntegrity()
59 assertTrue(entry.getValue(), entry.getKey().length() > 0); in testIntegrity()
60 assertTrue(entry.getKey(), entry.getValue().length() > 0); in testIntegrity()
195 String region = entry.getValue(); in testAvailableIcons()
/sdk/sdk_common/src/com/android/ide/common/resources/
DValueResourceParser.java67 mCurrentValue.setValue(trimXmlWhitespaces(mCurrentValue.getValue())); in endElement()
102 String name = attributes.getValue(ATTR_NAME); in startElement()
106 String parent = attributes.getValue(ATTR_PARENT); in startElement()
129 String name = attributes.getValue(ATTR_NAME); in startElement()
158 String value = attributes.getValue(ATTR_VALUE); in startElement()
172 String name = attributes.getValue(ATTR_NAME); in startElement()
173 String value = attributes.getValue(ATTR_VALUE); in startElement()
193 typeValue = attributes.getValue(ATTR_TYPE); in getType()
207 String value = mCurrentValue.getValue(); in characters()
/sdk/manifmerger/src/com/android/manifmerger/
DArgvParser.java97 return (String) getValue(null, null, KEY_OUT); in getParamOut()
102 return (String) getValue(null, null, KEY_MAIN); in getParamMain()
109 Object v = getValue(null, null, KEY_LIBS); in getParamLibs()
/sdk/sdk_common/src/com/android/ide/common/resources/configuration/
DUiModeQualifier.java39 public UiMode getValue() { in getValue() method in UiModeQualifier
95 if (compareQualifier.getValue() == referenceQualifier.getValue()) { in isBetterMatchThan()
/sdk/layoutlib_api/sample/src/com/example/android/render/
DRenderService.java185 if (value == null || value.getValue() == null) { in createRenderSession()
189 File layoutFile = new File(value.getValue()); in createRenderSession()
203 mConfig.getDensityQualifier().getValue(), in createRenderSession()
229 params.setConfigScreenSize(mConfig.getScreenSizeQualifier().getValue()); in createRenderSession()
250 ScreenOrientation orientation = mConfig.getScreenOrientationQualifier().getValue(); in figureSomeValuesOut()
274 mXdpi = mConfig.getDensityQualifier().getValue().getDpiValue(); in figureSomeValuesOut()
278 mYdpi = mConfig.getDensityQualifier().getValue().getDpiValue(); in figureSomeValuesOut()
299 mConfig.getDensityQualifier().getValue(),
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
DLintColumn.java89 public abstract String getValue(@NonNull IMarker marker); in getValue() method in LintColumn
133 return getValue(o1).compareTo(getValue(o2)); in compare()
159 public String getValue(@NonNull IMarker marker) { in getValue() method in LintColumn.MessageColumn
290 public String getValue(@NonNull IMarker marker) { in getValue() method in LintColumn.CategoryColumn
316 public String getValue(@NonNull IMarker marker) { in getValue() method in LintColumn.LocationColumn
396 public String getValue(@NonNull IMarker marker) { in getValue() method in LintColumn.FileColumn
426 public String getValue(@NonNull IMarker marker) { in getValue() method in LintColumn.PathColumn
457 public String getValue(@NonNull IMarker marker) { in getValue() method in LintColumn.LineColumn
506 public String getValue(@NonNull IMarker marker) { in getValue() method in LintColumn.PriorityColumn
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/editor/
DTextEditor.java37 textEditor.setText(item.getValue() == null ? "" : item.getValue().toString()); in bindEditor()
44 if (equal(newVal, item.getValue())) in bindEditor()
/sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/build/
DNdkEnvSupplier.java48 public String getValue() { in init()
77 if (path.getValue() != null) in init()
88 public String getValue() { in init()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/mock/
DMocks.java55 expect(javaProject.getOutputLocation()).andReturn(capturedOutput.getValue()).anyTimes(); in createProject()
60 return capturedEntries.getValue(); in createProject()
82 return capturedCompliance.getValue(); in createProject()
89 return capturedSource.getValue(); in createProject()
96 return capturedTarget.getValue(); in createProject()
/sdk/anttargetprint/src/com/android/anttargetprint/
DBuildXmlHandler.java41 String name = attributes.getValue("name"); in startElement()
42 String depends = attributes.getValue("depends"); in startElement()
66 process(entry.getKey(), entry.getValue(), result); in processTargets()
/sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/widgets/
DHardwarePropertyChooser.java78 String s0 = entry0.getValue().getAbstract(); in createDialogContent()
79 String s1 = entry1.getValue().getAbstract(); in createDialogContent()
89 if (entry.getValue().isValidForUi() && in createDialogContent()
91 c.add(entry.getValue().getAbstract()); in createDialogContent()
/sdk/ddms/libs/ddmlib/tests/src/com/android/ddmlib/testrunner/
DInstrumentationResultParserTest.java122 assertEquals("randomValue", captureMetrics.getValue().get("randomKey")); in testParse_testMetrics()
156 assertEquals("3", captureMetrics.getValue().get("currentiterations")); in testParse_repeatedTestMetrics()
157 assertEquals("3", captureMetrics.getValue().get("numiterations")); in testParse_repeatedTestMetrics()
313 assertEquals("2390", captureMetrics.getValue().get("other_pss")); in testParse_instrumentationResults()
314 assertEquals("2539", captureMetrics.getValue().get("java_allocated")); in testParse_instrumentationResults()
315 assertEquals("bar", captureMetrics.getValue().get("foo")); in testParse_instrumentationResults()
316 assertEquals(3, captureMetrics.getValue().size()); in testParse_instrumentationResults()
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/transforms/
DPropertyChangeTransform.java62 if (!mPredicate.apply(property.getValue())) { in apply()
68 mOldValue = property.getValue(); in apply()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/manager/
DProjectResources.java125 resultMap.put(libEntry.getKey(), libEntry.getValue()); in getConfiguredResources()
130 tempMap.putAll(libEntry.getValue()); in getConfiguredResources()
147 resultMap.put(type, entry.getValue()); in getConfiguredResources()
149 typeMap.putAll(entry.getValue()); in getConfiguredResources()

1234567891011