Searched refs:type (Results 1 - 25 of 571) 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...]
H A DBlueUnderlineTests.java32 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);
/packages/apps/ContactsCommon/src/com/android/contacts/common/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/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...]
H A DImageCacheService.java50 * <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/ContactsCommon/src/com/android/contacts/common/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/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/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/TV/tests/unit/src/com/android/tv/util/
H A DTestUtils.java32 int type, boolean isHardwareInput) throws Exception {
37 return createTvInputInfoForLmp(service, id, parentId, type);
41 return createTvInputInfoForMnc(service, id, parentId, type, isHardwareInput);
45 String parentId, int type) throws Exception {
49 return constructor.newInstance(service, id, parentId, type);
53 String parentId, int type, boolean isHardwareInput) throws Exception {
57 return constructor.newInstance(service, id, parentId, type, isHardwareInput);
61 String parentId, int type) throws Exception {
65 return constructor.newInstance(service, id, parentId, type);
31 createTvInputInfo(ResolveInfo service, String id, String parentId, int type, boolean isHardwareInput) argument
44 createTvInputInfoForLmp(ResolveInfo service, String id, String parentId, int type) argument
52 createTvInputInfoForMnc(ResolveInfo service, String id, String parentId, int type, boolean isHardwareInput) argument
60 createTvInputInfoForNpreview(ResolveInfo service, String id, String parentId, int type) argument
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/model/account/
H A DExternalAccountTypeTest.java75 * Initialize with an invalid package name and see if type will be initialized, but empty.
78 final ExternalAccountType type = new ExternalAccountType(getInstrumentation().getTargetContext(),
80 assertTrue(type.isInitialized());
88 final ExternalAccountType type = new ExternalAccountType(getInstrumentation().getTargetContext(),
91 assertTrue(type.isInitialized());
94 assertNotNull(type.getKindForMimetype(StructuredName.CONTENT_ITEM_TYPE));
95 assertNotNull(type.getKindForMimetype(DataKind.PSEUDO_MIME_TYPE_DISPLAY_NAME));
96 assertNotNull(type.getKindForMimetype(DataKind.PSEUDO_MIME_TYPE_PHONETIC_NAME));
97 assertNotNull(type.getKindForMimetype(Email.CONTENT_ITEM_TYPE));
98 assertNotNull(type
[all...]
/packages/services/Car/car-support-lib/src/android/support/car/
H A DCarInfoManager.java29 * type, and {@link #getInt(String)} for int type, should be used. Passing a key string to wrong
38 @ValueTypeDef(type = String.class)
44 @ValueTypeDef(type = String.class)
49 @ValueTypeDef(type = Integer.class)
54 @ValueTypeDef(type = String.class)
/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
/packages/services/Telephony/src/com/android/phone/vvm/omtp/protocol/
H A DVisualVoicemailProtocolFactory.java33 public static VisualVoicemailProtocol create(Resources resources, String type) { argument
34 if (type == null) {
37 switch (type) {
50 VvmLog.e(TAG, "Unexpected visual voicemail type: " + type);
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
H A DMosaic.java71 * 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 DHanziToPinyinTest.java49 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 DMockAccountTypeManager.java54 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/Settings/src/com/android/settings/overlay/
H A DSupportFeatureProvider.java51 * Whether or not a support type is enabled.
53 boolean isSupportTypeEnabled(Context context, @SupportType int type); argument
61 * Whether or not a support type is in operation 24/7. If country is null, use
64 boolean isAlwaysOperating(@SupportType int type, String countryCode); argument
67 * Whether or not a support type is operating now.
69 boolean isOperatingNow(@SupportType int type); argument
74 String getCurrentCountryCodeIfHasConfig(@SupportType int type); argument
80 CharSequence getOperationHours(Context context, @SupportType int type, String countryCode, argument
86 String getEstimatedWaitTime(Context context, @SupportType int type); argument
119 * Starts support activity of specified type
125 startSupport(Activity activity, Account account, @SupportType int type) argument
[all...]
/packages/apps/Messaging/src/com/android/messaging/ui/contact/
H A DContactDropdownLayouter.java72 final int position, AdapterType type, final String substring,
74 if (type != AdapterType.BASE_RECIPIENT) {
75 if (type == AdapterType.SINGLE_RECIPIENT) {
79 type = AdapterType.RECIPIENT_ALTERNATES;
81 return super.bindView(convertView, parent, entry, position, type, substring,
94 final View itemView = reuseOrInflateView(convertView, parent, type);
105 mClivHostInterface, (type == AdapterType.SINGLE_RECIPIENT), isWorkContact);
111 AdapterType type) {
120 super.bindIconToView(showImage, entry, view, type);
125 protected int getItemLayoutResId(AdapterType type) { argument
71 bindView(final View convertView, final ViewGroup parent, final RecipientEntry entry, final int position, AdapterType type, final String substring, final StateListDrawable deleteDrawable) argument
110 bindIconToView(boolean showImage, RecipientEntry entry, ImageView view, AdapterType type) argument
137 getAlternateItemLayoutResId(AdapterType type) argument
[all...]
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/
H A DAccountWithDataSet.java50 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/accessories/
H A DBluetoothPairingRequest.java41 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 DCarrierConfigXmlParser.java29 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);

Completed in 906 milliseconds

1234567891011>>