Home
last modified time | relevance | path

Searched refs:mType (Results 1 – 25 of 62) 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()
46 ((mType == MediaItem.TYPE_THUMBNAIL) ? "THUMB" : in debugTag()
47 (mType == MediaItem.TYPE_MICROTHUMBNAIL) ? "MICROTHUMB" : "?"); in debugTag()
56 boolean found = cacheService.getImageData(mPath, mType, buffer); in run()
62 if (mType == MediaItem.TYPE_MICROTHUMBNAIL) { in run()
79 Bitmap bitmap = onDecodeOriginal(jc, mType); in run()
87 if (mType == MediaItem.TYPE_MICROTHUMBNAIL) { in run()
97 cacheService.putImageData(mPath, mType, array); in run()
DActionImage.java53 private int mType; field in ActionImage.BitmapJob
56 mType = type; in BitmapJob()
61 int targetSize = MediaItem.getTargetSize(mType); in run()
65 if (mType == MediaItem.TYPE_MICROTHUMBNAIL) { in run()
DUriImage.java184 private int mType; field in UriImage.BitmapJob
187 mType = type; in BitmapJob()
193 int targetSize = MediaItem.getTargetSize(mType); in run()
197 mFileDescriptor.getFileDescriptor(), options, targetSize, mType); in run()
203 if (mType == MediaItem.TYPE_MICROTHUMBNAIL) { in run()
DLocalAlbumSet.java51 private final int mType; field in LocalAlbumSet
65 mType = getTypeFromPath(path); in LocalAlbumSet()
109 jc, mApplication.getContentResolver(), mType); in run()
129 mType, mPath, entry.bucketId, entry.bucketName); in run()
/packages/apps/Contacts/src/com/android/contacts/editor/
DLabeledEditorView.java84 private EditType mType; field in LabeledEditorView
270 return mType; in getType()
283 mLabel.setSelection(mEditTypeAdapter.getPosition(mType)); in rebuildLabel()
365 mType = RawContactModifier.getCurrentType(entry, kind); in setValues()
401 mType = null; in createCustomDialog()
404 mType = editType; in createCustomDialog()
408 if (mType == null) return; in createCustomDialog()
410 mEntry.put(mKind.typeColumn, mType.rawValue); in createCustomDialog()
411 mEntry.put(mType.customColumn, customText); in createCustomDialog()
466 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.java107 if (row != null && row.mType == TYPE_DAY) in getHeaderPosition()
120 if (mRowInfo.get(i).mType != TYPE_MEETING) { in getHeaderItemsCount()
138 if (row.mType == TYPE_DAY) { in getItem()
150 if (row.mType == TYPE_DAY) { in getItemId()
167 mRowInfo.get(position).mType : TYPE_DAY; in getItemViewType()
181 if (row.mType == TYPE_DAY) { in getView()
252 } else if (row.mType == TYPE_MEETING) { in getView()
282 throw new IllegalStateException("Unknown event type:" + row.mType); in getView()
433 final int mType; field in AgendaByDayAdapter.RowInfo
449 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.java355 mailbox.mType = Mailbox.TYPE_MAIL; in addParser()
361 mailbox.mType = Mailbox.TYPE_INBOX; in addParser()
365 mailbox.mType = Mailbox.TYPE_CONTACTS; in addParser()
372 mailbox.mType = Mailbox.TYPE_OUTBOX; in addParser()
375 mailbox.mType = Mailbox.TYPE_SENT; in addParser()
378 mailbox.mType = Mailbox.TYPE_DRAFTS; in addParser()
381 mailbox.mType = Mailbox.TYPE_TRASH; in addParser()
384 mailbox.mType = Mailbox.TYPE_CALENDAR; in addParser()
388 mailbox.mType = Mailbox.TYPE_UNKNOWN; in addParser()
393 mailbox.mFlagVisible = (mailbox.mType < Mailbox.TYPE_NOT_EMAIL); in addParser()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetPhoneState.java290 int mType; field in HeadsetCallState
297 mType = type; in HeadsetCallState()
308 int mType; field in HeadsetClccResponse
318 mType = type; in HeadsetClccResponse()
/packages/apps/Contacts/src/com/android/contacts/vcard/
DCancelActivity.java71 private int mType; field in CancelActivity
79 mType = Integer.parseInt(uri.getQueryParameter(TYPE)); in onCreate()
88 if (mType == VCardService.TYPE_IMPORT) { in onCreateDialog()
/packages/apps/Settings/src/com/android/settings/vpn2/
DVpnDialog.java52 private Spinner mType; field in VpnDialog
86 mType = (Spinner) mView.findViewById(R.id.type); in onCreate()
104 mType.setSelection(mProfile.type); in onCreate()
127 mType.setOnItemSelectedListener(this); in onCreate()
209 if (parent == mType) { in onItemSelected()
261 switch (mType.getSelectedItemPosition()) { in validate()
339 profile.type = mType.getSelectedItemPosition(); in getProfile()

123