Home
last modified time | relevance | path

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

12345

/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/bip/
DBipEncoding.java77 private final int mType; field in BipEncoding
94 mType = determineEncoding(encoding.toUpperCase()); in BipEncoding()
97 if (mType == USR_XXX) { in BipEncoding()
103 if (mType == UNKNOWN) { in BipEncoding()
119 mType = encoding; in BipEncoding()
122 if (mType == USR_XXX) { in BipEncoding()
142 return mType; in getType()
162 return mType == BipEncoding.JPEG || mType == BipEncoding.PNG || mType == BipEncoding.BMP in isAndroidSupported()
163 || mType == BipEncoding.GIF; in isAndroidSupported()
190 if (mType == USR_XXX) return "USR-" + mProprietaryEncodingId; in toString()
[all …]
/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/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothPairingController.java57 private int mType; field in BluetoothPairingController
82 mType = intent.getIntExtra(BluetoothDevice.EXTRA_PAIRING_VARIANT, BluetoothDevice.ERROR); in BluetoothPairingController()
119 switch (mType) { in getDialogType()
184 boolean requires16Digits = mType == BluetoothDevice.PAIRING_VARIANT_PIN_16_DIGITS; in isPasskeyValid()
195 switch (mType) { in getDeviceVariantMessageId()
215 switch (mType) { in getDeviceVariantMessageHintId()
234 switch (mType) { in getDeviceMaxPasskeyLength()
254 switch (mType) { in pairingCodeIsAlphanumeric()
269 if (mType == BluetoothDevice.PAIRING_VARIANT_DISPLAY_PASSKEY) { in notifyDialogDisplayed()
271 } else if (mType == BluetoothDevice.PAIRING_VARIANT_DISPLAY_PIN) { in notifyDialogDisplayed()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/
DBluetoothPairingController.java59 int mType; field in BluetoothPairingController
85 mType = intent.getIntExtra(BluetoothDevice.EXTRA_PAIRING_VARIANT, BluetoothDevice.ERROR); in BluetoothPairingController()
128 switch (mType) { in getDialogType()
209 boolean requires16Digits = mType == BluetoothDevice.PAIRING_VARIANT_PIN_16_DIGITS; in isPasskeyValid()
220 switch (mType) { in getDeviceVariantMessageId()
240 switch (mType) { in getDeviceVariantMessageHintId()
259 switch (mType) { in getDeviceMaxPasskeyLength()
279 switch (mType) { in pairingCodeIsAlphanumeric()
294 if (mType == BluetoothDevice.PAIRING_VARIANT_DISPLAY_PASSKEY) { in notifyDialogDisplayed()
296 } else if (mType == BluetoothDevice.PAIRING_VARIANT_DISPLAY_PIN) { in notifyDialogDisplayed()
[all …]
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothPairingController.java59 int mType; field in BluetoothPairingController
85 mType = intent.getIntExtra(BluetoothDevice.EXTRA_PAIRING_VARIANT, BluetoothDevice.ERROR); in BluetoothPairingController()
128 switch (mType) { in getDialogType()
209 boolean requires16Digits = mType == BluetoothDevice.PAIRING_VARIANT_PIN_16_DIGITS; in isPasskeyValid()
220 switch (mType) { in getDeviceVariantMessageId()
240 switch (mType) { in getDeviceVariantMessageHintId()
259 switch (mType) { in getDeviceMaxPasskeyLength()
279 switch (mType) { in pairingCodeIsAlphanumeric()
294 if (mType == BluetoothDevice.PAIRING_VARIANT_DISPLAY_PASSKEY) { in notifyDialogDisplayed()
296 } else if (mType == BluetoothDevice.PAIRING_VARIANT_DISPLAY_PIN) { in notifyDialogDisplayed()
[all …]
/packages/apps/Contacts/src/com/android/contacts/editor/
DLabeledEditorView.java84 private EditType mType; field in LabeledEditorView
288 return mType; in getType()
303 mEntry.getAsString(mType.customColumn), in rebuildLabel()
306 if (mType != null && mType.labelRes > 0 && mKind.titleRes > 0) { in rebuildLabel()
307 mLabel.setSelection(mEditTypeAdapter.getPosition(mType)); in rebuildLabel()
310 getContext().getString(mType.labelRes), in rebuildLabel()
426 mType = RawContactModifier.getCurrentType(entry, kind); in setValues()
461 mType = null; in createCustomDialog()
464 mType = editType; in createCustomDialog()
468 if (mType == null) return; in createCustomDialog()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DBluetoothPairingDialog.java72 private int mType; field in BluetoothPairingDialog
123 mType = intent.getIntExtra(BluetoothDevice.EXTRA_PAIRING_VARIANT, BluetoothDevice.ERROR); in onCreate()
126 Log.d(TAG, "Requested pairing Type = " + mType + " , Device = " + mDevice); in onCreate()
129 switch (mType) { in onCreate()
162 if (mType == BluetoothDevice.PAIRING_VARIANT_DISPLAY_PASSKEY) { in onCreate()
241 switch (mType) { in getActions()
280 .replace(android.R.id.content, EntryDialogFragment.newInstance(mDevice, mType)) in createUserEntryDialog()
291 ConfirmationDialogFragment.newInstance(mDevice, mPairingKey, mType); in createConfirmationDialog()
300 switch (mType) { in onPair()
346 private int mType; field in BluetoothPairingDialog.EntryDialogFragment
[all …]
/packages/services/Car/car-lib/src/android/car/vms/
DVmsLayer.java44 private int mType; field in VmsLayer
56 mType = type; in VmsLayer()
65 return mType; in getType()
88 return Objects.equals(p.mType, mType) in equals()
95 return Objects.hash(mType, mSubtype, mVersion); in hashCode()
100 return "VmsLayer{ Type: " + mType + ", Sub type: " + mSubtype + ", Version: " + mVersion in toString()
117 out.writeInt(mType); in writeToParcel()
132 mType = in.readInt(); in readFromParcel()
/packages/services/Car/car-lib/src/android/car/hardware/
DCarSensorConfig.java48 private final int mType; field in CarSensorConfig
52 mType = in.readInt(); in CarSensorConfig()
65 dest.writeInt(mType); in writeToParcel()
83 mType = type; in CarSensorConfig()
88 if (mType == type) { in checkType()
92 "Invalid sensor type: expected %d, got %d", type, mType)); in checkType()
105 throw new IllegalArgumentException("SensorType " + mType + in getInt()
112 return mType; in getType()
120 sb.append("mType: " + mType); in toString()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapAccountItem.java38 private final BluetoothMapUtils.TYPE mType; field in BluetoothMapAccountItem
51 this.mType = appType; in BluetoothMapAccountItem()
131 if (!other.mType.equals(this.mType)) { in compareTo()
133 Log.d(TAG, "Wrong appType : " + this.mType + " vs " + other.mType); in compareTo()
192 if (mType == null) { in equals()
193 if (other.mType != null) { in equals()
196 } else if (!mType.equals(other.mType)) { in equals()
228 return mType; in getType()
/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/Settings/src/com/android/settings/fuelgauge/batterytip/tips/
DBatteryTip.java89 protected int mType; field in BatteryTip
98 mType = in.readInt(); in BatteryTip()
105 mType = type; in BatteryTip()
118 dest.writeInt(mType); in writeToParcel()
176 return KEY_PREFIX + mType; in getKey()
180 return mType; in getType()
194 return TIP_ORDER.get(mType) - TIP_ORDER.get(o.mType); in compareTo()
199 return "type=" + mType + " state=" + mState; in toString()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterytip/tips/
DBatteryTip.java89 protected int mType; field in BatteryTip
98 mType = in.readInt(); in BatteryTip()
105 mType = type; in BatteryTip()
118 dest.writeInt(mType); in writeToParcel()
176 return KEY_PREFIX + mType; in getKey()
180 return mType; in getType()
194 return TIP_ORDER.get(mType) - TIP_ORDER.get(o.mType); in compareTo()
199 return "type=" + mType + " state=" + mState; in toString()
/packages/services/Car/car-lib/src/android/car/navigation/
DCarNavigationInstrumentCluster.java50 private final int mType; field in CarNavigationInstrumentCluster
94 return mType; in getType()
122 that.mType, in CarNavigationInstrumentCluster()
133 return mType == CLUSTER_TYPE_CUSTOM_IMAGES_SUPPORTED; in supportsCustomImages()
143 mType = type; in CarNavigationInstrumentCluster()
158 dest.writeInt(mType); in writeToParcel()
167 mType = in.readInt(); in CarNavigationInstrumentCluster()
179 "type: " + mType + ", " + in toString()
/packages/apps/Contacts/src/com/android/contacts/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/Dialer/java/com/android/contacts/common/model/
DBuilderWrapper.java31 private int mType; field in BuilderWrapper
35 mType = type; in BuilderWrapper()
39 return mType; in getType()
42 public void setType(int mType) { in setType() argument
43 this.mType = mType; in setType()
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/
DEventReport.java40 private final Type mType; field in EventReport
47 mType = parseType(attrs.get("type")); in EventReport()
49 if (mType != Type.MEMORY_FULL && mType != Type.MEMORY_AVAILABLE) { in EventReport()
67 if (mType != Type.MEMORY_FULL && mType != Type.MEMORY_AVAILABLE) { in EventReport()
148 return mType; in getType()
188 json.put("type", mType); in toString()
/packages/apps/TV/src/com/android/tv/dialog/
DPinDialogFragment.java79 private int mType; field in PinDialogFragment
122 mType = mRequestType; in onCreate()
181 mType = PIN_DIALOG_TYPE_NEW_PIN; in onCreateView()
183 switch (mType) { in onCreateView()
212 mType = PIN_DIALOG_TYPE_OLD_PIN; in onCreateView()
216 if (mType != PIN_DIALOG_TYPE_NEW_PIN) { in onCreateView()
289 if (DEBUG) Log.d(TAG, "done: mType=" + mType + " pin=" + pin + " stored=" + getPin());
290 switch (mType) {
327 mType = PIN_DIALOG_TYPE_NEW_PIN;
337 return mType;
/packages/providers/MediaProvider/src/com/android/providers/media/
DRingtonePickerActivity.java83 private int mType; field in RingtonePickerActivity
188 mType = intent.getIntExtra(RingtoneManager.EXTRA_RINGTONE_TYPE, -1); in onCreate()
198 if (mType == RingtoneManager.TYPE_NOTIFICATION) { in onCreate()
200 } else if (mType == RingtoneManager.TYPE_ALARM) { in onCreate()
202 } else if (mType == RingtoneManager.TYPE_RINGTONE) { in onCreate()
249 if (mType == RingtoneManager.TYPE_ALARM) { in onCreate()
251 } else if (mType == RingtoneManager.TYPE_NOTIFICATION) { in onCreate()
277 return mRingtoneManager.addCustomExternalRingtone(params[0], mType); in onActivityResult()
428 if (mType == RingtoneManager.TYPE_NOTIFICATION) { in addDefaultRingtoneItem()
430 } else if (mType == RingtoneManager.TYPE_ALARM) { in addDefaultRingtoneItem()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/
DToggleDaltonizerPreferenceFragment.java47 private ListPreference mType; field in ToggleDaltonizerPreferenceFragment
63 mType = (ListPreference) findPreference("type"); in onCreate()
84 if (preference == mType) { in onPreferenceChange()
116 mType.setValue(value); in initPreferences()
117 mType.setOnPreferenceChangeListener(this); in initPreferences()
118 final int index = mType.findIndexOfValue(value); in initPreferences()
121 mType.setSummary(getString(R.string.daltonizer_type_overridden, in initPreferences()
/packages/apps/Settings/src/com/android/settings/accessibility/
DToggleDaltonizerPreferenceFragment.java47 private ListPreference mType; field in ToggleDaltonizerPreferenceFragment
63 mType = (ListPreference) findPreference("type"); in onCreate()
84 if (preference == mType) { in onPreferenceChange()
116 mType.setValue(value); in initPreferences()
117 mType.setOnPreferenceChangeListener(this); in initPreferences()
118 final int index = mType.findIndexOfValue(value); in initPreferences()
121 mType.setSummary(getString(R.string.daltonizer_type_overridden, in initPreferences()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetCallState.java44 int mType; field in HeadsetCallState
56 mType = type; in HeadsetCallState()
78 builder.append(", type=").append(mType).append(", name="); in buildString()
98 && mType == that.mType && Objects.equals(mName, that.mName); in equals()
103 return Objects.hash(mNumActive, mNumHeld, mCallState, mNumber, mType, mName); in hashCode()
/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/Contacts/src/com/android/contacts/model/account/
DAccountDisplayInfo.java33 private final CharSequence mType; field in AccountDisplayInfo
42 mType = type; in AccountDisplayInfo()
56 return mType; in getTypeLabel()
76 return !TextUtils.equals(mName, mType); in hasDistinctName()
80 return withNameAndType(name, mType); in withName()
94 context.getString(typeFormat, mType), mIcon, mIsDeviceAccount); in formatted()
/packages/apps/TV/src/com/android/tv/data/
DPreviewProgramContent.java40 private int mType; field in PreviewProgramContent
119 mType = other.mType; in copyFrom()
143 return mType; in getType()
184 && previewProgramContent.mType == mType in equals()
198 mType, in hashCode()
225 mPreviewProgramContent.mType = type; in setType()

12345