Searched defs:type (Results 1 - 25 of 329) 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/Camera2/src/com/android/camera/burst/
H A DBurstResult.java26 * 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
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/
H A DCellBroadcastBootupConfigTest.java95 final int type; field in class:CellBroadcastBootupConfigTest.CbConfig
97 CbConfig(int startId, int endId, int type) { argument
100 this.type = type;
163 assertEquals("i=" + i, configs[i].type, mTypes.getAllValues().get(i).intValue());
H A DCellBroadcastConfigServiceTest.java69 private boolean setCellBroadcastRange(boolean enable, int type, int start, int end) argument
81 return (boolean) method.invoke(mConfigService, mSmsManager, enable, type, start, end);
/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/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/ContactsCommon/src/com/android/contacts/common/model/
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;
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;
/packages/apps/EmergencyInfo/tests/src/com/android/emergency/
H A DContactTestUtils.java89 int type) {
95 values.put(ContactsContract.CommonDataKinds.Phone.TYPE, type);
86 insertPhoneNumber(ContentResolver contentResolver, long rawContactId, String phoneNumber, int type) argument
/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);
/packages/apps/PhoneCommon/src/com/android/phone/common/util/
H A DSettingsUtil.java49 * @param type The type of sound.
54 Context context, Handler handler, int type, String key, int msg) {
57 if (type == RingtoneManager.TYPE_RINGTONE) {
60 ringtoneUri = RingtoneManager.getActualDefaultRingtoneUri(context, type);
74 ringtoneUri = RingtoneManager.getActualDefaultRingtoneUri(context, type);
53 updateRingtoneName( Context context, Handler handler, int type, String key, int msg) argument
/packages/apps/Settings/src/com/android/settings/widget/
H A DLinkTextView.java48 public void setText(CharSequence text, BufferType type) { argument
49 super.setText(text, type);
/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);
H A DPipOptionsRowAdapter.java112 protected void executeAction(int type) { argument
113 switch (type) {
/packages/apps/TV/usbtuner/src/com/android/usbtuner/
H A DChannelScanFileParser.java37 public final int type; field in class:ChannelScanFileParser.ScanChannel
50 private ScanChannel(int type, int frequency, String modulation, String filename) { argument
51 this.type = 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/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/Bluetooth/src/com/android/bluetooth/gatt/
H A DGattDbElement.java41 public int type; field in class:GattDbElement
45 * If type is TYPE_PRIMARY_SERVICE, or TYPE_SECONDARY_SERVICE,
52 * If type is TYPE_CHARACTERISTIC, this contains the properties of
/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/Camera2/src/com/android/camera/one/v2/core/
H A DFrameServer.java48 public void submitRequest(List<Request> burstRequests, RequestType type) argument
H A DFrameServerImpl.java46 public void submitRequest(List<Request> burstRequests, RequestType type) argument
55 mCaptureSession.submitRequest(burstRequests, type);
/packages/apps/Email/provider_src/com/android/email/provider/
H A DAccountReconciler.java67 for (final String type : accountTypes) {
68 final android.accounts.Account[] accounts = am.getAccountsByType(type);
125 final String name, final String type) {
127 if (account.name.equalsIgnoreCase(name) && account.type.equalsIgnoreCase(type)) {
259 final String accountType = accountManagerAccount.type;
124 hasAmAccount(final List<android.accounts.Account> accounts, final String name, final String type) 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...]

Completed in 2581 milliseconds

1234567891011>>