Home
last modified time | relevance | path

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

123

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/
DStateView.java47 private int mType = DEFAULT; field in StateView
77 mType = type; in StateView()
98 mType = type; in setType()
121 if (mType == BEGIN) { in drawText()
153 if (mType == DEFAULT || mType == END) { in onDraw()
171 if (mType == END) { in drawHorizontalPath()
182 if (mType != BEGIN) { in drawHorizontalPath()
189 if (mType == END) { in drawHorizontalPath()
200 if (mType != BEGIN) { in drawHorizontalPath()
210 if (mType == BEGIN) { in drawVerticalPath()
[all …]
/packages/apps/Contacts/src/com/android/contacts/editor/
DLabeledEditorView.java83 private EditType mType; field in LabeledEditorView
276 return mType; in getType()
289 mLabel.setSelection(mEditTypeAdapter.getPosition(mType)); in rebuildLabel()
382 mType = RawContactModifier.getCurrentType(entry, kind); in setValues()
418 mType = null; in createCustomDialog()
421 mType = editType; in createCustomDialog()
425 if (mType == null) return; in createCustomDialog()
427 mEntry.put(mKind.typeColumn, mType.rawValue); in createCustomDialog()
428 mEntry.put(mType.customColumn, customText); in createCustomDialog()
483 if (mType == selected && mType.customColumn == null) { in onTypeSelectionChange()
[all …]
/packages/apps/Calendar/src/com/android/calendar/agenda/
DAgendaByDayAdapter.java106 if (row != null && row.mType == TYPE_DAY) in getHeaderPosition()
119 if (mRowInfo.get(i).mType != TYPE_MEETING) { in getHeaderItemsCount()
139 if (row.mType == TYPE_DAY) { in getItem()
152 if (row.mType == TYPE_DAY) { in getItemId()
169 mRowInfo.get(position).mType : TYPE_DAY; in getItemViewType()
184 if (row.mType == TYPE_DAY) { in getView()
255 } else if (row.mType == TYPE_MEETING) { in getView()
285 throw new IllegalStateException("Unknown event type:" + row.mType); in getView()
436 final int mType; field in AgendaByDayAdapter.RowInfo
452 mType = type; in RowInfo()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DBluetoothPairingDialog.java70 private int mType; field in BluetoothPairingDialog
124 mType = intent.getIntExtra(BluetoothDevice.EXTRA_PAIRING_VARIANT, BluetoothDevice.ERROR); in onCreate()
127 Log.d(TAG, "Requested pairing Type = " + mType + " , Device = " + mDevice); in onCreate()
132 switch (mType) { in onCreate()
165 if (mType == BluetoothDevice.PAIRING_VARIANT_DISPLAY_PASSKEY) { in onCreate()
241 switch (mType) { in getActions()
287 switch (mType) { in createUserEntryDialog()
305 Log.e(TAG, "Incorrect pairing type for createPinEntryView: " + mType); in createUserEntryDialog()
341 switch (mType) { in createConfirmationDialog()
349 if (mType == BluetoothDevice.PAIRING_VARIANT_DISPLAY_PASSKEY) { in createConfirmationDialog()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DImageCacheRequest.java33 private int mType; field in ImageCacheRequest
41 mType = type; in ImageCacheRequest()
48 ((mType == MediaItem.TYPE_THUMBNAIL) ? "THUMB" : in debugTag()
49 (mType == MediaItem.TYPE_MICROTHUMBNAIL) ? "MICROTHUMB" : "?"); in debugTag()
58 boolean found = cacheService.getImageData(mPath, mTimeModified, mType, buffer); in run()
64 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, mTimeModified, mType, array); in run()
/packages/apps/Mms/src/com/android/mms/layout/
DHVGALayoutParameters.java30 private int mType = -1; field in HVGALayoutParameters
48 mType = type; in HVGALayoutParameters()
72 return mType == HVGA_LANDSCAPE ? mMaxWidth in getWidth()
77 return mType == HVGA_LANDSCAPE ? mMaxHeight in getHeight()
82 return mType == HVGA_LANDSCAPE ? mImageHeightLandscape in getImageHeight()
87 return mType == HVGA_LANDSCAPE ? mTextHeightLandscape in getTextHeight()
92 return mType; in getType()
96 return mType == HVGA_LANDSCAPE ? "HVGA-L" : "HVGA-P"; in getTypeDescription()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DFilterDrawRepresentation.java90 public byte mType; field in FilterDrawRepresentation.StrokeData
101 mType = copy.mType; in StrokeData()
115 if (mType != sd.mType in equals()
126 return "stroke(" + mType + ", path(" + (mPath) + "), " + mRadius + " , " in toString()
175 : ("draw=" + mCurrent.mType + " " + mCurrent.noPoints)); in toString()
277 sd.mType = type; in fillStrokeParameters()
331 writer.name(SERIAL_TYPE).value(mark.mType); in serializeRepresentation()
363 stroke.mType = (byte) sreader.nextInt(); in deSerializeRepresentation()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothPairingDialog.java64 private int mType; field in BluetoothPairingDialog
115 mType = intent.getIntExtra(BluetoothDevice.EXTRA_PAIRING_VARIANT, BluetoothDevice.ERROR); in onCreate()
117 switch (mType) { in onCreate()
147 if (mType == BluetoothDevice.PAIRING_VARIANT_DISPLAY_PASSKEY) { in onCreate()
194 switch (mType) { in createPinEntryView()
211 Log.e(TAG, "Incorrect pairing type for createPinEntryView: " + mType); in createPinEntryView()
237 switch (mType) { in createView()
303 if (mType == BluetoothDevice.PAIRING_VARIANT_DISPLAY_PASSKEY) { in createDisplayPasskeyOrPinDialog()
305 } else if (mType == BluetoothDevice.PAIRING_VARIANT_DISPLAY_PIN) { in createDisplayPasskeyOrPinDialog()
324 switch (mType) { in onPair()
/packages/apps/Settings/src/com/android/settings/accessibility/
DToggleDaltonizerPreferenceFragment.java36 private ListPreference mType; field in ToggleDaltonizerPreferenceFragment
44 mType = (ListPreference) findPreference("type"); in onCreate()
56 if (preference == mType) { in onPreferenceChange()
89 mType.setValue(value); in initPreferences()
90 mType.setOnPreferenceChangeListener(this); in initPreferences()
91 final int index = mType.findIndexOfValue(value); in initPreferences()
94 mType.setSummary(getString(R.string.daltonizer_type_overridden, in initPreferences()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/
DPinDialogFragment.java88 private int mType; field in PinDialogFragment
108 mType = type; in PinDialogFragment()
139 mType = PIN_DIALOG_TYPE_NEW_PIN; in onCreateView()
141 switch (mType) { in onCreateView()
156 mType = PIN_DIALOG_TYPE_OLD_PIN; in onCreateView()
171 if (mType != PIN_DIALOG_TYPE_NEW_PIN) { in onCreateView()
235 if (DEBUG) Log.d(TAG, "done: mType=" + mType + " pin=" + pin);
236 switch (mType) {
266 mType = PIN_DIALOG_TYPE_NEW_PIN;
277 return mType;
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/
DActionKey.java24 private final T mType; field in ActionKey
30 mType = type; in ActionKey()
31 mTypeString = (mType != null) ? mType.name() : ""; in ActionKey()
51 mType = type; in ActionKey()
66 return mType; in getType()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
DProcessingTask.java27 private int mType; field in ProcessingTask
35 Message msg = mProcessingHandler.obtainMessage(mType); in postRequest()
54 Message msg = mResultHandler.obtainMessage(mType); in postUpdate()
62 Message msg = mResultHandler.obtainMessage(mType); in processRequest()
72 mType = taskController.getReservedType(); in added()
76 return mType; in getType()
/packages/apps/Email/provider_src/com/android/email/service/
DImapService.java375 if (mailbox.mType == Mailbox.TYPE_DRAFTS || mailbox.mType == Mailbox.TYPE_OUTBOX) { in synchronizeMailboxGeneric()
446 if (mailbox.mType == Mailbox.TYPE_TRASH || mailbox.mType == Mailbox.TYPE_SENT) { in synchronizeMailboxGeneric()
450 mailbox.mType); in synchronizeMailboxGeneric()
838 final boolean deleteFromTrash = mailbox.mType == Mailbox.TYPE_TRASH; in processPendingDeletesSynchronous()
976 if (mailbox.mType == Mailbox.TYPE_TRASH) { in processPendingUpdatesSynchronous()
1046 } else if (mailbox.mType == Mailbox.TYPE_DRAFTS) { in processUploadMessage()
1049 } else if (mailbox.mType == Mailbox.TYPE_OUTBOX) { in processUploadMessage()
1052 } else if (mailbox.mType == Mailbox.TYPE_TRASH) { in processUploadMessage()
1099 if (mailbox.mType == Mailbox.TYPE_DRAFTS || mailbox.mType == Mailbox.TYPE_OUTBOX) { in processPendingDataChange()
1194 if (oldMailbox.mType == Mailbox.TYPE_TRASH) { in processPendingMoveToTrash()
[all …]
DPopImapSyncAdapterService.java91 return m.mType != Mailbox.TYPE_DRAFTS in loadsFromServer()
92 && m.mType != Mailbox.TYPE_OUTBOX in loadsFromServer()
93 && m.mType != Mailbox.TYPE_SEARCH; in loadsFromServer()
96 return Mailbox.TYPE_INBOX == m.mType; in loadsFromServer()
112 if ((mailbox.mType != Mailbox.TYPE_OUTBOX) && in sync()
133 if (mailbox.mType == Mailbox.TYPE_OUTBOX) { in sync()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DToastBarOperation.java36 private final int mType; field in ToastBarOperation
54 mType = type; in ToastBarOperation()
59 return mType; in getType()
70 mType = in.readInt(); in ToastBarOperation()
85 sb.append(mType); in toString()
97 dest.writeInt(mType); in writeToParcel()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapMessageListingElement.java46 private TYPE mType = null; field in BluetoothMapMessageListingElement
138 return mType; in getType()
142 this.mType = type; in setType()
261 … xmlMsgElement.attribute(null, "handle", BluetoothMapUtils.getMapHandle(mCpHandle, mType)); in encode()
276 if(mType != null) in encode()
277 xmlMsgElement.attribute(null, "type", mType.name()); in encode()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DMailbox.java163 public int mType; field in Mailbox
494 box.mType = mailboxType; in newSystemMailbox()
572 return (mTotalCount >= 0) && isSyncableType(mType); in isSyncable()
584 mType = cursor.getInt(CONTENT_TYPE_COLUMN); in restore()
609 values.put(MailboxColumns.TYPE, mType); in toContentValues()
738 switch (mType) { in canHaveMessagesMoved()
766 = mType; in getHashes()
814 dest.writeInt(mType); in writeToParcel()
839 mType = in.readInt(); in Mailbox()
/packages/providers/MediaProvider/src/com/android/providers/media/
DRingtonePickerActivity.java57 private int mType; field in RingtonePickerActivity
152 mType = intent.getIntExtra(RingtoneManager.EXTRA_RINGTONE_TYPE, -1); in onCreate()
153 if (mType != -1) { in onCreate()
154 mRingtoneManager.setType(mType); in onCreate()
236 if (mType == RingtoneManager.TYPE_NOTIFICATION) { in addDefaultRingtoneItem()
238 } else if (mType == RingtoneManager.TYPE_ALARM) { in addDefaultRingtoneItem()
/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()
/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/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/Settings/src/com/android/settings/notification/
DSettingPref.java36 protected final int mType; field in SettingPref
47 mType = type; in SettingPref()
52 mUri = getUriFor(mType, mSetting); in SettingPref()
102 return putInt(mType, context.getContentResolver(), mSetting, value); in setSetting()
114 final int val = getInt(mType, context.getContentResolver(), mSetting, mDefault); in update()
/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/Gallery/src/com/android/camera/
DGalleryPicker.java396 item = new Item(data.mType, in checkImageList()
557 mType = type; in ImageListData()
562 int mType; field in GalleryPicker.ImageListData
790 public final int mType;
803 mType = type;
820 return mType >= TYPE_CAMERA_IMAGES;
836 return convertItemTypeToIncludedMediaType(mType);
856 switch (mType) {

123