HomeSort by relevance Sort by last modified time
    Searched refs:object1 (Results 1 - 25 of 70) sorted by null

1 2 3

  /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/webkit/Source/WebKit/mac/WebView/
WebDelegateImplementationCaching.mm 124 static inline id CallDelegate(WebView *self, id delegate, SEL selector, id object1, id object2)
129 return objc_msgSend(delegate, selector, self, object1, object2);
131 return objc_msgSend(delegate, selector, self, object1, object2);
152 static inline id CallDelegate(WebView *self, id delegate, SEL selector, id object1, id object2, id object3)
157 return objc_msgSend(delegate, selector, self, object1, object2, object3);
159 return objc_msgSend(delegate, selector, self, object1, object2, object3);
250 static inline BOOL CallDelegateReturningBoolean(BOOL result, WebView *self, id delegate, SEL selector, id object1, id object2)
255 return reinterpret_cast<BOOL (*)(id, SEL, WebView *, id, id)>(objc_msgSend)(delegate, selector, self, object1, object2);
257 return reinterpret_cast<BOOL (*)(id, SEL, WebView *, id, id)>(objc_msgSend)(delegate, selector, self, object1, object2);
292 static inline id CallDelegate(IMP implementation, WebView *self, id delegate, SEL selector, id object1, id object2
    [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) {
  /frameworks/base/core/java/android/gesture/
InstanceLearner.java 30 public int compare(Prediction object1, Prediction object2) {
31 double score1 = object1.score;
  /libcore/luni/src/main/java/java/text/
Collator.java 183 * @param object1
187 * @return a negative value if {@code object1} is less than {@code object2},
188 * 0 if they are equal, and a positive value if {@code object1} is
191 * if {@code object1} or {@code object2} is not a {@code String}.
193 public int compare(Object object1, Object object2) {
194 return compare((String) object1, (String) object2);
  /packages/apps/Settings/src/com/android/settings/applications/
ApplicationsState.java 166 public int compare(AppEntry object1, AppEntry object2) {
167 final boolean normal1 = object1.info.enabled
168 && (object1.info.flags&ApplicationInfo.FLAG_INSTALLED) != 0;
174 return sCollator.compare(object1.label, object2.label);
182 public int compare(AppEntry object1, AppEntry object2) {
183 if (object1.size < object2.size) return 1;
184 if (object1.size > object2.size) return -1;
185 return sCollator.compare(object1.label, object2.label);
193 public int compare(AppEntry object1, AppEntry object2) {
194 if (object1.internalSize < object2.internalSize) return 1
    [all...]
AppOpsState.java 389 public int compare(AppOpEntry object1, AppOpEntry object2) {
390 if (object1.getSwitchOrder() != object2.getSwitchOrder()) {
391 return object1.getSwitchOrder() < object2.getSwitchOrder() ? -1 : 1;
393 if (object1.isRunning() != object2.isRunning()) {
395 return object1.isRunning() ? -1 : 1;
397 if (object1.getTime() != object2.getTime()) {
399 return object1.getTime() > object2.getTime() ? -1 : 1;
401 return sCollator.compare(object1.getAppEntry().getLabel(),
RunningState.java 682 public int compare(ProcessItem object1, ProcessItem object2) {
683 if (object1.mUserId != object2.mUserId) {
684 if (object1.mUserId == mMyUserId) return -1;
686 return object1.mUserId < object2.mUserId ? -1 : 1;
688 if (object1.mIsStarted != object2.mIsStarted) {
690 return object1.mIsStarted ? -1 : 1;
692 if (object1.mIsSystem != object2.mIsSystem) {
694 return object1.mIsSystem ? 1 : -1;
696 if (object1.mActiveSince != object2.mActiveSince) {
699 return (object1.mActiveSince > object2.mActiveSince) ? -1 : 1
    [all...]
  /frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
AccountManagerServiceTest.java 61 public int compare(Account object1, Account object2) {
62 if (object1 == object2) return 0;
63 if (object1 == null) return 1;
65 int result = object1.type.compareTo(object2.type);
67 return object1.name.compareTo(object2.name);
  /external/antlr/antlr-3.4/runtime/ObjC/Framework/
ANTLRTreeWizard.h 50 id object1; variable
61 @property (retain) id object1; variable
  /packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/
AccountType.java 310 public int compare(DataKind object1, DataKind object2) {
311 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;
  /external/webkit/Source/JavaScriptCore/API/tests/
testapi.c 787 JSObjectRef object1 = JSObjectMake(context, /* jsClass */ 0, /* data */ 0); local
791 JSObjectSetPrototype(context, object1, JSValueMakeNull(context));
792 ASSERT(JSValueIsNull(context, JSObjectGetPrototype(context, object1)));
794 // object1 -> object1
795 JSObjectSetPrototype(context, object1, object1);
796 result &= assertTrue(JSValueIsNull(context, JSObjectGetPrototype(context, object1)), "It is possible to assign self as a prototype");
798 // object1 -> object2 -> object1
    [all...]
  /packages/apps/DeskClock/src/com/android/deskclock/worldclock/
WorldClockAdapter.java 153 public int compare(Object object1, Object object2) {
154 CityObj city1 = (CityObj) object1;
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
PriorityQueueTest.java 791 public int compare(E object1, E object2) {
792 int hashcode1 = object1.hashCode();
807 public int compare(String object1, String object2) {
808 int length1 = object1.length();
823 public int compare(E object1, E object2) {
  /development/apps/GestureBuilder/src/com/android/gesture/builder/
GestureBuilderActivity.java 73 public int compare(NamedGesture object1, NamedGesture object2) {
74 return object1.name.compareTo(object2.name);
  /development/samples/ApiDemos/src/com/example/android/apis/app/
LoaderCustom.java 154 public int compare(AppEntry object1, AppEntry object2) {
155 return sCollator.compare(object1.getLabel(), object2.getLabel());

Completed in 566 milliseconds

1 2 3