Home
last modified time | relevance | path

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

1234

/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
286 return mType; in getType()
300 mEntry.getAsString(mType.customColumn), in rebuildLabel()
303 mLabel.setSelection(mEditTypeAdapter.getPosition(mType)); in rebuildLabel()
304 if (mType != null) { in rebuildLabel()
307 getContext().getString(mType.labelRes), in rebuildLabel()
412 mType = RawContactModifier.getCurrentType(entry, kind); in setValues()
448 mType = null; in createCustomDialog()
451 mType = editType; in createCustomDialog()
455 if (mType == null) return; in createCustomDialog()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DBluetoothPairingDialog.java69 private int mType; field in BluetoothPairingDialog
112 mType = intent.getIntExtra(BluetoothDevice.EXTRA_PAIRING_VARIANT, BluetoothDevice.ERROR); in onCreate()
115 Log.d(TAG, "Requested pairing Type = " + mType + " , Device = " + mDevice); in onCreate()
118 switch (mType) { in onCreate()
151 if (mType == BluetoothDevice.PAIRING_VARIANT_DISPLAY_PASSKEY) { in onCreate()
228 switch (mType) { in getActions()
267 .replace(android.R.id.content, EntryDialogFragment.newInstance(mDevice, mType)) in createUserEntryDialog()
278 ConfirmationDialogFragment.newInstance(mDevice, mPairingKey, mType); in createConfirmationDialog()
287 switch (mType) { in onPair()
330 private int mType; field in BluetoothPairingDialog.EntryDialogFragment
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapAccountItem.java38 private final BluetoothMapUtils.TYPE mType; field in BluetoothMapAccountItem
51 this.mType = appType; in BluetoothMapAccountItem()
118 if(!other.mType.equals(this.mType)){ in compareTo()
119 if(V) Log.d(TAG, "Wrong appType : " + this.mType + " vs " + other.mType); in compareTo()
167 if (mType == null) { in equals()
168 if (other.mType != null) in equals()
170 } else if (!mType.equals(other.mType)) in equals()
201 return mType; in getType()
DBluetoothMapMessageListingElement.java46 private TYPE mType = null; field in BluetoothMapMessageListingElement
146 return mType; in getType()
151 this.mType = type; in setType()
277 BluetoothMapUtils.getMapHandle(mCpHandle, mType)); in encode()
298 if(mMsgTypeAppParamSet == true && mType != null) in encode()
299 xmlMsgElement.attribute(null, "type", mType.name()); in encode()
/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/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/services/Car/car-lib/src/android/car/navigation/
DCarNavigationInstrumentCluster.java48 private int mType; field in CarNavigationInstrumentCluster
87 return mType; in getType()
107 that.mType, in CarNavigationInstrumentCluster()
114 return mType == ClusterType.CUSTOM_IMAGES_SUPPORTED; in supportsCustomImages()
124 this.mType = type; in CarNavigationInstrumentCluster()
138 dest.writeInt(mType); in writeToParcel()
146 mType = in.readInt(); in CarNavigationInstrumentCluster()
157 "type: " + mType + ", " + in toString()
/packages/services/Car/car-support-lib/src/android/support/car/navigation/
DCarNavigationInstrumentCluster.java52 private int mType; field in CarNavigationInstrumentCluster
94 return mType; in getType()
114 that.mType, in CarNavigationInstrumentCluster()
121 return mType == ClusterType.CUSTOM_IMAGES_SUPPORTED; in supportsCustomImages()
133 this.mType = type; in CarNavigationInstrumentCluster()
148 dest.writeInt(mType); in writeToParcel()
159 mType = in.readInt(); in CarNavigationInstrumentCluster()
171 "type: " + mType + ", " + in toString()
/packages/apps/TV/src/com/android/tv/data/
DChannel.java124 channel.mType = Utils.intern(cursor.getString(index++)); in fromCursor()
156 private String mType; field in Channel
204 return mType; in getType()
260 return !TextUtils.isEmpty(mType) && !TvContract.Channels.TYPE_OTHER.equals(mType); in isPhysicalTunerChannel()
308 && Objects.equals(mType, other.mType) in hasSameReadOnlyInfo()
327 + ", type=" + mType in toString()
345 mType = other.mType; in copyFrom()
404 mChannel.mType = "type"; in Builder()
436 mChannel.mType = type; in setType()
/packages/services/Car/car-lib/src/android/car/hardware/
DCarPropertyConfig.java41 private final Class<T> mType; field in CarPropertyConfig
48 mType = type; in CarPropertyConfig()
54 public Class<T> getPropertyType() { return mType; } in getPropertyType()
122 dest.writeSerializable(mType); in writeToParcel()
134 mType = (Class<T>) in.readSerializable(); in CarPropertyConfig()
161 ", mType=" + mType + in toString()
233 private final Class<T> mType;
239 mType = type;
270 return new CarPropertyConfig<>(mType, mPropertyId, mAreaType, mAreas);
/packages/services/Car/car-lib/src/android/car/hardware/radio/
DCarRadioEvent.java39 private final int mType; field in CarRadioEvent
52 return mType; in getEventType()
62 dest.writeInt(mType); in writeToParcel()
78 mType = type; in CarRadioEvent()
83 mType = in.readInt(); in CarRadioEvent()
89 switch (mType) { in toString()
93 return mType + " " + data; in toString()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothPairingDialog.java65 private int mType; field in BluetoothPairingDialog
119 mType = intent.getIntExtra(BluetoothDevice.EXTRA_PAIRING_VARIANT, BluetoothDevice.ERROR); in onCreate()
121 switch (mType) { in onCreate()
152 if (mType == BluetoothDevice.PAIRING_VARIANT_DISPLAY_PASSKEY) { in onCreate()
232 switch (mType) { in createPinEntryView()
250 Log.e(TAG, "Incorrect pairing type for createPinEntryView: " + mType); in createPinEntryView()
303 switch (mType) { in createView()
365 if (mType == BluetoothDevice.PAIRING_VARIANT_DISPLAY_PASSKEY) { in createDisplayPasskeyOrPinDialog()
367 } else if (mType == BluetoothDevice.PAIRING_VARIANT_DISPLAY_PIN) { in createDisplayPasskeyOrPinDialog()
381 if (mType == BluetoothDevice.PAIRING_VARIANT_PIN_16_DIGITS) { in afterTextChanged()
[all …]
/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/accessibility/
DToggleDaltonizerPreferenceFragment.java37 private ListPreference mType; field in ToggleDaltonizerPreferenceFragment
50 mType = (ListPreference) findPreference("type"); in onCreate()
62 if (preference == mType) { in onPreferenceChange()
95 mType.setValue(value); in initPreferences()
96 mType.setOnPreferenceChangeListener(this); in initPreferences()
97 final int index = mType.findIndexOfValue(value); in initPreferences()
100 mType.setSummary(getString(R.string.daltonizer_type_overridden, in initPreferences()
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
DBuilderWrapper.java30 private int mType; field in BuilderWrapper
34 mType = type; in BuilderWrapper()
38 return mType; in getType()
41 public void setType(int mType) { in setType() argument
42 this.mType = mType; in setType()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/
DPinDialogFragment.java100 private int mType; field in PinDialogFragment
131 mType = getArguments().getInt(ARG_TYPE); in onCreate()
153 mType = PIN_DIALOG_TYPE_NEW_PIN; in onCreateView()
155 switch (mType) { in onCreateView()
170 mType = PIN_DIALOG_TYPE_OLD_PIN; in onCreateView()
185 if (mType != PIN_DIALOG_TYPE_NEW_PIN) { in onCreateView()
255 if (DEBUG) Log.d(TAG, "done: mType=" + mType + " pin=" + pin);
256 switch (mType) {
286 mType = PIN_DIALOG_TYPE_NEW_PIN;
297 return mType;
/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/TV/src/com/android/tv/dialog/
DPinDialogFragment.java96 private int mType; field in PinDialogFragment
112 mType = type; in PinDialogFragment()
168 mType = PIN_DIALOG_TYPE_NEW_PIN; in onCreateView()
170 switch (mType) { in onCreateView()
185 mType = PIN_DIALOG_TYPE_OLD_PIN; in onCreateView()
200 if (mType != PIN_DIALOG_TYPE_NEW_PIN) { in onCreateView()
268 if (DBG) Log.d(TAG, "done: mType=" + mType + " pin=" + pin + " stored=" + getPin());
269 switch (mType) {
306 mType = PIN_DIALOG_TYPE_NEW_PIN;
316 return mType;
/packages/apps/TV/src/com/android/tv/dvr/
DScheduledRecording.java96 private @RecordingType int mType; field in ScheduledRecording.Builder
125 mType = type; in setType()
150 return new ScheduledRecording(mId, mPriority, mChannelId, mProgramId, mType, mStartTime, in build()
163 .setStartTime(orig.mStartTimeMs).setState(orig.mState).setType(orig.mType); in buildFrom()
189 @RecordingType private final int mType; field in ScheduledRecording
267 mType = type; in ScheduledRecording()
280 return mType; in getType()
/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/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 …]
/packages/services/Car/bluetooth/bt-map-client-lib/src/com/google/android/auto/mapservice/
DBluetoothMapEventReport.java67 private int mType; field in BluetoothMapEventReport
96 out.writeInt(mType); in writeToParcel()
103 mType = in.readInt(); in readFromParcel()
107 mType = type; in setType()
111 return mType; in getType()
DBluetoothMapMessage.java38 private int mType; field in BluetoothMapMessage
83 mType = type; in setType()
87 return mType; in getType()
121 out.writeInt(mType); in writeToParcel()
143 mType = in.readInt(); in readFromParcel()
/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()

1234