/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/ |
D | CachingPipeline.java | 141 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 …]
|
D | ProcessingTask.java | 38 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/ |
D | BipImageFormatTest.java | 34 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 …]
|
D | BipEncodingTest.java | 34 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()
|
D | BipPixelTest.java | 34 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/ |
D | CategoryView.java | 76 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/ |
D | SystemStateHelperTest.java | 84 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/Contacts/tests/src/com/android/contacts/model/ |
D | RawContactModifierTests.java | 202 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/Car/libs/car-broadcastradio-support/src/com/android/car/broadcastradio/support/platform/ |
D | ProgramSelectorExt.java | 112 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/Bluetooth/src/com/android/bluetooth/avrcpcontroller/bip/ |
D | BipImageFormat.java | 146 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()
|
D | BipEncoding.java | 141 public int getType() { in getType() method in BipEncoding 184 return e.getType() == getType() in equals()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/legal/ |
D | ModuleLicenseProviderTest.java | 87 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/ |
D | EventFieldEditorView.java | 155 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/Messaging/src/com/android/messaging/ui/conversationlist/ |
D | ShareIntentActivity.java | 70 convIntent.setDataAndType(intent.getData(), intent.getType()); in onCreate() 98 final String contentType = extractContentType(contentUri, intent.getType()); in onAttachFragment() 102 contentUri, intent.getType(), contentType)); in onAttachFragment() 125 + ": " + contentType + " (" + intent.getType() + ")"); in onAttachFragment() 129 final String contentType = intent.getType(); in onAttachFragment() 222 final String typeFromExtension = resolver.getType(uri); in extractContentType()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | InCallController.java | 143 public int getType() { in getType() method in InCallController.InCallServiceInfo 330 if (mIsNullBinding && mInCallServiceInfo.getType() != IN_CALL_SERVICE_TYPE_NON_UI) { in disconnect() 339 mInCallServiceInfo.getType(), in disconnect() 1002 info.getType() == IN_CALL_SERVICE_TYPE_SYSTEM_UI || in onCallAdded() 1003 info.getType() == IN_CALL_SERVICE_TYPE_NON_UI); in onCallAdded() 1067 info.getType() == IN_CALL_SERVICE_TYPE_SYSTEM_UI || in onExternalCallChanged() 1068 info.getType() == IN_CALL_SERVICE_TYPE_NON_UI); in onExternalCallChanged() 1098 info.getType() == IN_CALL_SERVICE_TYPE_SYSTEM_UI || in onExternalCallChanged() 1099 info.getType() == IN_CALL_SERVICE_TYPE_NON_UI in onExternalCallChanged() 1618 info.getType() == IN_CALL_SERVICE_TYPE_SYSTEM_UI || in onConnected() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapObexServer.java | 150 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/ |
D | ChooseAccountPreferenceController.java | 172 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/ |
D | ChooseAccountPreferenceController.java | 172 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/ |
D | CompatUtils.java | 50 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/ |
D | HandoverDataParser.java | 235 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/apps/Settings/src/com/android/settings/deviceinfo/ |
D | StorageSettings.java | 134 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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/ |
D | StorageSettings.java | 134 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/ |
D | TvTrackInfoUtils.java | 89 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/apps/Gallery2/src/com/android/gallery3d/app/ |
D | GalleryActivity.java | 88 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/Contacts/src/com/android/contacts/model/ |
D | AccountTypeManager.java | 95 return input != null && input.getType().areContactsWritable(); in apply() 101 return input != null && input.getType().isGroupMembershipEditable(); in apply() 224 return input.getType().areContactsWritable() && in getWritableGoogleAccounts() 225 GoogleAccountType.ACCOUNT_TYPE.equals(input.getType().accountType); in getWritableGoogleAccounts() 311 return exists(account) && getAccountInfoForAccount(account).getType().areContactsWritable(); 710 final AccountType type = mTypeProvider.getType(
|