/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/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
D | ImageFilterRS.java | 75 in.getType().getX(), in.getType().getY()); in apply() 97 in.getType().getX(), in.getType().getY()); in apply() 123 && ((getInPixelsAllocation().getType().getX() != mLastInputWidth) in apply() 124 || (getInPixelsAllocation().getType().getY() != mLastInputHeight))) { in apply() 132 mLastInputWidth = getInPixelsAllocation().getType().getX(); in apply() 133 mLastInputHeight = getInPixelsAllocation().getType().getY(); in apply() 169 if (bitmapTemp.getType().getElement().isCompatible(Element.A_8(RS))) { in convertRGBAtoA() 173 tb_a8.setX(bitmapTemp.getType().getX()); in convertRGBAtoA() 174 tb_a8.setY(bitmapTemp.getType().getY()); in convertRGBAtoA()
|
D | ImageFilterChanSat.java | 78 tb_float.setX(in.getType().getX()); in createFilter() 79 tb_float.setY(in.getType().getY()); in createFilter() 104 int width = getInPixelsAllocation().getType().getX(); in bindScriptValues() 105 int height = getInPixelsAllocation().getType().getY(); in bindScriptValues() 118 int width = getInPixelsAllocation().getType().getX(); in runFilter() 119 int height = getInPixelsAllocation().getType().getY(); in runFilter() 132 int width = in.getType().getX(); in runSelectiveAdjust() 133 int height = in.getType().getY(); in runSelectiveAdjust()
|
D | ImageFilterGrad.java | 88 tb_float.setX(in.getType().getX()); in createFilter() 89 tb_float.setY(in.getType().getY()); in createFilter() 114 int width = getInPixelsAllocation().getType().getX(); in bindScriptValues() 115 int height = getInPixelsAllocation().getType().getY(); in bindScriptValues() 127 int width = getInPixelsAllocation().getType().getX(); in runFilter() 128 int height = getInPixelsAllocation().getType().getY(); in runFilter() 161 int width = in.getType().getX(); in runSelectiveAdjust() 162 int height = in.getType().getY(); in runSelectiveAdjust()
|
D | ImageFilterVignette.java | 88 int w = getInPixelsAllocation().getType().getX(); in runFilter() 89 int h = getInPixelsAllocation().getType().getY(); in runFilter() 161 int width = getInPixelsAllocation().getType().getX(); in bindScriptValues() 162 int height = getInPixelsAllocation().getType().getY(); in bindScriptValues()
|
/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 | 82 when(mGravitySensor.getType()).thenReturn(Sensor.TYPE_GRAVITY); in setUp() 83 when(mProxSensor.getType()).thenReturn(Sensor.TYPE_PROXIMITY); in setUp() 165 if (sensor.getType() == Sensor.TYPE_GRAVITY) { in testDeviceOnEarCorrectlyDetected() 186 if (sensor.getType() == Sensor.TYPE_GRAVITY) { in testDeviceIsNotOnEarWithProxNotSensed() 206 if (sensor.getType() == Sensor.TYPE_GRAVITY) { in testDeviceIsNotOnEarWithWrongOrientation() 228 if (sensor.getType() == Sensor.TYPE_GRAVITY) { in testDeviceIsNotOnEarWithMissingSensor() 248 if (sensor.getType() == Sensor.TYPE_GRAVITY) { in testDeviceIsNotOnEarWithTimeout() 267 if (sensor.getType() == Sensor.TYPE_GRAVITY) { in testDeviceIsOnEarWithMultiSensorInputs() 289 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/Messaging/src/com/android/messaging/ui/conversationlist/ |
D | ShareIntentActivity.java | 63 convIntent.setDataAndType(intent.getData(), intent.getType()); in onCreate() 85 final String contentType = extractContentType(contentUri, intent.getType()); in onAttachFragment() 89 contentUri, intent.getType(), contentType)); in onAttachFragment() 111 + " (" + intent.getType() + ")"); in onAttachFragment() 114 final String contentType = intent.getType(); in onAttachFragment() 154 final String typeFromExtension = resolver.getType(uri); in extractContentType()
|
/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/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() 683 + message.getType()); in pushMessage() 685 if (message.getType().equals(TYPE.SMS_GSM) || message.getType().equals(TYPE.SMS_CDMA)) { in pushMessage() 695 Log.d(TAG, "Updated message type: " + message.getType()); in pushMessage() 707 if ((message.getType().equals(TYPE.EMAIL) && (folderElement.getFolderId() == -1)) || ( in pushMessage() 708 (message.getType().equals(TYPE.SMS_GSM) || message.getType() in pushMessage() 709 .equals(TYPE.SMS_CDMA) || message.getType().equals(TYPE.MMS)) in pushMessage() 728 String handleStr = BluetoothMapUtils.getMapHandle(handle, message.getType()); in pushMessage() [all …]
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
D | ConversationViewAdapter.java | 126 public @ConversationViewType int getType() { in getType() method in ConversationViewAdapter.ConversationHeaderItem 176 public @ConversationViewType int getType() { in getType() method in ConversationViewAdapter.ConversationFooterItem 266 public @ConversationViewType int getType() { in getType() method in ConversationViewAdapter.MessageHeaderItem 410 public @ConversationViewType int getType() { in getType() method in ConversationViewAdapter.MessageFooterItem 484 public @ConversationViewType int getType() { in getType() method in ConversationViewAdapter.SuperCollapsedBlockItem 584 return mItems.get(position).getType(); in getItemViewType() 727 LogUtils.e(LOG_TAG, "Last item is not a conversation footer. type: %s", item.getType()); in getFooterItem() 741 && mItems.get(position).getType() == VIEW_TYPE_SUPER_COLLAPSED_BLOCK; in isPreviousItemSuperCollapsed()
|
/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/apps/Email/tests/src/com/android/email/provider/ |
D | AttachmentProviderTests.java | 266 String type = mMockResolver.getType(attachment1Uri); in testGetType() 298 type = mMockResolver.getType(uri); in testGetType() 301 type = mMockResolver.getType(uri); in testGetType() 304 type = mMockResolver.getType(uri); in testGetType() 307 type = mMockResolver.getType(uri); in testGetType() 310 type = mMockResolver.getType(uri); in testGetType() 316 type = mMockResolver.getType(uri); in testGetType() 320 type = mMockResolver.getType(uri); in testGetType()
|
/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 | 70 lhs.getType() != TvTrackInfo.TYPE_AUDIO in createComparator() 73 rhs.getType() != TvTrackInfo.TYPE_AUDIO in createComparator() 124 if (track.getType() != TvTrackInfo.TYPE_AUDIO) { 208 int trackType = info.getType();
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
D | AccountTypeManager.java | 94 return input != null && input.getType().areContactsWritable(); in apply() 100 return input != null && input.getType().isGroupMembershipEditable(); in apply() 223 return input.getType().areContactsWritable() && in getWritableGoogleAccounts() 224 GoogleAccountType.ACCOUNT_TYPE.equals(input.getType().accountType); in getWritableGoogleAccounts() 310 return exists(account) && getAccountInfoForAccount(account).getType().areContactsWritable(); 707 final AccountType type = mTypeProvider.getType(
|
/packages/apps/Email/provider_src/com/android/email/ |
D | EmailConnectivityManager.java | 131 onConnectivityRestored(networkInfo.getType()); in onReceive() 133 onConnectivityLost(networkInfo.getType()); in onReceive() 165 return info.getType(); in getActiveNetworkType()
|