Searched refs:type (Results 1 - 25 of 758) sorted by relevance

1234567891011>>

/packages/apps/Bluetooth/src/com/android/bluetooth/hearingaid/
H A DHearingAidStackEvent.java38 public int type; field in class:HearingAidStackEvent
43 HearingAidStackEvent(int type) { argument
44 this.type = type;
51 result.append("HearingAidStackEvent {type:" + eventTypeToString(type));
59 private static String eventTypeToString(int type) { argument
60 switch (type) {
68 return "EVENT_TYPE_UNKNOWN:" + type;
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
H A DShiftModeTests.java42 type("Test");
44 type(" ");
46 type("some,");
48 type(" ");
50 type("words.");
52 type(" ");
58 type("A");
60 type(Constants.CODE_DELETE);
69 type(SENTENCE_TO_TYPE);
71 type(Constant
[all...]
H A DPunctuationTests.java40 type(WORD_TO_TYPE);
43 assertTrue("type word then type space should display punctuation strip",
47 assertEquals("type word then type space then punctuation from strip twice",
58 type(WORD_TO_TYPE);
68 type(WORD1_TO_TYPE);
72 type(WORD2_TO_TYPE);
73 assertEquals("pick word then pick punctuation twice then type", EXPECTED_RESULT,
81 type(WORD1_TO_TYP
[all...]
H A DInputLogicTests.java48 type(WORD_TO_TYPE);
49 assertEquals("type word", WORD_TO_TYPE, mEditText.getText().toString());
55 type(WORD_TO_TYPE);
58 type(Constants.CODE_DELETE);
67 type(WORD_TO_TYPE);
73 type(Constants.CODE_DELETE);
81 type(WORD_TO_TYPE);
87 type(Constants.CODE_DELETE);
96 type(WORD_TO_TYPE);
102 type(Constant
[all...]
/packages/apps/Contacts/tests/src/com/android/contacts/tests/
H A DFakeDeviceAccountTypeFactory.java42 final AccountType type = mDeviceAccountTypes.get(accountType);
43 return type == null ? mSimAccountTypes.get(accountType) : type;
47 for (String type : types) {
48 mSimAccountTypes.put(type, new FakeAccountType(type));
54 for (AccountType type : types) {
55 mSimAccountTypes.put(type.accountType, type);
61 for (String type
[all...]
/packages/apps/DocumentsUI/src/com/android/documentsui/selection/
H A DRange.java42 void extendSelection(int position, @RangeType int type) { argument
48 establishRange(position, type);
50 reviseRange(position, type);
54 private void establishRange(int position, @RangeType int type) { argument
62 updateRange(mBegin + 1, position, true, type);
64 updateRange(position, mBegin - 1, true, type);
70 private void reviseRange(int position, @RangeType int type) { argument
79 reviseAscendingRange(position, type);
81 reviseDescendingRange(position, type);
92 private void reviseAscendingRange(int position, @RangeType int type) { argument
109 reviseDescendingRange(int position, @RangeType int type) argument
135 updateRange(int begin, int end, boolean selected, @RangeType int type) argument
148 updateForRange( int begin, int end, boolean selected, @RangeType int type) argument
[all...]
/packages/apps/Contacts/src/com/android/contacts/model/
H A DCPOWrapper.java22 * This class is created for the purpose of compatibility and make the type of
29 public CPOWrapper(ContentProviderOperation builder, int type) { argument
31 mType = type;
38 public void setType(int type) { argument
39 this.mType = type;
/packages/apps/Dialer/java/com/android/contacts/common/model/
H A DCPOWrapper.java22 * This class is created for the purpose of compatibility and make the type of
30 public CPOWrapper(ContentProviderOperation builder, int type) { argument
32 mType = type;
39 public void setType(int type) { argument
40 this.mType = type;
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DUriSource.java51 String type = URLDecoder.decode(segment[2], CHARSET_UTF_8);
52 return new UriImage(mApplication, path, Uri.parse(uri), type);
62 String type = MimeTypeMap.getSingleton()
64 if (type != null) return type;
66 // Assume the type is image if the type cannot be resolved
68 String type = mApplication.getContentResolver().getType(uri);
69 if (type == null) type
74 findPathByUri(Uri uri, String type) argument
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
H A DAvrcpMediaRspInterface.java43 void addrPlayerChangedRsp(int type, int playerId, int uidCounter); argument
45 void avalPlayerChangedRsp(byte[] address, int type); argument
47 void uidsChangedRsp(int type); argument
49 void nowPlayingChangedRsp(int type); argument
51 void trackChangedRsp(int type, byte[] uid); argument
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
H A DA2dpStackEvent.java44 public int type = EVENT_TYPE_NONE; field in class:A2dpStackEvent
49 A2dpStackEvent(int type) { argument
50 this.type = type;
57 result.append("A2dpStackEvent {type:" + eventTypeToString(type));
59 result.append(", value1:" + eventTypeValueIntToString(type, valueInt));
67 private static String eventTypeToString(int type) { argument
68 switch (type) {
78 return "EVENT_TYPE_UNKNOWN:" + type;
82 eventTypeValueIntToString(int type, int value) argument
[all...]
/packages/apps/Car/Radio/src/com/android/car/radio/storage/
H A DIdentifierEntity.java28 public final int type; field in class:IdentifierEntity
32 IdentifierEntity(@IdentifierType int type, long value) { argument
33 this.type = type;
38 type = id.getType();
44 return id.getType() == type && id.getValue() == value;
/packages/apps/Contacts/src/com/android/contacts/compat/
H A DEventCompat.java35 * Return a {@link CharSequence} that best describes the given type, possibly substituting
38 public static CharSequence getTypeLabel(Resources res, int type, CharSequence label) { argument
40 return Event.getTypeLabel(res, type, label);
42 return getTypeLabelInternal(res, type, label);
50 private static CharSequence getTypeLabelInternal(Resources res, int type, CharSequence label) { argument
51 if (type == BaseTypes.TYPE_CUSTOM && !TextUtils.isEmpty(label)) {
54 return res.getText(Event.getTypeResource(type));
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
H A DTestFileTypeLookup.java31 final String type = fileTypes.get(mimeType);
33 return type == null ? DEFAULT_TYPE : type;
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
H A DHeadsetStackEvent.java49 public final int type; field in class:HeadsetStackEvent
59 * @param type type of the event
62 public HeadsetStackEvent(int type, BluetoothDevice device) { argument
63 this(type, 0, 0, null, null, device);
69 * @param type type of the event
73 public HeadsetStackEvent(int type, int valueInt, BluetoothDevice device) { argument
74 this(type, valueInt, 0, null, null, device);
80 * @param type typ
85 HeadsetStackEvent(int type, int valueInt, int valueInt2, BluetoothDevice device) argument
96 HeadsetStackEvent(int type, String valueString, BluetoothDevice device) argument
107 HeadsetStackEvent(int type, HeadsetMessageObject valueObject, BluetoothDevice device) argument
121 HeadsetStackEvent(int type, int valueInt, int valueInt2, String valueString, HeadsetMessageObject valueObject, BluetoothDevice device) argument
[all...]
/packages/apps/Calendar/src/com/android/calendar/alerts/
H A DAlarmManagerInterface.java25 public void set(int type, long triggerAtMillis, PendingIntent operation); argument
/packages/apps/Dialer/java/com/android/voicemail/impl/protocol/
H A DVisualVoicemailProtocolFactory.java30 public static VisualVoicemailProtocol create(Resources resources, String type) { argument
31 if (type == null) {
34 switch (type) {
42 VvmLog.e(TAG, "Unexpected visual voicemail type: " + type);
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/html/parser/
H A DHTML.java36 // enumerated type.
53 private final int type; field in class:HTML.Element
68 public Element(String name, int type, boolean empty, argument
73 this.type = type;
83 public Element(String name, int type, boolean empty, argument
85 this(name, type, empty, optionalEndTag, breaksFlow, Flow.NONE);
95 return type;
116 /** Flow type. */
162 private final int type; field in class:HTML.Attribute
171 Attribute(String name, int type) argument
180 Attribute(String name, int type, Set<String> values) argument
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
H A DStackEvent.java51 public int type = EVENT_TYPE_NONE; field in class:StackEvent
59 StackEvent(int type) { argument
60 this.type = type;
67 result.append("StackEvent {type:" + eventTypeToString(type));
78 private static String eventTypeToString(int type) { argument
79 switch (type) {
119 return "EVENT_TYPE_UNKNOWN:" + type;
/packages/apps/TV/partner_support/src/com/google/android/tv/partner/support/
H A DAutoValue_Lineup.java33 private final int type; field in class:AutoValue_Lineup
39 int type,
46 this.type = type;
61 return type;
79 + "type=" + type + ", "
93 && (this.type == that.getType())
106 h$ ^= type;
37 AutoValue_Lineup( String id, int type, @Nullable String name, List<String> channels) argument
/packages/apps/Contacts/src/com/android/contacts/model/account/
H A DAccountComparator.java34 if (Objects.equal(a.name, b.name) && Objects.equal(a.type, b.type)
37 } else if (b.name == null || b.type == null) {
39 } else if (a.name == null || a.type == null) {
54 diff = a.type.compareToIgnoreCase(b.type);
69 return GoogleAccountType.ACCOUNT_TYPE.equals(account.type) && account.dataSet == null;
H A DAccountDisplayInfoFactory.java63 final AccountType type = mAccountTypeManager.getAccountTypeForAccount(account);
65 ? type.getDisplayLabel(mContext)
67 return new AccountDisplayInfo(account, name, type.getDisplayLabel(mContext),
68 type.getDisplayIcon(mContext),
70 type.accountType));
93 final int type = mDeviceAccountTypeFactory.classifyAccount(account.type);
94 return (type == DeviceLocalAccountTypeFactory.TYPE_SIM && mSimAccountCount == 1)
95 || (type == DeviceLocalAccountTypeFactory.TYPE_DEVICE && mDeviceAccountCount == 1)
100 private int countOfType(@DeviceLocalAccountTypeFactory.LocalAccountType int type, argument
[all...]
/packages/apps/TV/src/com/android/tv/menu/
H A DCustomizableOptionsRowAdapter.java35 // Note that {@link MenuAction} should have non-negative type
40 // for {@link MenuAction} with the given type returned by {@link createBaseActions}.
41 protected abstract void executeBaseAction(int type); argument
51 int type = -(i + 1);
55 customAction.getTitle(), type, customAction.getIconDrawable());
68 protected void executeAction(int type) { argument
69 if (type < 0) {
70 int position = -(type + 1);
73 executeBaseAction(type);
/packages/apps/Dialer/java/com/android/dialer/app/contactinfo/
H A DContactInfoRequest.java42 @TYPE public final int type; field in class:ContactInfoRequest
44 /** Specifies the type of the request is. */
62 String number, String countryIso, ContactInfo callLogInfo, @TYPE int type) {
67 this.type = type;
94 if (type != other.type) {
102 return type == TYPE_LOCAL || type == TYPE_LOCAL_AND_REMOTE;
107 return Objects.hash(sequenceNumber, number, countryIso, callLogInfo, type);
61 ContactInfoRequest( String number, String countryIso, ContactInfo callLogInfo, @TYPE int type) argument
[all...]
/packages/apps/Dialer/java/com/android/voicemail/impl/
H A DOmtpEvents.java126 private final int type; field in class:OmtpEvents
129 OmtpEvents(int type, boolean isSuccess) { argument
130 this.type = type;
134 OmtpEvents(int type) { argument
135 this.type = type;
140 type = Type.OTHER;
146 return type;

Completed in 805 milliseconds

1234567891011>>