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

1234567891011>>

/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/Settings/src/com/android/settings/wifi/
H A DConnectivityManagerWrapper.java33 public void stopTethering(int type) { argument
34 mConnectivityManager.stopTethering(type);
/packages/apps/DocumentsUI/src/com/android/documentsui/selection/
H A DRange.java42 void snapSelection(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
150 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;
H A DBuilderWrapper.java22 * This class is created for the purpose of compatibility and make the type of
24 * usually created by Builder and we don’t have access to the type via Builder, so we need to
25 * create a wrapper class for Builder first and include type. Then we could use the builder and
26 * the type in this class to create a wrapper of ContentProviderOperation.
32 public BuilderWrapper(Builder builder, int type) { argument
34 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;
H A DBuilderWrapper.java22 * This class is created for the purpose of compatibility and make the type of
24 * created by Builder and we don’t have access to the type via Builder, so we need to create a
25 * wrapper class for Builder first and include type. Then we could use the builder and the type in
33 public BuilderWrapper(Builder builder, int type) { argument
35 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.java44 public void addrPlayerChangedRsp(int type, int playerId, int uidCounter); argument
46 public void avalPlayerChangedRsp(byte[] address, int type); argument
48 public void uidsChangedRsp(int type); argument
50 public void nowPlayingChangedRsp(int type); argument
52 public void trackChangedRsp(int type, byte[] uid); argument
/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/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.java49 int type = EVENT_TYPE_NONE; field in class:StackEvent
57 StackEvent(int type) { argument
58 this.type = type;
65 result.append("StackEvent {type:" + eventTypeToString(type));
76 private static String eventTypeToString(int type) { argument
77 switch (type) {
117 return "EVENT_TYPE_UNKNOWN:" + type;
/packages/apps/Settings/src/com/android/settings/search2/
H A DInlinePayload.java29 * The UI type for the inline result.
38 public InlinePayload(String uri, @PayloadType int type, @SettingsSource int source) { argument
40 inlineType = type;
/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...]
H A DAccountDisplayInfo.java26 * The raw values for name and type in AccountWithDataSet are not always (or even usually)
38 public AccountDisplayInfo(AccountWithDataSet account, CharSequence name, CharSequence type, argument
42 mType = type;
64 return GoogleAccountType.ACCOUNT_TYPE.equals(mSource.type);
68 return GoogleAccountType.ACCOUNT_TYPE.equals(mSource.type) && mSource.dataSet == null;
83 public AccountDisplayInfo withType(CharSequence type) { argument
84 return withNameAndType(mName, type);
87 public AccountDisplayInfo withNameAndType(CharSequence name, CharSequence type) { argument
88 return new AccountDisplayInfo(mSource, name, type, mIcon, mIsDeviceAccount);
/packages/apps/TV/src/com/android/tv/menu/
H A DCustomizableOptionsRowAdapter.java39 // Note that {@link MenuAction} should have non-negative type
44 // for {@link MenuAction} with the given type returned by {@link createBaseActions}.
45 protected abstract void executeBaseAction(int type); argument
55 int type = -(i + 1);
58 customAction.getTitle(), type, customAction.getIconDrawable());
71 protected void executeAction(int type) { argument
72 if (type < 0) {
73 int position = -(type + 1);
76 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/TV/src/com/android/tv/data/
H A DLineup.java34 * The type associated with this lineup.
36 public final int type; field in class:Lineup
55 * Lineup type for cable.
60 * Lineup type for satelite.
65 * Lineup type for broadcast digital.
70 * Lineup type for broadcast analog.
75 * Lineup type for IPTV.
81 * type.
88 public Lineup(String id, int type, String name, String location) { argument
90 this.type
[all...]
/packages/services/Telecomm/src/com/android/server/telecom/
H A DBluetoothHeadsetProxy.java40 String number, int type) {
42 mBluetoothHeadset.clccResponse(index, direction, status, mode, mpty, number, type);
46 int type) {
48 mBluetoothHeadset.phoneStateChanged(numActive, numHeld, callState, number, type);
39 clccResponse(int index, int direction, int status, int mode, boolean mpty, String number, int type) argument
45 phoneStateChanged(int numActive, int numHeld, int callState, String number, int type) argument

Completed in 907 milliseconds

1234567891011>>