/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...] |
H A D | BlueUnderlineTests.java | 32 type(STRING_TO_TYPE); 46 type(STRING_1_TO_TYPE); 49 type(STRING_2_TO_TYPE); 68 type(STRING_TO_TYPE); 71 type(Constants.CODE_SPACE); 76 type(Constants.CODE_DELETE); 79 type(Constants.CODE_DELETE); 96 type(STRING_TO_TYPE); 116 type(STRING_TO_TYPE);
|
H A D | InputLogicTestsLanguageWithoutSpaces.java | 30 type(STRING_TO_TYPE); 40 type(STRING_TO_TYPE); 43 type(Constants.CODE_DELETE); 56 type(WORD_TO_TYPE); 61 type(" "); 62 type(Constants.CODE_DELETE); 74 type(WORD_TO_TYPE); 85 type("xxxx"); 97 type(WORD_TO_TYPE); 110 type(" [all...] |
/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...] |
H A D | ImageCacheService.java | 50 * <code>timeModified</code> and <code>type</code>. 58 public boolean getImageData(Path path, long timeModified, int type, BytesBuffer buffer) { argument 59 byte[] key = makeKey(path, timeModified, type); 80 public void putImageData(Path path, long timeModified, int type, byte[] value) { argument 81 byte[] key = makeKey(path, timeModified, type); 95 public void clearImageData(Path path, long timeModified, int type) { argument 96 byte[] key = makeKey(path, timeModified, type); 107 private static byte[] makeKey(Path path, long timeModified, int type) { argument 108 return GalleryUtils.getBytes(path.toString() + "+" + timeModified + "+" + 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/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/ContactsCommon/tests/src/com/android/contacts/common/model/account/ |
H A D | ExternalAccountTypeTest.java | 72 * Initialize with an invalid package name and see if type will be initialized, but empty. 75 final ExternalAccountType type = new ExternalAccountType(getContext(), 77 assertTrue(type.isInitialized()); 84 final ExternalAccountType type = new ExternalAccountType(getContext(), 87 assertTrue(type.isInitialized()); 90 assertNotNull(type.getKindForMimetype(StructuredName.CONTENT_ITEM_TYPE)); 91 assertNotNull(type.getKindForMimetype(DataKind.PSEUDO_MIME_TYPE_DISPLAY_NAME)); 92 assertNotNull(type.getKindForMimetype(DataKind.PSEUDO_MIME_TYPE_PHONETIC_NAME)); 93 assertNotNull(type.getKindForMimetype(Email.CONTENT_ITEM_TYPE)); 94 assertNotNull(type [all...] |
/packages/apps/Camera/src/com/android/camera/ |
H A D | Mosaic.java | 71 * This strip type will use the default thin strips where the strips are 77 * This strip type will use wider strips for blending. The strip separation 143 * Set the type of blending. 145 * @param type the blending type defined in the class. {BLENDTYPE_FULL, 148 public native void setBlendingType(int type); argument 151 * Set the type of strips to use for blending. 152 * @param type the blending strip type to use {STRIPTYPE_THIN, 155 public native void setStripType(int type); argument [all...] |
/packages/apps/LegacyCamera/src/com/android/camera/panorama/ |
H A D | Mosaic.java | 71 * This strip type will use the default thin strips where the strips are 77 * This strip type will use wider strips for blending. The strip separation 143 * Set the type of blending. 145 * @param type the blending type defined in the class. {BLENDTYPE_FULL, 148 public native void setBlendingType(int type); argument 151 * Set the type of strips to use for blending. 152 * @param type the blending strip type to use {STRIPTYPE_THIN, 155 public native void setStripType(int type); argument [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
H A D | HanziToPinyinTest.java | 49 tokens.get(0).type, Token.UNKNOWN); 56 tokens.get(0).type, Token.PINYIN); 70 assertEquals(tokens.get(0).type, Token.PINYIN); 75 assertEquals(tokens.get(0).type, Token.PINYIN); 76 assertEquals(tokens.get(1).type, Token.PINYIN); 82 assertEquals(tokens.get(0).type, Token.LATIN); 86 assertEquals(tokens.get(0).type, Token.UNKNOWN); 90 assertEquals(tokens.get(0).type, Token.LATIN); 91 assertEquals(tokens.get(1).type, Token.PINYIN); 92 assertEquals(tokens.get(2).type, Toke [all...] |
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/ |
H A D | MockAccountTypeManager.java | 54 for (AccountType type : mTypes) { 55 if (Objects.equal(accountTypeWithDataSet.accountType, type.accountType) 56 && Objects.equal(accountTypeWithDataSet.dataSet, type.dataSet)) { 57 return type; 82 for (AccountType type : mTypes) { 83 if (!writableOnly || type.areContactsWritable()) { 84 ret.add(type);
|
/packages/apps/Messaging/src/com/android/messaging/ui/contact/ |
H A D | ContactDropdownLayouter.java | 71 final int position, AdapterType type, final String substring, 73 if (type != AdapterType.BASE_RECIPIENT) { 74 if (type == AdapterType.SINGLE_RECIPIENT) { 78 type = AdapterType.RECIPIENT_ALTERNATES; 80 return super.bindView(convertView, parent, entry, position, type, substring, 93 final View itemView = reuseOrInflateView(convertView, parent, type); 103 mClivHostInterface, (type == AdapterType.SINGLE_RECIPIENT)); 109 AdapterType type) { 118 super.bindIconToView(showImage, entry, view, type); 123 protected int getItemLayoutResId(AdapterType type) { argument 70 bindView(final View convertView, final ViewGroup parent, final RecipientEntry entry, final int position, AdapterType type, final String substring, final StateListDrawable deleteDrawable) argument 108 bindIconToView(boolean showImage, RecipientEntry entry, ImageView view, AdapterType type) argument 135 getAlternateItemLayoutResId(AdapterType type) argument [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/ |
H A D | AccountWithDataSet.java | 50 public final String type; field in class:AccountWithDataSet 59 public AccountWithDataSet(String name, String type, String dataSet) { argument 61 this.type = emptyToNull(type); 63 mAccountTypeWithDataSet = AccountTypeWithDataSet.get(type, dataSet); 72 this.type = in.readString(); 74 mAccountTypeWithDataSet = AccountTypeWithDataSet.get(type, dataSet); 78 return name == null && type == null; 82 if (name != null && type != null) { 83 return new Account(name, type); [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/ |
H A D | ActionKey.java | 29 public ActionKey(T type, B behavior) { argument 30 mType = type; 46 T type = null; 48 type = T.valueOf(clazzT, mTypeString); 51 mType = type;
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/ |
H A D | BluetoothPairingRequest.java | 41 int type = intent.getIntExtra(BluetoothDevice.EXTRA_PAIRING_VARIANT, 46 pairingIntent.putExtra(BluetoothDevice.EXTRA_PAIRING_VARIANT, type); 47 if (type == BluetoothDevice.PAIRING_VARIANT_PASSKEY_CONFIRMATION || 48 type == BluetoothDevice.PAIRING_VARIANT_DISPLAY_PASSKEY || 49 type == BluetoothDevice.PAIRING_VARIANT_DISPLAY_PIN) {
|
/packages/apps/Messaging/src/android/support/v7/mms/ |
H A D | CarrierConfigXmlParser.java | 29 void process(String type, String key, String value); argument 45 // We are at the start tag, the name of the tag is the type 47 final String type = mInputParser.getName(); 59 mKeyValueProcessor.process(type, key, value);
|
/packages/apps/Browser/src/com/android/browser/ |
H A D | AccountsChangedReceiver.java | 60 String type = c.getString(1); 61 if (!contains(accounts, name, type)) { 62 delete(cr, name, type); 69 void delete(ContentResolver cr, String name, String type) { argument 77 cr.delete(uri, DELETE_SELECTION, new String[] { name, type }); 80 boolean contains(Account[] accounts, String name, String type) { argument 83 && TextUtils.equals(a.type, type)) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/ |
H A D | RenderingRequest.java | 51 int type, RenderingRequestCaller caller) { 52 RenderingRequest.post(context, source, preset, type, caller, null, null); 55 public static void post(Context context, Bitmap source, ImagePreset preset, int type, argument 57 if (((type != PARTIAL_RENDERING && type != HIGHRES_RENDERING 58 && type != GEOMETRY_RENDERING && type != FILTERS_RENDERING) && source == null) 66 if (type == FULL_RENDERING 67 || type == ICON_RENDERING 68 || type 50 post(Context context, Bitmap source, ImagePreset preset, int type, RenderingRequestCaller caller) argument 158 setType(int type) argument [all...] |
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/model/ |
H A D | AccountTypeManagerTest.java | 129 private static AccountWithDataSet createAccountWithDataSet(String name, AccountType type) { argument 130 return new AccountWithDataSet(name, type.accountType, type.dataSet); 138 for (AccountType type : types) { 139 result.put(type.getAccountTypeAndDataSet(), type); 166 for (AccountType type : expectedInvitableTypes) { 167 assertTrue("Result doesn't contain type=" + type.getAccountTypeAndDataSet(), 168 result.containsKey(type 177 MockAccountType(String type, String dataSet, String inviteContactActivityClassName) argument [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | HanziToPinyin.java | 53 public Token(int type, String source, String target) { argument 54 this.type = type; 62 public int type; field in class:HanziToPinyin.Token 102 token.type = Token.LATIN; 109 token.type = Token.LATIN; 115 token.type = Token.PINYIN; 119 token.type = Token.UNKNOWN; 149 // a. Token type changed 160 if (token.type [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
H A D | ScanFilterQueue.java | 44 // Max length is 31 - 3(flags) - 2 (one byte for length and one byte for type). 53 public byte type; field in class:ScanFilterQueue.Entry 64 return Objects.hash(address, addr_type, type, uuid, uuid_mask, name, company, 78 addr_type == other.addr_type && type == other.type && 90 void addDeviceAddress(String address, byte type) { argument 92 entry.type = TYPE_DEVICE_ADDRESS; 94 entry.addr_type = type; 100 entry.type = TYPE_SERVICE_DATA_CHANGED; 106 entry.type [all...] |
/packages/apps/Camera2/src/com/android/camera/burst/ |
H A D | BurstResult.java | 26 * Each artifact has a type-name that specifies the kind of artifact it 28 * specific. An artifact only contains media items of a single type. A 44 * Returns all artifacts of the specified type. 46 * @param type the type of artifacts 47 * @return list of artifacts of that type 49 public List<BurstArtifact> getArtifactsByType(String type); argument
|