HomeSort by relevance Sort by last modified time
    Searched refs:getAffinity (Results 1 - 3 of 3) sorted by null

  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
ContactsManager.java 70 float getAffinity() {
99 return Float.compare(contact2.getAffinity(), contact1.getAffinity());
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
ContactsManagerTest.java 116 assertEquals(contact.getAffinity(), 1.0f);
118 assertEquals(contact.getAffinity(), (2.0f/3.0f + (float)Math.pow(0.5, 3) + 1.0f) / 3);
  /frameworks/base/services/core/java/com/android/server/notification/
ValidateNotificationPeople.java 250 affinity = Math.max(affinity, lookupResult.getAffinity());
417 public float getAffinity() {
464 if (DEBUG) Slog.d(TAG, "lookup contactAffinity is " + lookupResult.getAffinity());
465 mContactAffinity = Math.max(mContactAffinity, lookupResult.getAffinity());

Completed in 464 milliseconds