/external/proguard/src/proguard/util/ |
ObjectUtil.java | 31 * @param object1 the first object, may be null. 35 public static boolean equal(Object object1, Object object2) 37 return object1 == null ? 39 object1.equals(object2); 56 * @param object1 the first object, may be null. 61 public static int compare(Comparable object1, Comparable object2) 63 return object1 == null ? 65 object2 == null ? 1 : object1.compareTo(object2);
|
/external/libgdx/extensions/gdx-bullet/jni/src/custom/gdx/collision/ |
ContactCache.cpp | 14 const btCollisionObject *object1; member in struct:ContactPair 17 ContactPair() : object0(0), object1(0), time(0) {} 19 ContactPair(const ContactPair &rhs) : object0(rhs.object0), object1(rhs.object1), time(rhs.time) {} 21 ContactPair(const btCollisionObject* const &object0, const btCollisionObject* const &object1, const float &time) : object0(object0), object1(object1), time(time) {} 25 object1 = rhs.object1; 31 return ((rhs.object0 == object0) && (rhs.object1 == object1)) || ((rhs.object0 == object1) && (rhs.object1 == object0)) 85 const btCollisionObject* const &object1 = pair.object1; local [all...] |
/external/replicaisland/src/com/replica/replicaisland/ |
ChannelSystem.java | 87 public int compare(final Channel object1, final Channel object2) { 89 if (object1 == null && object2 != null) { 91 } else if (object1 != null && object2 == null) { 93 } else if (object1 != null && object2 != null) { 94 if (object1.name == null && object2.name != null) { 96 } else if (object1.name != null && object2.name == null) { 98 } else if (object1.name != null && object2.name != null) { 99 result = object1.name.compareTo(object2.name);
|
PhasedObjectManager.java | 88 public int compare(BaseObject object1, BaseObject object2) { 90 if (object1 != null && object2 != null) { 91 result = ((PhasedObject) object1).phase - ((PhasedObject) object2).phase; 92 } else if (object1 == null && object2 != null) { 94 } else if (object2 == null && object1 != null) {
|
GameObjectManager.java | 185 public int compare(BaseObject object1, BaseObject object2) { 187 if (object1 == null && object2 != null) { 189 } else if (object1 != null && object2 == null) { 191 } else if (object1 != null && object2 != null) { 192 float delta = ((GameObject) object1).getPosition().x
|
SoundSystem.java | 182 public int compare(final Sound object1, final Sound object2) { 184 if (object1 == null && object2 != null) { 186 } else if (object1 != null && object2 == null) { 188 } else if (object1 != null && object2 != null) { 189 result = object1.resource - object2.resource;
|
GameObjectCollisionSystem.java | 321 public int compare(CollisionVolumeRecord object1, CollisionVolumeRecord object2) { 323 if (object1 == null && object2 != null) { 325 } else if (object1 != null && object2 == null) { 327 } else if (object1 != null && object2 != null) { 328 sCompareFlip.flipX = (object1.object.facingDirection.x < 0.0f); 329 sCompareFlip.flipY = (object1.object.facingDirection.y < 0.0f); 330 sCompareFlip.parentWidth = object1.object.width; 331 sCompareFlip.parentHeight = object1.object.height; 333 final float minX1 = object1.object.getPosition().x 334 + object1.boundingVolume.getMinXPosition(sCompareFlip) [all...] |
BackgroundCollisionComponent.java | 408 public int compare(HitPoint object1, HitPoint object2) { 410 if (object1 != null && object2 != null) { 411 final float obj1Distance = object1.hitPoint.distance2(mOrigin); 415 } else if (object1 == null && object2 != null) { 417 } else if (object2 == null && object1 != null) {
|
LevelSelectActivity.java | 344 public int compare(final LevelMetaData object1, final LevelMetaData object2) { 346 if (object1 == null && object2 != null) { 348 } else if (object1 != null && object2 == null) { 350 } else if (object1 != null && object2 != null) { 351 result = object1.level.timeStamp.compareTo(object2.level.timeStamp);
|
/external/v8/test/unittests/compiler/ |
load-elimination-unittest.cc | 36 Node* object1 = Parameter(Type::Any(), 0); local 43 Node* store1 = graph()->NewNode(simplified()->StoreField(access1), object1, 46 object1, store1, control)); 51 Node* store2 = graph()->NewNode(simplified()->StoreField(access2), object1, 54 object1, store2, control)); 60 value, Int32Constant(10), object1, store2, control); 67 object1, store3, control));
|
escape-analysis-unittest.cc | 211 Node* object1 = Constant(1); local 214 Store(FieldAccessAtIndex(0), allocation, object1); 223 ExpectReplacement(load, object1); 227 ASSERT_EQ(object1, NodeProperties::GetValueInput(result, 0)); 232 Node* object1 = Constant(1); local 236 Store(FieldAccessAtIndex(0), allocation, object1); 239 object1, object2, control()); 240 StoreElement(MakeElementAccess(0), allocation, index, object1); 258 Node* object1 = Constant(1); local 261 Store(FieldAccessAtIndex(0), allocation, object1); 280 Node* object1 = Constant(1); local 308 Node* object1 = Constant(1); local 341 Node* object1 = Constant(1); local 373 Node* object1 = Constant(1); local 408 Node* object1 = Constant(1); local 433 Node* object1 = Constant(1); local 472 Node* object1 = Constant(1); local [all...] |
/external/proguard/src/proguard/classfile/editor/ |
ClassMemberSorter.java | 56 public int compare(Object object1, Object object2) 58 ProgramMember member1 = (ProgramMember)object1;
|
AttributeSorter.java | 80 public int compare(Object object1, Object object2) 82 Attribute attribute1 = (Attribute)object1;
|
/libcore/luni/src/test/java/libcore/java/util/ |
OldPriorityQueueTest.java | 86 public int compare(String object1, String object2) { 87 int length1 = object1.length(); 102 public int compare(E object1, E object2) {
|
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/analysis/ |
CommonSuperclassTest.java | 267 String object1 = "[Ljava/lang/Object;"; local 284 superclassTest(object1, object1, one1); 287 superclassTest(object1, one1, two1); 292 superclassTest(object1, one1, one2); 293 superclassTest(object1, two1, one2); 296 superclassTest(object1, five1, one2); 301 superclassTest(object, object1, one);
|
/frameworks/base/core/java/android/gesture/ |
InstanceLearner.java | 30 public int compare(Prediction object1, Prediction object2) { 31 double score1 = object1.score;
|
/packages/apps/Settings/src/com/android/settings/applications/ |
AppOpsState.java | 441 public int compare(AppOpEntry object1, AppOpEntry object2) { 442 if (object1.getSwitchOrder() != object2.getSwitchOrder()) { 443 return object1.getSwitchOrder() < object2.getSwitchOrder() ? -1 : 1; 445 if (object1.isRunning() != object2.isRunning()) { 447 return object1.isRunning() ? -1 : 1; 449 if (object1.getTime() != object2.getTime()) { 451 return object1.getTime() > object2.getTime() ? -1 : 1; 453 return sCollator.compare(object1.getAppEntry().getLabel(), 464 public int compare(AppOpEntry object1, AppOpEntry object2) { 465 return sCollator.compare(object1.getAppEntry().getLabel() [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
ApplicationsState.java | [all...] |
/external/snakeyaml/src/test/java/org/pyyaml/ |
PyStructureTest.java | 286 for (Object object1 : documents1) { 289 assertFalse(System.identityHashCode(object1) == System 292 assertEquals("" + object1, object1, object2);
|
/external/v8/test/cctest/ |
types-fuzz.h | 72 object1 = isolate->factory()->NewJSObjectFromMap(object_map); 79 ObjectConstant1 = Type::Constant(object1, zone); 86 values.push_back(object1); 128 Handle<i::JSObject> object1; member in class:v8::internal::Types
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
ANTLRTreeWizard.h | 50 id object1; variable 61 @property (retain) id object1; variable
|
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/test/ |
AbstractTestCase.java | 144 * @param object1 - the first object
147 protected void assertNotEquals(String message, Object object1, Object object2) {
148 assertFalse(message, object1.equals(object2));
|
/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/test/ |
AbstractTest.java | 139 * @param object1 - the first object
142 protected void assertNotEquals(String message, Object object1, Object object2) {
143 assertFalse(message, object1.equals(object2));
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/ |
AccountType.java | 305 public int compare(DataKind object1, DataKind object2) { 306 return object1.weight - object2.weight;
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
ContactsSource.java | 149 public int compare(DataKind object1, DataKind object2) { 150 return object1.weight - object2.weight;
|