/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ |
AndroidXmlAutoEditStrategy.java | 102 if (region != null && region.getType().equals(XML_TAG_NAME)) { 124 && (left.getType().equals(XML_TAG_CLOSE) 125 || left.getType().equals(XML_EMPTY_TAG_CLOSE))) { 134 if (right != null && right.getType().equals(XML_END_TAG_OPEN)) { 165 && left.getType().equals(XML_TAG_CLOSE) 166 && right.getType().equals(XML_END_TAG_OPEN)) { 177 } else if (region != null && region.getType().equals(XML_CONTENT)) { 421 if (XML_TAG_OPEN.equals(type)) { 424 } else if (XML_TAG_CLOSE.equals(type)) { 431 } else if (XML_END_TAG_OPEN.equals(type)) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/ |
SdkSelectionPage.java | 228 if (path.getName().equals(SdkConstants.FD_SAMPLE)) { 256 if (file.getName().equals(previouslyChosenName)) { 297 if (!SdkConstants.FD_SOURCES.equals(leaf) && 298 !SdkConstants.FD_ASSETS.equals(leaf) && 299 !SdkConstants.FD_RES.equals(leaf)) { 329 accept = s.equals(targetVersion.getCodename()); 353 if (!rootDir.equals(sampleDir)) { 368 rootDir.equals(sampleDir) && 369 sampleDir.getName().equals(SdkConstants.FD_SAMPLE) && 379 SdkConstants.FD_SAMPLE.equals(name) | [all...] |
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/devices/ |
DeviceManager.java | 153 if (d.getName().equals(name) && d.getManufacturer().equals(manufacturer)) { 207 if (mVendorDevices == null || !mVendorDevicesLocation.equals(sdkLocation)) { 298 if (userDevice.getName().equals(d.getName()) 299 && userDevice.getManufacturer().equals(d.getManufacturer())) { 356 getBooleanVal(hw.getButtonType().equals(ButtonType.HARD))); 358 getBooleanVal(hw.getNav().equals(Navigation.TRACKBALL))); 360 getBooleanVal(hw.getKeyboard().equals(Keyboard.QWERTY))); 362 getBooleanVal(hw.getNav().equals(Navigation.DPAD))); 367 getBooleanVal(hw.getChargeType().equals(PowerType.BATTERY))) [all...] |
/tools/motodev/src/plugins/emulator/src/com/motorola/studio/android/emulator/logic/ |
StartEmulatorProcessLogic.java | 138 if (key.equals("other")) 148 if ((value.trim().length() > 0) && !value.equals(Boolean.TRUE.toString())) 151 if (Platform.getOS().equals(Platform.OS_MACOSX)) 173 else if ((value.trim().length() > 0) && value.equals(Boolean.TRUE.toString())) 187 if (Boolean.TRUE.toString().equals(useProxy)) 202 if (!param.equals(EMULATOR_HTTP_PROXY_PARAMETER)) 237 if (Boolean.FALSE.toString().equals(startFromSnapshot)) 249 if (Boolean.FALSE.toString().equals(saveSnapshot)) 272 if (!Platform.getOS().equals(Platform.OS_MACOSX)) 342 .equals(Boolean.TRUE.toString()) [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
StringBuffer2Test.java | 52 && (sb.toString().equals("HelloWorld"))); 90 .equals("HelloWorld"))); 107 (sb.toString().equals("HW"))); 134 assertTrue("Buffer contains invalid characters", sb.toString().equals( 179 assertTrue("Buffer contains invalid characters", sb.toString().equals( 197 .equals("HelloWorld"))); 212 .equals("falsetrue"))); 262 assertTrue("Deleted incorrect chars", testBuffer.toString().equals("")); 307 .equals(testBuffer.toString().substring(4, 8))); 386 assertTrue("Insert test failed", testBuffer.toString().equals( [all...] |
/external/guava/guava-tests/test/com/google/common/io/ |
ByteStreamsTest.java | 126 assertTrue(Arrays.equals(range, 305 assertTrue(Arrays.equals(range, ByteStreams.toByteArray(okRead))); 374 assertTrue(Arrays.equals(expected, out.toByteArray())); 382 assertTrue(Arrays.equals(expected, out.toByteArray())); 393 assertTrue(Arrays.equals(expected, out.toByteArray())); 443 assertTrue(Arrays.equals(new byte[10], b)); 447 assertTrue(Arrays.equals(newPreFilledByteArray(10), b)); 451 assertTrue(Arrays.equals(new byte[]{0, 1, 2, 3, 4, 0, 0, 0, 0, 0}, b)); 640 assertTrue(Arrays.equals(BYTES, out.toByteArray())); 647 assertTrue(Arrays.equals(BYTES, out.toByteArray())) [all...] |
/external/jmonkeyengine/engine/src/xml/com/jme3/export/xml/ |
DOMOutputCapsule.java | 159 if (Arrays.equals(value, defVal)) { return; } 393 if (value == null || value.equals(defVal)) { 433 if (value == null || value.equals(defVal)) { 450 if (object.equals(defVal)) { 458 if(!object.getClass().getName().equals(name)){ 508 if (Arrays.equals(objects, defVal)) { 519 if(!name.equals("renderStateList")){ 550 if (array.equals(defVal)) { 573 if (Arrays.equals(objects, defVal)) {return;} 612 if (array.equals(defVal)) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/ |
UiElementPullParser.java | 334 if (mIncreaseExistingPadding && ATTR_PADDING.equals(attribute.getLocalName()) && 335 ANDROID_URI.equals(attribute.getNamespaceURI())) { 350 if (mExplodeNodes != null && ATTR_PADDING.equals(localName) && 351 ANDROID_URI.equals(namespace)) { 358 if (mZeroAttributeIsPadding && ATTR_PADDING.equals(localName) && 359 ANDROID_URI.equals(namespace)) { 370 if (ATTR_LAYOUT.equals(localName) && VIEW_FRAGMENT.equals(xmlNode.getNodeName())) { 383 if (attribute == null && namespace != null && !namespace.equals(ANDROID_URI)) { 389 if (mIncreaseExistingPadding && ATTR_PADDING.equals(localName) & [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
DynamicContextMenu.java | 253 && selection.get(0).getViewInfo().getName().equals(FQCN_LINEAR_LAYOUT)) { 259 if ((first.equals(FQCN_IMAGE_VIEW) && second.equals(FQCN_TEXT_VIEW)) 260 || (first.equals(FQCN_TEXT_VIEW) && second.equals(FQCN_IMAGE_VIEW))) { 273 selection.get(0).getViewInfo().getName().equals(FQCN_GESTURE_OVERLAY_VIEW))) { 291 boolean isGrid = name.equals(GRID_VIEW); 292 boolean isSpinner = name.equals(SPINNER); 293 if (name.equals(LIST_VIEW) || name.equals(EXPANDABLE_LIST_VIEW [all...] |
/tools/motodev/src/plugins/android.codeutils/src/com/motorola/studio/android/generatecode/ |
AbstractCodeGenerator.java | 220 && inflateInvocation.getName().getIdentifier().equals("inflate"))
244 if ((md.getName() != null) && md.getName().toString().equals(node.getOnClick()))
275 && binding.toString().trim().equals(bindingString.trim()))
291 * @param sameClass true, it will compare if there is the same statement class in the body of the methodDeclaration (but the content may be different), false it will ignore the class and it will compare if the content is the same (given by toString.equals())
304 * @param sameClass true, it will compare if there is the same statement class in the body of the methodDeclaration (but the content may be different), false it will ignore the class and it will compare if the content is the same (given by toString.equals())
334 * @param sameClass true, it will compare if there is the same statement class in the body of the methodDeclaration (but the content may be different), false it will ignore the class and it will compare if the content is the same (given by toString.equals())
347 if ((!sameClass && declarationStatement.toString().equals(statement.toString()))
348 || (sameClass && statement.getClass().equals(
362 * @param sameClass true, it will compare if there is the same statement class in the body of the methodDeclaration (but the content may be different), false it will ignore the class and it will compare if the content is the same (given by toString.equals())
375 if ((!sameClass && declarationStatement.toString().equals(statement.toString())) [all...] |
/frameworks/base/media/java/android/media/videoeditor/ |
VideoEditorImpl.java | 151 if (s.equals("1")) { 540 if (at.getId().equals(audioTrackId)) { 571 if (mediaItem.getId().equals(mediaItemId)) { 590 if (transition.getId().equals(transitionId)) { 613 if (at.getId().equals(afterAudioTrackId)) { 648 if (mi.getId().equals(afterMediaItemId)) { 706 if (mi.getId().equals(afterMediaItemId)) { 835 * If string equals first mediaItem, then 838 if (firstItemString.equals(mediaItemId)) { 869 * If string equals first mediaItem, the [all...] |
/sdk/sdkmanager/app/src/com/android/sdkmanager/ |
Main.java | 249 if (SdkCommandLine.VERB_LIST.equals(verb)) { 251 if (SdkCommandLine.OBJECT_TARGET.equals(directObject)) { 254 } else if (SdkCommandLine.OBJECT_AVD.equals(directObject)) { 257 } else if (SdkCommandLine.OBJECT_SDK.equals(directObject)) { 265 } else if (SdkCommandLine.VERB_CREATE.equals(verb)) { 266 if (SdkCommandLine.OBJECT_AVD.equals(directObject)) { 269 } else if (SdkCommandLine.OBJECT_PROJECT.equals(directObject)) { 272 } else if (SdkCommandLine.OBJECT_TEST_PROJECT.equals(directObject)) { 275 } else if (SdkCommandLine.OBJECT_LIB_PROJECT.equals(directObject)) { 279 } else if (SdkCommandLine.VERB_UPDATE.equals(verb)) [all...] |
/libcore/luni/src/main/java/java/util/ |
Hashtable.java | 271 if (eKey == key || (e.hash == hash && key.equals(eKey))) { 287 * @see java.lang.Object#equals 299 if (eKey == key || (e.hash == hash && key.equals(eKey))) { 324 if (value.equals(e.value)) { 341 * @see java.lang.Object#equals 361 * @see java.lang.Object#equals 374 if (e.hash == hash && key.equals(e.key)) { 410 if (e.hash == hash && key.equals(e.key)) { 563 if (e.hash == hash && key.equals(e.key)) { 694 @Override public final boolean equals(Object o) method in class:Hashtable.HashtableEntry 851 @Override public synchronized boolean equals(Object object) { method in class:Hashtable 941 public boolean equals(Object object) { method in class:Hashtable.KeySet 1040 public boolean equals(Object object) { method in class:Hashtable.EntrySet [all...] |
/cts/tools/signature-tools/src/signature/compare/ |
ApiComparator.java | 125 return from.getName().equals(to.getName()); 138 assert from.getName().equals(to.getName()); 183 assert from.getName().equals(to.getName()); 184 assert from.getPackageName().equals(to.getPackageName()); 408 return from.getName().equals(to.getName()); 429 return from.getName().equals(to.getName()); 447 return from.getName().equals(to.getName()); 560 if (from.getName().equals(to.getName())) { 634 return from.getDeclaringField().getName().equals( 780 if (getClassDefinition(subC.getSuperClass()).equals(superC)) [all...] |
/frameworks/native/opengl/tools/glgen/src/ |
JniCodeEmitter.java | 48 if (baseType.equals("int")) { 50 } else if (baseType.equals("float")) { 52 } else if (baseType.equals("boolean")) { 54 } else if (baseType.equals("short")) { 56 } else if (baseType.equals("long")) { 58 } else if (baseType.equals("byte")) { 60 } else if (baseType.equals("String")) { 62 } else if (baseType.equals("void")) { 230 if (checks[index].equals("nullAllowed")) { 271 if (checks[index].equals("return")) [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
BluetoothPbapObexServer.java | 347 if (!validName || (validName && type.equals(TYPE_VCARD))) { 351 if (mCurrentPath.equals(PB_PATH)) { 353 } else if (mCurrentPath.equals(ICH_PATH)) { 355 } else if (mCurrentPath.equals(OCH_PATH)) { 357 } else if (mCurrentPath.equals(MCH_PATH)) { 360 } else if (mCurrentPath.equals(CCH_PATH)) { 404 if (type.equals(TYPE_LISTING)) { 408 else if (type.equals(TYPE_VCARD)) { 412 else if (type.equals(TYPE_PB)) { 426 if (str.equals(LEGAL_PATH[i])) [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/ |
GoNegReqTestSuite.java | 51 if (test.getTestId().equals(testId)) {
|
P2pClientTestSuite.java | 51 if (test.getTestId().equals(testId)) {
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/streamquality/ |
StreamingVideoActivity.java | 64 public boolean equals(Object o) { method in class:StreamingVideoActivity.Stream 71 return name.equals(stream.name) 72 && code.equals(stream.code) 73 && uri.equals(stream.uri);
|
/cts/tests/src/android/app/cts/ |
ClearTop.java | 41 if (LocalScreen.CLEAR_TASK.equals(intent.getAction())) {
|
ExpandableListTestActivity.java | 111 if (!otherView.equals(getExpandableListView())) 142 if (LaunchpadActivity.EXPANDLIST_SELECT.equals(action)) { 144 } else if (LaunchpadActivity.EXPANDLIST_VIEW.equals(action)) { 146 } else if (LaunchpadActivity.EXPANDLIST_CALLBACK.equals(action)) {
|
MockAlarmReceiver.java | 38 if (action.equals(MOCKACTION)) {
|
MockReceiver.java | 36 if (sAction.equals(MOCKACTION)) {
|
StubRemoteService.java | 48 if (ISecondary.class.getName().equals(intent.getAction())) {
|
/cts/tests/src/android/content/cts/ |
ResultReceiver.java | 35 mReceivedBroadCast = MOCK_ACTION.equals(intent.getAction());
|