/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
H A D | ShiftModeTests.java | 42 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 D | PunctuationTests.java | 40 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 D | InputLogicTests.java | 48 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 D | FakeDeviceAccountTypeFactory.java | 42 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 D | ConnectivityManagerWrapper.java | 33 public void stopTethering(int type) { argument 34 mConnectivityManager.stopTethering(type);
|
/packages/apps/DocumentsUI/src/com/android/documentsui/selection/ |
H A D | Range.java | 42 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 D | CPOWrapper.java | 22 * 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 D | BuilderWrapper.java | 22 * 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 D | CPOWrapper.java | 22 * 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 D | BuilderWrapper.java | 22 * 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 D | UriSource.java | 51 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 D | AvrcpMediaRspInterface.java | 44 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 D | EventCompat.java | 35 * 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 D | AlarmManagerInterface.java | 25 public void set(int type, long triggerAtMillis, PendingIntent operation); argument
|
/packages/apps/Dialer/java/com/android/voicemail/impl/protocol/ |
H A D | VisualVoicemailProtocolFactory.java | 30 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 D | HTML.java | 36 // 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 D | StackEvent.java | 49 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 D | InlinePayload.java | 29 * 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 D | AccountComparator.java | 34 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 D | AccountDisplayInfoFactory.java | 63 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 D | AccountDisplayInfo.java | 26 * 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 D | CustomizableOptionsRowAdapter.java | 39 // 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 D | ContactInfoRequest.java | 42 @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 D | Lineup.java | 34 * 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 D | BluetoothHeadsetProxy.java | 40 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
|