/packages/apps/Dialer/src/com/android/dialer/calllog/ |
H A D | ContactInfo.java | 32 public int type; field in class:ContactInfo 68 if (type != other.type) return false; 81 "type", type).add("label", label).add("number", number).add("formattedNumber",
|
/packages/apps/Exchange/src/com/android/exchange/eas/ |
H A D | EasSyncBase.java | 156 * type. 157 * @param type The type of the {@link Mailbox} that we're trying to sync. 158 * @return An {@link EasSyncCollectionTypeBase} appropriate for this type. 160 private EasSyncCollectionTypeBase getCollectionTypeHandler(final int type) { argument 161 switch (type) { 175 LogUtils.e(LOG_TAG, "unexpected collectiontype %d", type);
|
/packages/apps/Exchange/tests/src/com/android/exchange/provider/ |
H A D | MockProviderTests.java | 49 private static final String PONY_COLUMN_TYPE = "type"; 77 private ContentValues ponyValues(String name, String type, int legs, boolean canRide) { argument 80 cv.put(PONY_COLUMN_TYPE, type);
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
H A D | ActionImage.java | 43 public Job<Bitmap> requestImage(int type) { argument 44 return new BitmapJob(type); 55 protected BitmapJob(int type) { argument 56 mType = type;
|
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);
|
H A D | MediaSource.java | 37 public Path findPathByUri(Uri uri, String type) { argument
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ |
H A D | EditorPlaceHolder.java | 34 public boolean contains(int type) { argument 35 if (mEditors.get(type) != null) { 41 public Editor showEditor(int type) { argument 42 Editor editor = mEditors.get(type);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
H A D | FilterPointRepresentation.java | 25 public FilterPointRepresentation(String type, int textid, int editorID) { argument 26 super(type);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/ |
H A D | State.java | 35 public State(String text, int type) { argument 37 mType = type; 67 void setType(int type) { argument 68 mType = type;
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | DeferredHandler.java | 81 public void post(Runnable runnable, int type) { argument 83 mQueue.add(new Pair<Runnable, Integer>(runnable, type)); 94 public void postIdle(final Runnable runnable, int type) { argument 95 post(new IdleRunnable(runnable), type); 103 public void cancelAllRunnablesOfType(int type) { argument 109 if (p.second == type) {
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | DeferredHandler.java | 82 public void post(Runnable runnable, int type) { argument 84 mQueue.add(new Pair<Runnable, Integer>(runnable, type)); 95 public void postIdle(final Runnable runnable, int type) { argument 96 post(new IdleRunnable(runnable), type); 104 public void cancelAllRunnablesOfType(int type) { argument 110 if (p.second == type) {
|
/packages/apps/Mms/src/com/android/mms/dom/events/ |
H A D | EventTargetImpl.java | 40 EventListenerEntry(String type, EventListener listener, boolean useCapture) argument 42 mType = type; 52 public void addEventListener(String type, EventListener listener, boolean useCapture) { argument 53 if ((type == null) || type.equals("") || (listener == null)) { 58 removeEventListener(type, listener, useCapture); 63 mListenerEntries.add(new EventListenerEntry(type, listener, useCapture)); 75 "Unspecified even type"); 115 public void removeEventListener(String type, EventListener listener, argument 124 && listenerEntry.mType.equals(type)) { [all...] |
/packages/apps/Mms/src/com/android/mms/layout/ |
H A D | HVGALayoutParameters.java | 37 public HVGALayoutParameters(Context context, int type) { argument 38 if ((type != HVGA_LANDSCAPE) && (type != HVGA_PORTRAIT)) { 40 "Bad layout type detected: " + type); 44 Log.v(TAG, "HVGALayoutParameters.<init>(" + type + ")."); 46 mType = type;
|
/packages/apps/Tag/canon/src/com/android/apps/tagcanon/ |
H A D | TagCanon.java | 73 public static NdefRecord newMimeRecord(String type, byte[] data) { argument 74 Preconditions.checkNotNull(type); 77 byte[] typeBytes = type.getBytes(StandardCharsets.US_ASCII);
|
/packages/apps/Tag/src/com/android/apps/tag/record/ |
H A D | MimeRecord.java | 79 public static NdefRecord newMimeRecord(String type, byte[] data) { argument 80 return NdefRecord.createMime(type, data);
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
H A D | AttachmentUtils.java | 83 * Return a friendly localized file type for this attachment, or the empty string if 86 * @return friendly file type or empty string 90 // This is a dummy attachment, display blank for type. 94 // try to get a friendly name for the exact mime type 119 * Returns a user-friendly localized description of either a complete a MIME type or a 122 * @param type complete MIME type or just MIME family 126 String type) { 157 return sDisplayNameMap.get(type); 125 getMimeTypeDisplayName(final Context context, String type) argument
|
H A D | MimeType.java | 53 * Returns whether or not an attachment of the specified type is installable (e.g. an apk). 55 public static boolean isInstallable(String type) { argument 56 return ANDROID_ARCHIVE.equals(type); 60 * Returns whether or not an attachment of the specified type is viewable. 64 // content type is not known. Changing the provider to return null, 69 LogUtils.d(LOG_TAG, "Attachment with null content type. '%s", contentUri); 74 LogUtils.d(LOG_TAG, "content type '%s' is blocked. '%s", contentType, contentUri); 102 "mime-type: %s, uri: %s, normalized mime-type: %s normalized uri: %s", 109 * @return whether the specified type i [all...] |
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/message/ |
H A D | Entity.java | 98 * Determines the MIME type of this <code>Entity</code>. The MIME type
102 * @return the MIME type.
138 * Determines if the MIME type of this <code>Entity</code> matches the
141 * @param type the MIME type to match against.
144 public boolean isMimeType(String type) {
argument 145 return getMimeType().equalsIgnoreCase(type);
149 * Determines if the MIME type of this <code>Entity</code> is
|
/packages/apps/VideoEditor/src/com/android/videoeditor/ |
H A D | TransitionType.java | 22 * A movie transition type 91 public TransitionType(String name, int type) { argument 93 mType = type; 104 * @return The type
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/event/ |
H A D | Event.java | 57 final private int mType; // The type of event - one of the constants above 60 // is the right type: COMMITTABLE or DEAD or TOGGLE, but for a mode key like hankaku/zenkaku or 68 private Event(final int type, final int codePoint, final Event next) { argument 69 mType = type;
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/typing/ |
H A D | typing_scoring.h | 35 const float languageWeight, int *const outputCodePoints, int *const type, 33 getMostProbableString( const DicTraverseSession *const traverseSession, const int terminalSize, const float languageWeight, int *const outputCodePoints, int *const type, int *const freq) const argument
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/ |
H A D | ndrdic.c | 43 NJ_INT16 njd_r_get_hinsi(NJ_DIC_HANDLE rule, NJ_UINT8 type) { argument 50 switch (type) { 86 NJ_INT16 njd_r_get_connect(NJ_DIC_HANDLE rule, NJ_UINT16 hinsi, NJ_UINT8 type, NJ_UINT8 **connect) { argument 97 if (type == NJ_RULE_TYPE_BTOF) {
|
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
H A D | CalendarProvider2ForTesting.java | 61 public void set(int type, long triggerAtTime, PendingIntent operation) { argument
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | DataRowHandlerForEmail.java | 87 protected int getTypeRank(int type) { argument 88 switch (type) {
|
H A D | DataRowHandlerForOrganization.java | 107 protected int getTypeRank(int type) { argument 108 switch (type) {
|