Home
last modified time | relevance | path

Searched refs:rawValue (Results 1 – 8 of 8) sorted by relevance

/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
DRawContactModifier.java189 .get(type.rawValue) < type.specificMax); in getValidTypes()
224 final int count = typeCount.get(type.rawValue); in getTypeFrequencies()
225 typeCount.put(type.rawValue, count + 1); in getTypeFrequencies()
246 final Long rawValue = entry.getAsLong(kind.typeColumn); in getCurrentType() local
247 if (rawValue == null) return null; in getCurrentType()
248 return getType(kind, rawValue.intValue()); in getCurrentType()
257 final Integer rawValue = entry.getAsInteger(kind.typeColumn); in getCurrentType()
258 if (rawValue == null) return null; in getCurrentType()
259 return getType(kind, rawValue); in getCurrentType()
270 final int rawValue = cursor.getInt(index); in getCurrentType() local
[all …]
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/
DAccountType.java348 public int rawValue; field in AccountType.EditType
358 public EditType(int rawValue, int labelRes) { in EditType() argument
359 this.rawValue = rawValue; in EditType()
383 return other.rawValue == rawValue; in equals()
390 return rawValue; in hashCode()
396 + " rawValue=" + rawValue in toString()
407 public EventEditType(int rawValue, int labelRes) { in EventEditType() argument
408 super(rawValue, labelRes); in EventEditType()
/packages/apps/Browser/src/com/android/browser/
DBrowserSettings.java507 public static int getAdjustedMinimumFontSize(int rawValue) { in getAdjustedMinimumFontSize() argument
508 rawValue++; // Preference starts at 0, min font at 1 in getAdjustedMinimumFontSize()
509 if (rawValue > 1) { in getAdjustedMinimumFontSize()
510 rawValue += (MIN_FONT_SIZE_OFFSET - 2); in getAdjustedMinimumFontSize()
512 return rawValue; in getAdjustedMinimumFontSize()
515 public int getAdjustedTextZoom(int rawValue) { in getAdjustedTextZoom() argument
516 rawValue = (rawValue - TEXT_ZOOM_START_VAL) * TEXT_ZOOM_STEP; in getAdjustedTextZoom()
517 return (int) ((rawValue + 100) * mFontSizeMult); in getAdjustedTextZoom()
524 public int getAdjustedDoubleTapZoom(int rawValue) { in getAdjustedDoubleTapZoom() argument
525 rawValue = (rawValue - DOUBLE_TAP_ZOOM_START_VAL) * DOUBLE_TAP_ZOOM_STEP; in getAdjustedDoubleTapZoom()
[all …]
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
DContactsSource.java245 public int rawValue; field in ContactsSource.EditType
253 public EditType(int rawValue, int labelRes) { in EditType() argument
254 this.rawValue = rawValue; in EditType()
278 return other.rawValue == rawValue; in equals()
285 return rawValue; in hashCode()
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/
DRawContactModifierTests.java473 before.put(kindPhone.typeColumn, typeHome.rawValue); in testTrimEmptyAfterUpdate()
589 first.put(kindPhone.typeColumn, typeHome.rawValue); in testTrimUpdateRemain()
595 second.put(kindPhone.typeColumn, typeHome.rawValue); in testTrimUpdateRemain()
661 first.put(kindPhone.typeColumn, typeHome.rawValue); in testTrimUpdateUpdate()
/packages/apps/Contacts/src/com/android/contacts/editor/
DLabeledEditorView.java427 mEntry.put(mKind.typeColumn, mType.rawValue); in createCustomDialog()
492 mEntry.put(mKind.typeColumn, mType.rawValue); in onTypeSelectionChange()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapVcardManager.java547 String rawValue, int type, String label, boolean isPrimary) { in composeAndSendVCards()
551 String numberWithControlSequence = rawValue in composeAndSendVCards()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DDataAction.java92 if (type.rawValue == typeValue) { in DataAction()