/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
H A D | MediaObject.java | 159 public static String getTypeString(int type) { argument 160 switch (type) {
|
H A D | LocalVideo.java | 154 public Job<Bitmap> requestImage(int type) { argument 156 type, filePath); 163 int type, String localFilePath) { 164 super(application, path, timeModified, type, 165 MediaItem.getTargetSize(type)); 170 public Bitmap onDecodeOriginal(JobContext jc, int type) { argument 162 LocalVideoRequest(GalleryApp application, Path path, long timeModified, int type, String localFilePath) argument
|
H A D | LocalImage.java | 174 public Job<Bitmap> requestImage(int type) { argument 176 type, filePath); 183 int type, String localFilePath) { 184 super(application, path, timeModified, type, 185 MediaItem.getTargetSize(type)); 190 public Bitmap onDecodeOriginal(JobContext jc, final int type) { argument 193 int targetSize = MediaItem.getTargetSize(type); 196 if (type == MediaItem.TYPE_MICROTHUMBNAIL) { 214 return DecodeUtils.decodeThumbnail(jc, mLocalFilePath, options, targetSize, type); 182 LocalImageRequest(GalleryApp application, Path path, long timeModified, int type, String localFilePath) argument
|
/packages/apps/Settings/src/com/android/settings/vpn2/ |
H A D | ConfigPreference.java | 76 (result = mProfile.type - another.mProfile.type) == 0) {
|
/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/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/experimental/LoaderApp/src/com/android/loaderapp/model/ |
H A D | TypePrecedence.java | 71 * 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/OpenWnn/src/jp/co/omronsoft/openwnn/ |
H A D | OpenWnnDictionaryImplJni.java | 406 * @param type The type of a part of speech 407 * @return 0 if type is not found; <0 if an error occur; >0 The part of speech 409 public static final native int getLeftPartOfSpeechSpecifiedType( long work, int type ); 415 * @param type The type of a part of speech 416 * @return 0 if type is not found; <0 if an error occur; >0 The part of speech 428 public static final native int getRightPartOfSpeechSpecifiedType( long work, int type );
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | AccountWithDataSet.java | 49 return new AccountWithDataSet(account.name, account.type, null); 89 return "AccountWithDataSet {name=" + mAccountName + ", type=" + mAccountType + ", dataSet=" 98 // null account name/type, which Account wouldn't accept. So we need to compare field by 102 && Objects.equal(systemAccount.type, getAccountType())) {
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
H A D | CallLogInteraction.java | 109 Integer type = getType(); 110 if (type == null) { 113 switch (type) { 195 Integer type = getType(); 196 if (type == null) { 199 switch (type) {
|
/packages/apps/Messaging/tests/src/com/android/messaging/ |
H A D | FakeContentProvider.java | 93 public void addOverrideType(final Uri uri, final String type) { argument 94 mTypes.put(uri.toString(), type); 131 cursor.getColumnNames()) + " type(0) " + cursor.getType(0)); 143 String type = mTypes.get(uri.toString()); 144 if (type == null) { 146 type = mProvider.getType(uri); 151 return type;
|
/packages/apps/Settings/src/com/android/settings/ |
H A D | CryptKeeperSettings.java | 42 private static final String TYPE = "type"; 187 int type = data.getIntExtra(ChooseLockSettingsHelper.EXTRA_KEY_TYPE, -1); 190 showFinalConfirmation(type, password); 195 private void showFinalConfirmation(int type, String password) { argument 199 addEncryptionInfoToPreference(preference, type, password); 203 private void addEncryptionInfoToPreference(Preference preference, int type, String password) { argument 211 preference.getExtras().putInt(TYPE, type);
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/contenttype/parser/ |
H A D | ContentTypeParser.java | 24 private String type; field in class:ContentTypeParser 29 public String getType() { return type; } 65 Token type; 67 type = jj_consume_token(ATOKEN); 70 this.type = type.image;
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/include/ |
H A D | nj_ext.h | 60 #define NJ_GET_DIC_INFO(dicinfo) ((NJ_UINT8)((dicinfo)->type)) 62 #define NJ_GET_DIC_TYPE_EX(type, handle) \ 109 NJ_UINT8 connect, NJ_UINT8 type, 131 extern NJ_INT16 njd_r_get_hinsi(NJ_DIC_HANDLE rule, NJ_UINT8 type); 133 NJ_UINT16 hinsi, NJ_UINT8 type, 140 extern NJ_INT16 nje_convert_kata_to_hira(NJ_CHAR *kata, NJ_CHAR *hira, NJ_UINT16 len, NJ_UINT16 max_len, NJ_UINT8 type);
|
/packages/services/Telephony/src/org/apache/james/mime4j/field/contenttype/parser/ |
H A D | ContentTypeParser.java | 24 private String type; field in class:ContentTypeParser 29 public String getType() { return type; } 65 Token type; 67 type = jj_consume_token(ATOKEN); 70 this.type = type.image;
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/ |
H A D | RawContactModifier.java | 150 * when showing a dialog that includes the current type. 164 * when showing a dialog that includes the current type. 185 for (EditType type : kind.typeList) { 188 final boolean validSpecific = (type.specificMax == -1 ? true : typeCount 189 .get(type.rawValue) < type.specificMax); 190 final boolean validSecondary = (includeSecondary ? true : !type.secondary); 191 final boolean forcedInclude = type.equals(forceInclude); 194 validTypes.add(type); 222 final EditType type 365 insertChild(RawContactDelta state, DataKind kind, EditType type) argument 835 isTypeAllowed(int type, ArrayList<ValuesDelta> entries, DataKind kind) argument 865 getEntryCountByType(ArrayList<ValuesDelta> entries, String typeColumn, int type) argument [all...] |
/packages/apps/Browser/src/com/android/browser/ |
H A D | SuggestionsAdapter.java | 82 public void onSelect(String txt, int type, String extraData); argument 119 mListener.onSelect(getSuggestionUrl(item), item.type, item.extra); 175 switch (item.type) { 195 ic2.setVisibility(((TYPE_SUGGEST == item.type) 196 || (TYPE_SEARCH == item.type)) 334 // count per type 343 int getTypeCount(int type) { argument 344 return counts[type]; 349 while ((ix < items.size()) && (item.type >= items.get(ix).type)) 381 public int type; field in class:SuggestionsAdapter.SuggestItem [all...] |
/packages/apps/Camera/jni/feature_stab/src/dbreg/ |
H A D | vp_motionmodel.c | 188 if (in->type>VP_MOTION_SEMI_PROJ_3D) { 196 out->type = in->type; 245 if (InA->type>VP_MOTION_PROJ_3D) { 249 if (InB->type>VP_MOTION_PROJ_3D) { 275 Out->type= (InA->type > InB->type) ? InA->type : InB->type; [all...] |
/packages/apps/LegacyCamera/jni/feature_stab/src/dbreg/ |
H A D | vp_motionmodel.c | 188 if (in->type>VP_MOTION_SEMI_PROJ_3D) { 196 out->type = in->type; 245 if (InA->type>VP_MOTION_PROJ_3D) { 249 if (InB->type>VP_MOTION_PROJ_3D) { 275 Out->type= (InA->type > InB->type) ? InA->type : InB->type; [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
H A D | WebViewContextMenu.java | 216 int type = result.getType(); 217 switch (type) { 248 menu.setGroupVisible(R.id.PHONE_MENU, type == WebView.HitTestResult.PHONE_TYPE); 249 menu.setGroupVisible(R.id.EMAIL_MENU, type == WebView.HitTestResult.EMAIL_TYPE); 250 menu.setGroupVisible(R.id.GEO_MENU, type == WebView.HitTestResult.GEO_TYPE); 251 menu.setGroupVisible(R.id.ANCHOR_MENU, type == WebView.HitTestResult.SRC_ANCHOR_TYPE 252 || type == WebView.HitTestResult.SRC_IMAGE_ANCHOR_TYPE); 253 menu.setGroupVisible(R.id.IMAGE_MENU, type == WebView.HitTestResult.IMAGE_TYPE 254 || type == WebView.HitTestResult.SRC_IMAGE_ANCHOR_TYPE); 256 // Setup custom handling depending on the type [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
H A D | BluetoothOppLauncherActivity.java | 98 // TODO: handle type == null case 99 final String type = intent.getType(); 107 if (stream != null && type != null) { 109 + type); 110 // Save type/stream, will be used when adding transfer 115 .saveSendingFileInfo(type,stream.toString(), false); 123 } else if (extra_text != null && type != null) { 125 + extra_text.toString() + "; mimetype = " + type); 131 .saveSendingFileInfo(type,fileUri.toString(), false); 146 Log.e(TAG, "type i [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
H A D | BluetoothMapContentObserver.java | 168 public static final String EXTRA_MESSAGE_SENT_MSG_TYPE = "type"; 485 private static String getSmsFolderName(int type) { argument 486 String name = FOLDER_SMS_MAP.get(type); 597 private void setFolderPath(String name, TYPE type) { argument 599 if(type == TYPE.EMAIL || type == TYPE.IM) { 633 /* extended event type 1.1 */ 650 /* extended event type 1.2 message events */ 674 /* extended event type 1.2 for conversation, presence or chat state changed events */ 720 xmlEvtReport.attribute("", "type", eventTyp 809 int type; // Used as folder for SMS/MMS field in class:BluetoothMapContentObserver.Msg 817 Msg(long id, int type, int threadId, int readFlag) argument 2265 setMessageStatusDeleted(long handle, TYPE type, BluetoothMapFolderElement mCurrentFolder, String uriStr, int statusValue) argument 2302 setMessageStatusRead(long handle, TYPE type, String uriStr, int statusValue) argument [all...] |
/packages/apps/Browser/src/com/android/browser/provider/ |
H A D | BrowserProvider.java | 546 int type = -1; // 0: web search; 1: history; 2: suggestion 549 type = 0; 552 type = 1; 554 type = 0; 557 if (type == -1) type = (mPos - 1) < mHistoryCount ? 1 : 2; 559 type = mPos < mHistoryCount ? 1 : 2; 564 if (type == 1) { 571 if (type == 1) { 578 if (type [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/ |
H A D | NfcImportVCardActivity.java | 165 String type = intent.getType(); 166 if (type == null || 167 (!"text/x-vcard".equals(type) && !"text/vcard".equals(type))) { 264 public void onCancelRequest(CancelRequest request, int type) { argument
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
H A D | AuthenticatorHelper.java | 97 * Gets an icon associated with a particular account type. If none found, return null. 98 * @param accountType the type of account 130 * Gets the label associated with a particular account type. If none found, return null. 131 * @param accountType the type of account 143 Log.w(TAG, "No label name for account type " + accountType); 145 Log.w(TAG, "No label icon for account type " + accountType); 152 * Gets the package associated with a particular account type. If none found, return null. 153 * @param accountType the type of account 165 * Gets the resource id of the label associated with a particular account type. If none found, 167 * @param accountType the type o 254 getAuthoritiesForAccountType(String type) argument [all...] |