Searched defs:type (Results 1 - 25 of 266) sorted by relevance

1234567891011

/packages/apps/Calendar/src/com/android/calendar/alerts/
H A DAlarmManagerInterface.java25 public void set(int type, long triggerAtMillis, PendingIntent operation); argument
/packages/apps/Contacts/src/com/android/contacts/
H A DTypePrecedence.java79 * Returns the precedence (1 being the highest) of a type in the context of it's mimetype.
81 * @param mimetype The mimetype of the data with which the type is associated.
82 * @param type The integer type as defined in {@Link ContactsContract#CommonDataKinds}.
86 public static int getTypePrecedence(String mimetype, int type) { argument
93 if (typePrecedence[i] == type) {
/packages/apps/Mms/src/org/w3c/dom/events/
H A DEventTarget.java39 * @param type The event type for which the user is registering
45 * events of the specified type will be dispatched to the registered
51 public void addEventListener(String type, argument
64 * @param type Specifies the event type of the <code>EventListener</code>
75 public void removeEventListener(String type, argument
86 * @param evt Specifies the event type, behavior, and contextual
93 * UNSPECIFIED_EVENT_TYPE_ERR: Raised if the <code>Event</code>'s type
96 * <code>Event</code>'s type a
[all...]
/packages/apps/VideoEditor/src/com/android/videoeditor/
H A DOverlayType.java55 public OverlayType(String name, int type) { argument
57 mType = type;
68 * @return The type
H A DEffectType.java22 * Represents an effect that consists of name and type.
84 public EffectType(String name, int type) { argument
86 mType = type;
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
H A DTypePrecedence.java71 * Returns the precedence (1 being the highest) of a type in the context of it's mimetype.
73 * @param mimetype The mimetype of the data with which the type is associated.
74 * @param type The integer type as defined in {@Link ContactsContract#CommonDataKinds}.
78 public static int getTypePrecedence(String mimetype, int type) { argument
85 if (typePrecedence[i] == type) {
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/personalization/
H A DPersonalizationDictionarySessionRegister.java29 public static void onUpdateData(Context context, String type) { argument
32 public static void onRemoveData(Context context, String type) { argument
/packages/apps/Browser/src/com/android/browser/
H A DAccountsChangedReceiver.java60 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)) {
H A DNetworkStateHandler.java114 private void sendNetworkType(String type, String subtype) { argument
H A DUploadHandler.java115 // Parse the accept type.
126 // "filesystem", we should examine the accept-type for a MIME type that
150 // In all these cases we show a traditional picker filetered on accept type
166 // on accept type so launch an intent for both camcorder and video/* OPENABLE.
189 // No special handling based on the accept type was necessary, so trigger the default
235 private Intent createOpenableIntent(String type) { argument
238 i.setType(type);
/packages/apps/Calendar/tests/src/com/android/calendar/alerts/
H A DMockAlarmManager.java35 public void expectAlarmTime(int type, long millis) { argument
36 this.expectedAlarmType = type;
45 Assert.assertEquals("Alarm type not expected.", expectedAlarmType, actualAlarmType);
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/
H A DContactDisplayUtils.java38 * Checks if the given data type is a custom type.
40 * @param type Phone data type.
41 * @return {@literal true} if the type is custom. {@literal false} if not.
43 public static boolean isCustomPhoneType(Integer type) { argument
44 return type == Phone.TYPE_CUSTOM || type == Phone.TYPE_ASSISTANT;
48 * Gets a display label for a given phone type.
50 * @param type Th
58 getLabelForCallOrSms(Integer type, CharSequence customLabel, int interactionType, Context context) argument
86 getPhoneLabelResourceId(Integer type) argument
141 getSmsLabelResourceId(Integer type) argument
[all...]
/packages/apps/Email/src/com/android/email/provider/
H A DAccountReconciler.java113 final String name, final String type) {
115 if (account.name.equalsIgnoreCase(name) && account.type.equalsIgnoreCase(type)) {
112 hasAmAccount(final List<android.accounts.Account> accounts, final String name, final String type) argument
/packages/apps/Exchange/tests/src/com/android/exchange/provider/
H A DEmailContentSetupUtils.java60 Context context, int type) {
61 return setupMailbox(name, accountId, saveIt, context, type, null);
65 Context context, int type, Mailbox parentBox) {
73 box.mType = type;
59 setupMailbox(String name, long accountId, boolean saveIt, Context context, int type) argument
64 setupMailbox(String name, long accountId, boolean saveIt, Context context, int type, Mailbox parentBox) argument
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DImageCacheRequest.java38 Path path, long timeModified, int type, int targetSize) {
41 mType = type;
37 ImageCacheRequest(GalleryApp application, Path path, long timeModified, int type, int targetSize) argument
H A DSnailItem.java39 public Job<Bitmap> requestImage(int type) { argument
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/Launcher3/util/com/android/launcher3/
H A DDecoderRing.java53 * <P>This tool understands these file names and will use the embedded Key to detect the type and
60 * Copy the encoded snippet from the log, and specify the type explicitly, with the Logs flags:
125 // can't infer file type without the key
130 System.err.println("Explicit type ignored for multiple files.");
139 Class type = null;
143 type = TYPES[key.type];
145 System.err.println(source.getName() + " is a " + type.getSimpleName());
150 type = defaultType;
187 if (type
233 decodeBackupData(byte[] payload, Class type, boolean fromLogs) argument
[all...]
/packages/apps/Mms/src/com/android/mms/transaction/
H A DPushReceiver.java82 int type = pdu.getMessageType();
86 switch (type) {
89 threadId = findThreadId(mContext, pdu, type);
146 Log.e(TAG, "Failed to save the data from PUSH: type=" + type, e);
177 private static long findThreadId(Context context, GenericPdu pdu, int type) { argument
180 if (type == MESSAGE_TYPE_DELIVERY_IND) {
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
H A DUtil.java73 String type = resources.getResourceTypeName(res);
75 return makeResourceUri(appPkg, resPkg, type, name);
78 private static Uri makeResourceUri(String appPkg, String resPkg, String type, String name) { argument
82 uriBuilder.appendEncodedPath(type);
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DCustomTypefaceSpan.java36 * @param type Typeface, specified as: Typeface.createFromAsset(
43 public CustomTypefaceSpan(String family, Typeface type, int size, int color) { argument
45 newType = type;
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
H A DDiff.java168 final String type, final ArrayList<WeightedString> list0,
173 System.out.println(type + " removed: " + word + " " + attribute0.mWord + " "
189 System.out.println(type + " freq changed: " + word + " "
199 System.out.println(type + " removed: " + word + " " + attribute0.mWord + " "
211 System.out.println(type + " added: " + word + " " + attribute1.mWord + " "
167 hasAttributesDifferencesAndPrintThemIfAny(final String word, final String type, final ArrayList<WeightedString> list0, final ArrayList<WeightedString> list1) argument
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppSendFileInfo.java80 public BluetoothOppSendFileInfo(String fileName, String type, long length, argument
83 mMimetype = type;
91 public BluetoothOppSendFileInfo(String data, String type, long length, int status) { argument
95 mMimetype = type;
101 String type) {
138 contentType = type;
100 generateFileInfo(Context context, Uri uri, String type) argument
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/
H A DVCardImportExportListener.java34 void onCancelRequest(CancelRequest request, int type); argument
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/model/
H A DAccountTypeManagerTest.java129 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...]

Completed in 933 milliseconds

1234567891011