Home
last modified time | relevance | path

Searched refs:mType (Results 1 – 25 of 56) sorted by relevance

123

/packages/apps/Mms/src/com/android/mms/layout/
DHVGALayoutParameters.java28 private int mType = -1; field in HVGALayoutParameters
46 mType = type; in HVGALayoutParameters()
70 return mType == HVGA_LANDSCAPE ? mMaxWidth in getWidth()
75 return mType == HVGA_LANDSCAPE ? mMaxHeight in getHeight()
80 return mType == HVGA_LANDSCAPE ? mImageHeightLandscape in getImageHeight()
85 return mType == HVGA_LANDSCAPE ? mTextHeightLandscape in getTextHeight()
90 return mType; in getType()
94 return mType == HVGA_LANDSCAPE ? "HVGA-L" : "HVGA-P"; in getTypeDescription()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DImageCacheRequest.java33 private int mType; field in ImageCacheRequest
40 mType = type; in ImageCacheRequest()
47 ((mType == MediaItem.TYPE_THUMBNAIL) ? "THUMB" : in run()
48 (mType == MediaItem.TYPE_MICROTHUMBNAIL) ? "MICROTHUMB" : "?"); in run()
53 boolean found = cacheService.getImageData(mPath, mType, buffer); in run()
59 if (mType == MediaItem.TYPE_MICROTHUMBNAIL) { in run()
74 Bitmap bitmap = onDecodeOriginal(jc, mType); in run()
82 if (mType == MediaItem.TYPE_MICROTHUMBNAIL) { in run()
92 cacheService.putImageData(mPath, mType, array); in run()
DUriImage.java180 private int mType; field in UriImage.BitmapJob
183 mType = type; in BitmapJob()
189 int targetSize = MediaItem.getTargetSize(mType); in run()
193 mFileDescriptor.getFileDescriptor(), options, targetSize, mType); in run()
199 if (mType == MediaItem.TYPE_MICROTHUMBNAIL) { in run()
DLocalAlbumSet.java97 private final int mType; field in LocalAlbumSet
112 mType = getTypeFromPath(path); in LocalAlbumSet()
154 if ((mType & MEDIA_TYPE_IMAGE) != 0) { in loadBucketEntries()
157 if ((mType & MEDIA_TYPE_VIDEO) != 0) { in loadBucketEntries()
214 mType, mPath, entry.bucketId, entry.bucketName); in run()
/packages/apps/Contacts/src/com/android/contacts/editor/
DLabeledEditorView.java85 private EditType mType; field in LabeledEditorView
271 return mType; in getType()
284 mLabel.setSelection(mEditTypeAdapter.getPosition(mType)); in rebuildLabel()
366 mType = EntityModifier.getCurrentType(entry, kind); in setValues()
402 mType = null; in createCustomDialog()
405 mType = editType; in createCustomDialog()
409 if (mType == null) return; in createCustomDialog()
411 mEntry.put(mKind.typeColumn, mType.rawValue); in createCustomDialog()
412 mEntry.put(mType.customColumn, customText); in createCustomDialog()
467 if (mType == selected && mType.customColumn == null) { in onTypeSelectionChange()
[all …]
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DMailbox.java48 public int mType; field in Mailbox
257 box.mType = mailboxType; in newSystemMailbox()
319 mType = cursor.getInt(CONTENT_TYPE_COLUMN); in restore()
346 values.put(MailboxColumns.TYPE, mType); in toContentValues()
490 switch (mType) { in canHaveMessagesMoved()
507 return mType != Mailbox.TYPE_DRAFTS in loadsFromServer()
508 && mType != Mailbox.TYPE_OUTBOX in loadsFromServer()
509 && mType != Mailbox.TYPE_SEARCH in loadsFromServer()
510 && mType < Mailbox.TYPE_NOT_SYNCABLE; in loadsFromServer()
515 return mType != Mailbox.TYPE_DRAFTS in loadsFromServer()
[all …]
/packages/apps/Tag/src/com/android/apps/tag/record/
DMimeRecord.java39 private final String mType; field in MimeRecord
43 mType = Preconditions.checkNotNull(mimeType); in MimeRecord()
50 return mType; in getMimeType()
61 text.setText(mType); in getView()
67 return mType; in getSnippet()
/packages/apps/VideoEditor/src/com/android/videoeditor/service/
DMovieOverlay.java46 private int mType; field in MovieOverlay
72 mType = Integer.parseInt(userAttributes.get(KEY_TYPE)); in MovieOverlay()
93 mType = type; in MovieOverlay()
193 return mType; in getType()
222 userAttributes.putInt(KEY_TYPE, mType); in buildUserAttributes()
249 mType = userAttributes.getInt(KEY_TYPE); in updateUserAttributes()
DMovieTransition.java40 private final int mType; field in MovieTransition
80 mType = toType(); in MovieTransition()
102 mType = toType(); in MovieTransition()
126 mType = toType(); in MovieTransition()
152 mType = toType(); in MovieTransition()
166 return mType; in getType()
DMovieEffect.java32 private final int mType; field in MovieEffect
62 mType = toType(effect); in MovieEffect()
69 return mType; in getType()
DMovieMediaItem.java37 private final Class<?> mType; field in MovieMediaItem
99 mType = mediaItem.getClass(); in MovieMediaItem()
148 return MediaImageItem.class.equals(mType); in isImage()
155 return MediaVideoItem.class.equals(mType); in isVideoClip()
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/
DAudioCapture.java32 private int mType; field in AudioCapture
42 mType = type; in AudioCapture()
117 if (mType == TYPE_PCM) { in getFormattedData()
141 if (mType == TYPE_PCM) { in captureData()
157 if (mType == TYPE_PCM) { in captureData()
/packages/apps/QuickSearchBox/tests/partial/src/com/android/quicksearchbox/tests/partial/
DPartialSuggestionProvider.java38 private int mType = -1; field in PartialSuggestionProvider
101 mType = (mType + 1) % 3; in query()
103 if (mType == 0) { in query()
109 if (mType == 1) { in query()
/packages/apps/Calendar/src/com/android/calendar/agenda/
DAgendaByDayAdapter.java99 if (row != null && row.mType == TYPE_DAY) in getHeaderPosition()
112 if (mRowInfo.get(i).mType != TYPE_MEETING) { in getHeaderItemsCount()
130 if (row.mType == TYPE_DAY) { in getItem()
142 if (row.mType == TYPE_DAY) { in getItemId()
159 mRowInfo.get(position).mType : TYPE_DAY; in getItemViewType()
173 if (row.mType == TYPE_DAY) { in getView()
244 } else if (row.mType == TYPE_MEETING) { in getView()
274 throw new IllegalStateException("Unknown event type:" + row.mType); in getView()
421 final int mType; field in AgendaByDayAdapter.RowInfo
437 mType = type; in RowInfo()
[all …]
/packages/apps/Launcher2/src/com/android/launcher2/
DPagedViewIconCache.java41 private final Type mType; field in PagedViewIconCache.Key
45 mType = Type.ApplicationInfoKey; in Key()
51 mType = Type.ResolveInfoKey; in Key()
55 mType = Type.AppWidgetProviderInfoKey; in Key()
62 return (mType == t); in isKeyType()
/packages/apps/VideoEditor/src/com/android/videoeditor/
DOverlayType.java50 private final int mType; field in OverlayType
57 mType = type; in OverlayType()
71 return mType; in getType()
DEffectType.java82 private final int mType; field in EffectType
86 mType = type; in EffectType()
94 return mType; in getType()
DTransitionType.java86 private final int mType; field in TransitionType
93 mType = type; in TransitionType()
107 return mType; in getType()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothPairingDialog.java57 private int mType; field in BluetoothPairingDialog
108 mType = intent.getIntExtra(BluetoothDevice.EXTRA_PAIRING_VARIANT, BluetoothDevice.ERROR); in onCreate()
110 switch (mType) { in onCreate()
140 if (mType == BluetoothDevice.PAIRING_VARIANT_DISPLAY_PASSKEY) { in onCreate()
187 switch (mType) { in createPinEntryView()
204 Log.e(TAG, "Incorrect pairing type for createPinEntryView: " + mType); in createPinEntryView()
225 switch (mType) { in createView()
286 if (mType == BluetoothDevice.PAIRING_VARIANT_DISPLAY_PASSKEY) { in createDisplayPasskeyOrPinDialog()
288 } else if (mType == BluetoothDevice.PAIRING_VARIANT_DISPLAY_PIN) { in createDisplayPasskeyOrPinDialog()
307 switch (mType) { in onPair()
/packages/apps/Mms/src/com/android/mms/dom/events/
DEventTargetImpl.java36 final String mType; field in EventTargetImpl.EventListenerEntry
42 mType = type; in EventListenerEntry()
95 && listenerEntry.mType.equals(eventImpl.getType())) { in dispatchEvent()
124 && listenerEntry.mType.equals(type)) { in removeEventListener()
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/
DFolderSyncParser.java350 mailbox.mType = Mailbox.TYPE_MAIL; in addParser()
356 mailbox.mType = Mailbox.TYPE_INBOX; in addParser()
360 mailbox.mType = Mailbox.TYPE_CONTACTS; in addParser()
367 mailbox.mType = Mailbox.TYPE_OUTBOX; in addParser()
370 mailbox.mType = Mailbox.TYPE_SENT; in addParser()
373 mailbox.mType = Mailbox.TYPE_DRAFTS; in addParser()
376 mailbox.mType = Mailbox.TYPE_TRASH; in addParser()
379 mailbox.mType = Mailbox.TYPE_CALENDAR; in addParser()
383 mailbox.mType = Mailbox.TYPE_UNKNOWN; in addParser()
388 mailbox.mFlagVisible = (mailbox.mType < Mailbox.TYPE_NOT_EMAIL); in addParser()
[all …]
/packages/apps/Contacts/src/com/android/contacts/vcard/
DCancelActivity.java74 private int mType; field in CancelActivity
82 mType = Integer.parseInt(uri.getQueryParameter(TYPE)); in onCreate()
91 if (mType == VCardService.TYPE_IMPORT) { in onCreateDialog()
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
DWidgetService.java83 private final int mType; field in WidgetService.PhotoRVFactory
92 mType = type; in PhotoRVFactory()
98 if (mType == WidgetDatabaseHelper.TYPE_ALBUM) { in onCreate()
/packages/apps/Settings/src/com/android/settings/vpn2/
DVpnDialog.java51 private Spinner mType; field in VpnDialog
85 mType = (Spinner) mView.findViewById(R.id.type); in onCreate()
103 mType.setSelection(mProfile.type); in onCreate()
126 mType.setOnItemSelectedListener(this); in onCreate()
208 if (parent == mType) { in onItemSelected()
260 switch (mType.getSelectedItemPosition()) { in validate()
338 profile.type = mType.getSelectedItemPosition(); in getProfile()
/packages/apps/Gallery2/tests/src/com/android/gallery3d/ui/
DPointerInfo.java41 public int mType; field in PointerInfo
53 mType = type; in PointerInfo()
59 return mStride > 0 ? mStride : sizeof(mType) * mSize; in getStride()
194 int type = mType; in getArrayElement()

123