Home
last modified time | relevance | path

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

12345678910>>...16

/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/Gallery2/src/com/android/gallery3d/filtershow/filters/
DImageFilterRS.java75 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()
DImageFilterChanSat.java78 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()
DImageFilterGrad.java88 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()
DImageFilterVignette.java88 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/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/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/apps/Car/Overview/src/com/android/car/overview/
DStreamAdapter.java99 switch (card.getType()) { in getItemViewType()
134 if (card.getType() == StreamConstants.CARD_TYPE_MEDIA && !canAddMediaCard(card)) { in addCard()
176 if (existingCard.getType() == card.getType() && existingCard.getId() == card.getId()) { in removeCard()
192 if (existingCard.getType() == newCard.getType() in maybeReplaceCard()
218 if (streamCard.getType() == StreamConstants.CARD_TYPE_MEDIA) { in getExistingMediaCard()
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
DShareIntentActivity.java63 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/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/UnifiedEmail/src/com/android/mail/browse/
DConversationViewAdapter.java126 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/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapObexServer.java139 if (account.getType() == TYPE.EMAIL) { in BluetoothMapObexServer()
177 if (mAccount.getType() == TYPE.IM) in buildFolderStructure()
179 if( mAccount.getType() == TYPE.EMAIL) in buildFolderStructure()
613 if ((message.getType().equals(TYPE.EMAIL) && (folderElement.getFolderId() == -1)) in pushMessage()
614 || ((message.getType().equals(TYPE.SMS_GSM) || in pushMessage()
615 message.getType().equals(TYPE.SMS_CDMA) || in pushMessage()
616 message.getType().equals(TYPE.MMS)) in pushMessage()
629 String handleStr = BluetoothMapUtils.getMapHandle(handle, message.getType()); in pushMessage()
631 + message.getType()); in pushMessage()
727 if (mAccount != null && mAccount.getType() == BluetoothMapUtils.TYPE.IM) { in setOwnerStatus()
[all …]
DBluetoothMapContentObserver.java288 if (mAccount.getType() == TYPE.IM) { in BluetoothMapContentObserver()
987 if(mAccount.getType() == TYPE.IM) { in registerObserver()
1016 if(mAccount.getType() == TYPE.IM) { in registerObserver()
1691 mAccount.getType(), date, subject, address, priority); in handleMsgListChangesMsg()
1698 mAccount.getType(), date, subject, address, priority, in handleMsgListChangesMsg()
1735 null, mAccount.getType()); in handleMsgListChangesMsg()
1747 oldFolder, null, mAccount.getType()); in handleMsgListChangesMsg()
1753 oldFolder, mAccount.getType()); in handleMsgListChangesMsg()
1765 mAccount.getType()); in handleMsgListChangesMsg()
1798 mAccount.getType()); in handleMsgListChangesMsg()
[all …]
DBluetoothMapMasInstance.java316 if(mAccount.getType() == TYPE.EMAIL) { in createMasSdpRecord()
318 } else if(mAccount.getType() == TYPE.IM) { in createMasSdpRecord()
325 if(mAccount.getType() == TYPE.EMAIL) { in createMasSdpRecord()
327 } else if(mAccount.getType() == TYPE.IM) { in createMasSdpRecord()
/packages/apps/Nfc/src/com/android/nfc/handover/
DHandoverDataParser.java230 if (!Arrays.equals(handoverRequestRecord.getType(), NdefRecord.RTD_HANDOVER_REQUEST)) { in getIncomingHandoverData()
238 if (Arrays.equals(dataRecord.getType(), TYPE_BT_OOB)) { in getIncomingHandoverData()
318 Arrays.equals(oob.getType(), TYPE_BT_OOB)) { in parseBluetoothHandoverSelect()
327 Arrays.equals(oob.getType(), TYPE_BLE_OOB)) { in parseBluetoothHandoverSelect()
338 byte[] type = r.getType(); in parseBluetooth()
341 if (r.getTnf() == NdefRecord.TNF_MIME_MEDIA && Arrays.equals(r.getType(), TYPE_BT_OOB)) { in parseBluetooth()
346 if (r.getTnf() == NdefRecord.TNF_MIME_MEDIA && Arrays.equals(r.getType(), TYPE_BLE_OOB)) { in parseBluetooth()
/packages/apps/Email/tests/src/com/android/email/provider/
DAttachmentProviderTests.java266 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/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/Bluetooth/src/com/android/bluetooth/mapclient/
DMceStateMachine.java465 if (DBG) Log.d(TAG, "Message Type = " + ev.getType()); in processNotification()
467 switch (ev.getType()) { in processNotification()
477 notifySentMessageStatus(ev.getHandle(), ev.getType()); in processNotification()
503 switch (message.getType()) { in processInboundMessage()
537 Log.e(TAG, "Received unhandled type" + message.getType().toString()); in processInboundMessage()
610 if (DBG) Log.d(TAG, "Message Type = " + ev.getType()); in receiveEvent()
/packages/apps/Contacts/src/com/android/contacts/model/
DAccountTypeManager.java94 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/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DVoicemailProviderTest.java247 mResolver.getType(ContentUris.withAppendedId(Voicemails.CONTENT_URI, 100))); in testGetType_ItemUri()
252 assertEquals(Voicemails.ITEM_TYPE, mResolver.getType(uri)); in testGetType_ItemUri()
256 assertEquals(Voicemails.DIR_TYPE, mResolver.getType(Voicemails.CONTENT_URI)); in testGetType_DirUri()
257 assertEquals(Voicemails.DIR_TYPE, mResolver.getType(Voicemails.buildSourceUri("foo"))); in testGetType_DirUri()
680 assertEquals(Status.ITEM_TYPE, mResolver.getType(uri)); in testStatusGetType()
683 assertEquals(Status.DIR_TYPE, mResolver.getType(Status.CONTENT_URI)); in testStatusGetType()
684 assertEquals(Status.DIR_TYPE, mResolver.getType(Status.buildSourceUri("foo"))); in testStatusGetType()
/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/TvSettings/Settings/src/com/android/tv/settings/device/storage/
DFormatActivity.java123 if (volumeInfo != null && volumeInfo.getType() == VolumeInfo.TYPE_PRIVATE) { in onResume()
141 && (vol.getType() == VolumeInfo.TYPE_PRIVATE)) { in findVolume()
235 if ((volume.getType() == VolumeInfo.TYPE_PRIVATE || in onRequestFormatAsPrivate()
236 volume.getType() == VolumeInfo.TYPE_PUBLIC) && in onRequestFormatAsPrivate()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DStorageSettings.java144 switch(vol.getType()) { in isInteresting()
170 if (vol.getType() == VolumeInfo.TYPE_PRIVATE) { in refresh()
181 } else if (vol.getType() == VolumeInfo.TYPE_PUBLIC) { in refresh()
190 if (rec.getType() == VolumeInfo.TYPE_PRIVATE in refresh()
277 if (vol.getType() == VolumeInfo.TYPE_PRIVATE) { in onPreferenceTreeClick()
295 } else if (vol.getType() == VolumeInfo.TYPE_PUBLIC) { in onPreferenceTreeClick()
/packages/apps/Email/provider_src/com/android/email/
DEmailConnectivityManager.java131 onConnectivityRestored(networkInfo.getType()); in onReceive()
133 onConnectivityLost(networkInfo.getType()); in onReceive()
165 return info.getType(); in getActiveNetworkType()

12345678910>>...16