Home
last modified time | relevance | path

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

/packages/apps/Contacts/src/com/android/contacts/model/account/
DAccountType.java360 public int rawValue; field in AccountType.EditType
370 public EditType(int rawValue, int labelRes) { in EditType() argument
371 this.rawValue = rawValue; in EditType()
395 return other.rawValue == rawValue; in equals()
402 return rawValue; in hashCode()
408 + " rawValue=" + rawValue in toString()
419 public EventEditType(int rawValue, int labelRes) { in EventEditType() argument
420 super(rawValue, labelRes); in EventEditType()
/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/Contacts/src/com/android/contacts/model/
DRawContactModifier.java188 .get(type.rawValue) < type.specificMax); in getValidTypes()
223 final int count = typeCount.get(type.rawValue); in getTypeFrequencies()
224 typeCount.put(type.rawValue, count + 1); in getTypeFrequencies()
245 final Long rawValue = entry.getAsLong(kind.typeColumn); in getCurrentType() local
246 if (rawValue == null) return null; in getCurrentType()
247 return getType(kind, rawValue.intValue()); in getCurrentType()
256 final Integer rawValue = entry.getAsInteger(kind.typeColumn); in getCurrentType()
257 if (rawValue == null) return null; in getCurrentType()
258 return getType(kind, rawValue); in getCurrentType()
269 final int rawValue = cursor.getInt(index); in getCurrentType() local
[all …]
/packages/apps/Browser/src/com/android/browser/
DBrowserSettings.java552 public static int getAdjustedMinimumFontSize(int rawValue) { in getAdjustedMinimumFontSize() argument
553 rawValue++; // Preference starts at 0, min font at 1 in getAdjustedMinimumFontSize()
554 if (rawValue > 1) { in getAdjustedMinimumFontSize()
555 rawValue += (MIN_FONT_SIZE_OFFSET - 2); in getAdjustedMinimumFontSize()
557 return rawValue; in getAdjustedMinimumFontSize()
560 public int getAdjustedTextZoom(int rawValue) { in getAdjustedTextZoom() argument
561 rawValue = (rawValue - TEXT_ZOOM_START_VAL) * TEXT_ZOOM_STEP; in getAdjustedTextZoom()
562 return (int) ((rawValue + 100) * mFontSizeMult); in getAdjustedTextZoom()
569 public int getAdjustedDoubleTapZoom(int rawValue) { in getAdjustedDoubleTapZoom() argument
570 rawValue = (rawValue - DOUBLE_TAP_ZOOM_START_VAL) * DOUBLE_TAP_ZOOM_STEP; in getAdjustedDoubleTapZoom()
[all …]
/packages/apps/Contacts/src/com/android/contacts/editor/
DLabeledEditorView.java410 mEntry.put(mKind.typeColumn, mType.rawValue); in createCustomDialog()
475 mEntry.put(mKind.typeColumn, mType.rawValue); in onTypeSelectionChange()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapVcardManager.java502 String rawValue, int type, String label, boolean isPrimary) { in composeAndSendVCards()
506 String numberWithControlSequence = rawValue in composeAndSendVCards()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DDataAction.java84 if (type.rawValue == typeValue) { in DataAction()
/packages/apps/Contacts/tests/src/com/android/contacts/
DRawContactModifierTests.java476 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()
660 first.put(kindPhone.typeColumn, typeHome.rawValue); in testTrimUpdateUpdate()
/packages/apps/Contacts/src/com/android/contacts/detail/
DContactDetailFragment.java1266 if (type.rawValue == entry.type) { in fromValues()