Home
last modified time | relevance | path

Searched refs:getType (Results 1 – 25 of 476) sorted by relevance

12345678910>>...20

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
DCachingPipeline.java141 private String getType(RenderingRequest request) { in getType() method in CachingPipeline
142 if (request.getType() == RenderingRequest.ICON_RENDERING) { in getType()
145 if (request.getType() == RenderingRequest.FILTERS_RENDERING) { in getType()
148 if (request.getType() == RenderingRequest.FULL_RENDERING) { in getType()
151 if (request.getType() == RenderingRequest.GEOMETRY_RENDERING) { in getType()
154 if (request.getType() == RenderingRequest.PARTIAL_RENDERING) { in getType()
157 if (request.getType() == RenderingRequest.HIGHRES_RENDERING) { in getType()
290 if ((request.getType() != RenderingRequest.PARTIAL_RENDERING in render()
291 && request.getType() != RenderingRequest.ICON_RENDERING in render()
298 Log.v(LOGTAG, "render image of type " + getType(request)); in render()
[all …]
DProcessingTask.java38 if (mProcessingHandler.hasMessages(getType())) { in postRequest()
43 if (mProcessingHandler.hasMessages(getType())) { in postRequest()
44 mProcessingHandler.removeMessages(getType()); in postRequest()
75 public int getType() { in getType() method in ProcessingTask
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/bip/
DBipImageFormatTest.java34 Assert.assertEquals(BipImageFormat.FORMAT_NATIVE, format.getType()); in testParseNative_requiredOnly()
47 Assert.assertEquals(BipImageFormat.FORMAT_NATIVE, format.getType()); in testParseNative_withSize()
60 Assert.assertEquals(BipImageFormat.FORMAT_VARIANT, format.getType()); in testParseVariant_requiredOnly()
73 Assert.assertEquals(BipImageFormat.FORMAT_VARIANT, format.getType()); in testParseVariant_withMaxSize()
118 Assert.assertEquals(BipImageFormat.FORMAT_VARIANT, format.getType()); in testParseVariant_allFields()
127 Assert.assertEquals(BipImageFormat.FORMAT_VARIANT, format.getType()); in testParseVariant_allFields()
136 Assert.assertEquals(BipImageFormat.FORMAT_VARIANT, format.getType()); in testParseVariant_allFields()
150 Assert.assertEquals(BipImageFormat.FORMAT_NATIVE, format.getType()); in testCreateNative_requiredOnly()
164 Assert.assertEquals(BipImageFormat.FORMAT_NATIVE, format.getType()); in testCreateNative_withSize()
178 Assert.assertEquals(BipImageFormat.FORMAT_VARIANT, format.getType()); in testCreateVariant_requiredOnly()
[all …]
DBipEncodingTest.java34 Assert.assertEquals(encodingType, encoding.getType()); in testParse()
99 Assert.assertEquals(encodingType, encoding.getType()); in testCreateBasicEncoding()
107 Assert.assertEquals(BipEncoding.USR_XXX, encoding.getType()); in testCreateProprietaryEncoding()
116 Assert.assertEquals(BipEncoding.USR_XXX, encoding.getType()); in testCreateProprietaryEncoding_emptyId()
DBipPixelTest.java34 Assert.assertEquals(pixelType, pixel.getType()); in testParse()
44 Assert.assertEquals(BipPixel.TYPE_FIXED, pixel.getType()); in testFixed()
55 Assert.assertEquals(BipPixel.TYPE_RESIZE_MODIFIED_ASPECT_RATIO, pixel.getType()); in testResizableModified()
67 Assert.assertEquals(BipPixel.TYPE_RESIZE_FIXED_ASPECT_RATIO, pixel.getType()); in testResizableFixed()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
DCategoryView.java76 if (mAction.getType() == Action.CROP_VIEW) { in isHalfImage()
79 if (mAction.getType() == Action.ADD_ACTION) { in isHalfImage()
102 if (mAction != null && mAction.getType() == Action.ADD_ACTION) { in needsCenterText()
110 if (mAction.getType() == Action.SPACER) { in onDraw()
136 if (mAction.getType() == Action.ADD_ACTION) { in setAction()
150 if (mAction.getType() == Action.ADD_ACTION) { in onClick()
152 } else if (mAction.getType() != Action.SPACER) { in onClick()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DSystemStateHelperTest.java84 when(mGravitySensor.getType()).thenReturn(Sensor.TYPE_GRAVITY); in setUp()
85 when(mProxSensor.getType()).thenReturn(Sensor.TYPE_PROXIMITY); in setUp()
169 if (sensor.getType() == Sensor.TYPE_GRAVITY) { in testDeviceOnEarCorrectlyDetected()
190 if (sensor.getType() == Sensor.TYPE_GRAVITY) { in testDeviceIsNotOnEarWithProxNotSensed()
210 if (sensor.getType() == Sensor.TYPE_GRAVITY) { in testDeviceIsNotOnEarWithWrongOrientation()
232 if (sensor.getType() == Sensor.TYPE_GRAVITY) { in testDeviceIsNotOnEarWithMissingSensor()
252 if (sensor.getType() == Sensor.TYPE_GRAVITY) { in testDeviceIsNotOnEarWithTimeout()
271 if (sensor.getType() == Sensor.TYPE_GRAVITY) { in testDeviceIsOnEarWithMultiSensorInputs()
293 when(mockSensor.getType()).thenReturn(sensorType); in makeSensorEvent()
/packages/apps/Car/libs/car-broadcastradio-support/src/com/android/car/broadcastradio/support/platform/
DProgramSelectorExt.java112 int idType = primaryId.getType(); in identifierToProgramType()
247 int priType = sel.getPrimaryId().getType(); in isAmFmProgram()
278 if (sel.getPrimaryId().getType() == ProgramSelector.IDENTIFIER_TYPE_SXM_SERVICE_ID in getDisplayName()
285 switch (sel.getPrimaryId().getType()) { in getDisplayName()
346 switch (id.getType()) { in valueToUri()
378 String priType = typeToUri(pri.getType()); in toUri()
389 String secType = typeToUri(sec.getType()); in toUri()
451 if (id.getType() == ProgramSelector.IDENTIFIER_TYPE_HD_STATION_ID_EXT) { in asHdPrimary()
/packages/apps/Contacts/tests/src/com/android/contacts/model/
DRawContactModifierTests.java202 final EditType typeHome = RawContactModifier.getType(kindPhone, Phone.TYPE_HOME); in testValidTypes()
203 final EditType typeWork = RawContactModifier.getType(kindPhone, Phone.TYPE_WORK); in testValidTypes()
204 final EditType typeOther = RawContactModifier.getType(kindPhone, Phone.TYPE_OTHER); in testValidTypes()
247 final EditType typeHome = RawContactModifier.getType(kindPhone, Phone.TYPE_HOME); in testValidTypesWhenUpdating()
248 final EditType typeWork = RawContactModifier.getType(kindPhone, Phone.TYPE_WORK); in testValidTypesWhenUpdating()
249 final EditType typeOther = RawContactModifier.getType(kindPhone, Phone.TYPE_OTHER); in testValidTypesWhenUpdating()
284 final EditType typeHome = RawContactModifier.getType(kindPhone, Phone.TYPE_HOME); in testCanInsert()
285 final EditType typeWork = RawContactModifier.getType(kindPhone, Phone.TYPE_WORK); in testCanInsert()
286 final EditType typeOther = RawContactModifier.getType(kindPhone, Phone.TYPE_OTHER); in testCanInsert()
313 final EditType typeHome = RawContactModifier.getType(kindPhone, Phone.TYPE_HOME); in testBestValidType()
[all …]
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DStorageSettings.java144 switch (vol.getType()) { in isInteresting()
172 if (vol.getType() == VolumeInfo.TYPE_PRIVATE) { in refresh()
183 } else if (vol.getType() == VolumeInfo.TYPE_PUBLIC in refresh()
184 || vol.getType() == VolumeInfo.TYPE_STUB) { in refresh()
193 if (rec.getType() == VolumeInfo.TYPE_PRIVATE in refresh()
280 if (vol.getType() == VolumeInfo.TYPE_PRIVATE) { in onPreferenceTreeClick()
306 } else if (vol.getType() == VolumeInfo.TYPE_PUBLIC) { in onPreferenceTreeClick()
308 } else if (vol.getType() == VolumeInfo.TYPE_STUB) { in onPreferenceTreeClick()
664 if (vol.getType() == VolumeInfo.TYPE_PUBLIC
665 || vol.getType() == VolumeInfo.TYPE_STUB) {
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/bip/
DBipImageFormat.java146 public int getType() { in getType() method in BipImageFormat
176 return f.getType() == getType() in equals()
186 if (mEncoding == null || mEncoding.getType() == BipEncoding.UNKNOWN || mPixel == null in toString()
187 || mPixel.getType() == BipPixel.TYPE_UNKNOWN) { in toString()
DBipEncoding.java141 public int getType() { in getType() method in BipEncoding
184 return e.getType() == getType() in equals()
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
DShareIntentActivity.java70 convIntent.setDataAndType(intent.getData(), intent.getType()); in onCreate()
92 final String contentType = extractContentType(contentUri, intent.getType()); in onAttachFragment()
96 contentUri, intent.getType(), contentType)); in onAttachFragment()
116 + ": " + contentType + " (" + intent.getType() + ")"); in onAttachFragment()
120 final String contentType = intent.getType(); in onAttachFragment()
212 final String typeFromExtension = resolver.getType(uri); in extractContentType()
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/legal/
DModuleLicenseProviderTest.java87 provider.getType(new Uri.Builder() in getType_notContentScheme_throwsIllegalArgumentException()
98 provider.getType(new Uri.Builder() in getType_invalidAuthority_throwsIllegalArgumentException()
109 provider.getType(new Uri.Builder() in getType_emptyPath_throwsIllegalArgumentException()
118 provider.getType(new Uri.Builder() in getType_missingPackageName_throwsIllegalArgumentException()
128 provider.getType(new Uri.Builder() in getType_missingFileName_throwsIllegalArgumentException()
138 provider.getType(new Uri.Builder() in getType_incorrectFileName_throwsIllegalArgumentException()
157 provider.getType(new Uri.Builder() in getType_packageNotAModule_throwsIllegalArgumentException()
176 assertThat(provider.getType(new Uri.Builder() in getType_validUri_returnsHtmlMimeType()
/packages/apps/Contacts/src/com/android/contacts/editor/
DEventFieldEditorView.java155 protected EventEditType getType() { in getType() method in EventFieldEditorView
156 return (EventEditType) super.getType(); in getType()
170 final boolean isYearOptional = getType() != null && getType().isYearOptional(); in onLabelRebuilt()
206 final boolean isYearOptional = getType().isYearOptional(); in createDatePickerDialog()
289 final EventEditType eventType = getType(); in isBirthdayType()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapObexServer.java150 if (account.getType() == TYPE.EMAIL) { in BluetoothMapObexServer()
191 if (mAccount.getType() == TYPE.IM) { in buildFolderStructure()
194 if (mAccount.getType() == TYPE.EMAIL) { in buildFolderStructure()
688 + message.getType()); in pushMessage()
690 if (message.getType().equals(TYPE.SMS_GSM) || message.getType().equals(TYPE.SMS_CDMA)) { in pushMessage()
700 Log.d(TAG, "Updated message type: " + message.getType()); in pushMessage()
712 if ((message.getType().equals(TYPE.EMAIL) && (folderElement.getFolderId() == -1)) || ( in pushMessage()
713 (message.getType().equals(TYPE.SMS_GSM) || message.getType() in pushMessage()
714 .equals(TYPE.SMS_CDMA) || message.getType().equals(TYPE.MMS)) in pushMessage()
733 String handleStr = BluetoothMapUtils.getMapHandle(handle, message.getType()); in pushMessage()
[all …]
/packages/apps/Settings/src/com/android/settings/accounts/
DChooseAccountPreferenceController.java172 context, mProviderList.get(0).getType(), mUserHandle.getIdentifier()); in onAuthDescriptionsUpdated()
179 finishWithAccountType(mProviderList.get(0).getType()); in onAuthDescriptionsUpdated()
184 final Drawable drawable = getDrawableForType(pref.getType()); in onAuthDescriptionsUpdated()
186 pref.getType(), drawable, pref.getName()); in onAuthDescriptionsUpdated()
187 p.setKey(pref.getType().toString()); in onAuthDescriptionsUpdated()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accounts/
DChooseAccountPreferenceController.java172 context, mProviderList.get(0).getType(), mUserHandle.getIdentifier()); in onAuthDescriptionsUpdated()
179 finishWithAccountType(mProviderList.get(0).getType()); in onAuthDescriptionsUpdated()
184 final Drawable drawable = getDrawableForType(pref.getType()); in onAuthDescriptionsUpdated()
186 pref.getType(), drawable, pref.getName()); in onAuthDescriptionsUpdated()
187 p.setKey(pref.getType().toString()); in onAuthDescriptionsUpdated()
/packages/apps/Contacts/src/com/android/contacts/compat/
DCompatUtils.java50 return (cpoWrapper.getType() == TYPE_INSERT); in isInsertCompat()
60 return (cpoWrapper.getType() == TYPE_UPDATE); in isUpdateCompat()
70 return (cpoWrapper.getType() == TYPE_DELETE); in isDeleteCompat()
79 return (cpoWrapper.getType() == TYPE_ASSERT); in isAssertQueryCompat()
/packages/apps/Nfc/src/com/android/nfc/handover/
DHandoverDataParser.java235 if (!Arrays.equals(handoverRequestRecord.getType(), NdefRecord.RTD_HANDOVER_REQUEST)) { in getIncomingHandoverData()
243 if (Arrays.equals(dataRecord.getType(), TYPE_BT_OOB)) { in getIncomingHandoverData()
323 Arrays.equals(oob.getType(), TYPE_BT_OOB)) { in parseBluetoothHandoverSelect()
332 Arrays.equals(oob.getType(), TYPE_BLE_OOB)) { in parseBluetoothHandoverSelect()
343 byte[] type = r.getType(); in parseBluetooth()
346 if (r.getTnf() == NdefRecord.TNF_MIME_MEDIA && Arrays.equals(r.getType(), TYPE_BT_OOB)) { in parseBluetooth()
351 if (r.getTnf() == NdefRecord.TNF_MIME_MEDIA && Arrays.equals(r.getType(), TYPE_BLE_OOB)) { in parseBluetooth()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/
DStorageSettings.java134 switch (vol.getType()) { in isInteresting()
162 if (vol.getType() == VolumeInfo.TYPE_PRIVATE) { in refresh()
173 } else if (vol.getType() == VolumeInfo.TYPE_PUBLIC in refresh()
174 || vol.getType() == VolumeInfo.TYPE_STUB) { in refresh()
183 if (rec.getType() == VolumeInfo.TYPE_PRIVATE in refresh()
270 if (vol.getType() == VolumeInfo.TYPE_PRIVATE) { in onPreferenceTreeClick()
296 } else if (vol.getType() == VolumeInfo.TYPE_PUBLIC) { in onPreferenceTreeClick()
298 } else if (vol.getType() == VolumeInfo.TYPE_STUB) { in onPreferenceTreeClick()
/packages/apps/TV/src/com/android/tv/util/
DTvTrackInfoUtils.java89 lhs.getType() != TvTrackInfo.TYPE_AUDIO in createComparator()
92 rhs.getType() != TvTrackInfo.TYPE_AUDIO in createComparator()
155 if (track.getType() != TvTrackInfo.TYPE_AUDIO) {
235 int trackType = info.getType();
/packages/services/Car/tests/CarLibTests/src/android/car/
DCarNavigationStatusManagerTest.java69 assertThat(mCarNavigationStatusManager.getInstrumentClusterInfo().getType()).isEqualTo( in getInstrumentClusterInfo_returnsImageCodeCluster()
80 assertThat(instrumentCluster.getType()) in setImageCodeClusterInfo_returnsImageCodeCluster()
96 assertThat(instrumentCluster.getType()) in setCustomImageClusterInfo_returnsCustomImageCluster()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DGalleryActivity.java88 String type = Utils.ensureNotNull(intent.getType()); in initializeByIntent()
127 String type = intent.getType(); in getContentType()
135 return getContentResolver().getType(uri); in getContentType()
147 Path path = manager.findPathByUri(intent.getData(), intent.getType()); in startViewAction()
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/
DMceStateMachine.java586 Log.d(TAG, "Message Type = " + ev.getType() in processNotification()
589 switch (ev.getType()) { in processNotification()
606 notifySentMessageStatus(ev.getHandle(), ev.getType()); in processNotification()
681 switch (message.getType()) { in processInboundMessage()
725 if (message.getType() == Bmessage.Type.MMS) { in processInboundMessage()
745 Log.e(TAG, "Received unhandled type" + message.getType().toString()); in processInboundMessage()
861 Log.d(TAG, "Message Type = " + ev.getType() in receiveEvent()

12345678910>>...20