Searched refs:type (Results 126 - 150 of 571) sorted by relevance

1234567891011>>

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
H A DFilterEnvironment.java70 public Bitmap getBitmap(int w, int h, int type) { argument
71 return mBitmapCache.getBitmap(w, h, type);
74 public Bitmap getBitmapCopy(Bitmap source, int type) { argument
75 return mBitmapCache.getBitmapCopy(source, type);
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
H A DWidgetService.java38 public static final String EXTRA_WIDGET_TYPE = "widget-type";
45 int type = intent.getIntExtra(EXTRA_WIDGET_TYPE, 0);
49 id, type, albumPath);
62 public PhotoRVFactory(GalleryApp app, int id, int type, String albumPath) { argument
65 mType = type;
/packages/apps/Launcher3/protos/
H A Dlauncher_log.proto31 optional Type type = 1;
33 // For container type and item type
57 // Used to define what type of item a Target would represent.
68 // Used to define what type of container a Target would represent.
82 // Used to define what type of control a Target would represent.
119 optional Type type = 1;
/packages/apps/Settings/src/com/android/settings/fuelgauge/
H A DFakeUid.java200 public void noteUserActivityLocked(int type) { argument
209 public int getUserActivityCount(int type, int which) { argument
219 public long getNetworkActivityBytes(int type, int which) { argument
224 public long getNetworkActivityPackets(int type, int which) { argument
/packages/apps/TV/src/com/android/tv/menu/
H A DMenuAction.java79 public MenuAction(int actionNameResId, int type, int drawableResId) { argument
82 mType = type;
87 public MenuAction(String actionName, int type, Drawable drawable) { argument
90 mType = type;
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
H A DMergedAdapter.java156 int type = result.mAdapter.getItemViewType(result.mLocalPosition);
159 if (type >= 0) {
160 type += otherViewTypeCount;
162 return type;
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/result/
H A Dsuggestion_results.h43 const int score, const int type, const int indexToPartialCommit,
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/include/
H A Dnjx_lib.h37 NJ_UINT8 type; member in struct:word_que
/packages/providers/ContactsProvider/tests/assets/testUnsynced/
H A Dlegacy_contacts.sql10 CREATE TABLE calls (_id INTEGER PRIMARY KEY AUTOINCREMENT,number TEXT,date INTEGER,duration INTEGER,type INTEGER,new INTEGER,name TEXT,numbertype INTEGER,numberlabel TEXT);
11 CREATE TABLE contact_methods (_id INTEGER PRIMARY KEY AUTOINCREMENT,person INTEGER REFERENCES people(_id),kind INTEGER NOT NULL,data TEXT,aux_data TEXT,type INTEGER NOT NULL,label TEXT,isprimary INTEGER NOT NULL DEFAULT 0);
32 CREATE TABLE organizations (_id INTEGER PRIMARY KEY AUTOINCREMENT,company TEXT,title TEXT,isprimary INTEGER NOT NULL DEFAULT 0,type INTEGER NOT NULL,label TEXT,person INTEGER REFERENCES people(_id));
55 CREATE TABLE phones (_id INTEGER PRIMARY KEY AUTOINCREMENT,person INTEGER REFERENCES people(_id),type INTEGER NOT NULL,number TEXT,number_key TEXT,label TEXT,isprimary INTEGER NOT NULL DEFAULT 0);
91 CREATE TRIGGER contact_methods_INSERT_typeAndLabel AFTER INSERT ON contact_methods WHEN (NEW.type != 0 AND NEW.label IS NOT NULL) OR (NEW.type = 0 AND NEW.label IS NULL) BEGIN SELECT RAISE (ABORT, 'exactly one of type or label must be set'); END;
92 CREATE TRIGGER contact_methods_UPDATE_typeAndLabel AFTER UPDATE ON contact_methods WHEN (NEW.type != 0 AND NEW.label IS NOT NULL) OR (NEW.type = 0 AND NEW.label IS NULL) BEGIN SELECT RAISE (ABORT, 'exactly one of type o
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapConvoListingElement.java108 public void setType(TYPE type) { argument
109 this.mType = type;
185 * @param type 0 if the thread ID is valid across all message types in the instance - else
189 public void setConvoId(long type, long threadId) { argument
190 this.mId = new SignedLongLong(threadId,type);
191 if(D) Log.d(TAG, "setConvoId: " + threadId + " type:" + type);
292 int type;
314 while((type=parser.next()) != XmlPullParser.END_TAG
315 && type !
[all...]
/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/Email/tests/src/com/android/emailcommon/mail/
H A DMockFolder.java40 public boolean canCreate(FolderType type) { argument
45 public boolean create(FolderType type) { argument
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DGalleryActivity.java50 public static final String KEY_TYPE_BITS = "type-bits";
85 // the GET_CONTENT. However, we need to translate the type
88 String type = Utils.ensureNotNull(intent.getType());
89 if (type.startsWith("vnd.android.cursor.dir/")) {
90 if (type.endsWith("/image")) intent.setType("image/*");
91 if (type.endsWith("/video")) intent.setType("video/*");
127 String type = intent.getType();
128 if (type != null) {
129 return GalleryUtils.MIME_TYPE_PANORAMA360.equals(type)
130 ? MediaItem.MIME_TYPE_JPEG : type;
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DMediaObject.java159 public static String getTypeString(int type) { argument
160 switch (type) {
H A DLocalVideo.java154 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
/packages/apps/Settings/src/com/android/settings/vpn2/
H A DLegacyVpnPreference.java61 (result = mProfile.type - another.mProfile.type) == 0) {
/packages/apps/TV/src/com/android/tv/dvr/
H A DScheduledRecording.java124 private Builder setType(@RecordingType int type) { argument
125 mType = type;
261 @RecordingType int type, long startTime, long endTime,
267 mType = type;
275 * Returns recording schedule type. The possible types are {@link #TYPE_PROGRAM} and
344 private static @RecordingType int recordingType(String type) { argument
347 t = Integer.valueOf(type);
349 SoftPreconditions.checkArgument(false, TAG, "Unknown recording type " + type);
358 SoftPreconditions.checkArgument(false, TAG, "Unknown recording type "
260 ScheduledRecording(long id, long priority, long channelId, long programId, @RecordingType int type, long startTime, long endTime, @RecordingState int state, SeasonRecording parentSeasonRecording) argument
[all...]
/packages/apps/Tag/src/com/android/apps/tag/record/
H A DMimeRecord.java79 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 DEntity.java98 * 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 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/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DOpenWnnDictionaryImplJni.java406 * @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 DAccountWithDataSet.java49 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/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppSendFileInfo.java81 public BluetoothOppSendFileInfo(String fileName, String type, long length, argument
84 mMimetype = type;
92 public BluetoothOppSendFileInfo(String data, String type, long length, int status) { argument
96 mMimetype = type;
102 Context context, Uri uri, String type, boolean fromExternal) {
155 contentType = type;
101 generateFileInfo( Context context, Uri uri, String type, boolean fromExternal) argument
/packages/apps/Contacts/src/com/android/contacts/interactions/
H A DCallLogInteraction.java109 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 DFakeContentProvider.java93 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;

Completed in 810 milliseconds

1234567891011>>