Home
last modified time | relevance | path

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

1234567891011

/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/ContactsCommon/tests/src/com/android/contacts/common/
DRawContactDeltaTests.java156 final int type = builder.build().getType(); in testValuesDiffDelete()
194 assertEquals("Expected version enforcement", TYPE_ASSERT, oper.getType()); in testEntityDiffNoneInsert()
198 assertEquals("Expected aggregation mode change", TYPE_UPDATE, oper.getType()); in testEntityDiffNoneInsert()
203 assertEquals("Incorrect type", TYPE_INSERT, oper.getType()); in testEntityDiffNoneInsert()
208 assertEquals("Expected aggregation mode change", TYPE_UPDATE, oper.getType()); in testEntityDiffNoneInsert()
234 assertEquals("Expected version enforcement", TYPE_ASSERT, oper.getType()); in testEntityDiffUpdateInsert()
238 assertEquals("Expected aggregation mode change", TYPE_UPDATE, oper.getType()); in testEntityDiffUpdateInsert()
243 assertEquals("Incorrect type", TYPE_UPDATE, oper.getType()); in testEntityDiffUpdateInsert()
248 assertEquals("Incorrect type", TYPE_INSERT, oper.getType()); in testEntityDiffUpdateInsert()
253 assertEquals("Expected aggregation mode change", TYPE_UPDATE, oper.getType()); in testEntityDiffUpdateInsert()
[all …]
DRawContactModifierTests.java209 final EditType typeHome = RawContactModifier.getType(kindPhone, Phone.TYPE_HOME); in testValidTypes()
210 final EditType typeWork = RawContactModifier.getType(kindPhone, Phone.TYPE_WORK); in testValidTypes()
211 final EditType typeOther = RawContactModifier.getType(kindPhone, Phone.TYPE_OTHER); in testValidTypes()
254 final EditType typeHome = RawContactModifier.getType(kindPhone, Phone.TYPE_HOME); in testCanInsert()
255 final EditType typeWork = RawContactModifier.getType(kindPhone, Phone.TYPE_WORK); in testCanInsert()
256 final EditType typeOther = RawContactModifier.getType(kindPhone, Phone.TYPE_OTHER); in testCanInsert()
283 final EditType typeHome = RawContactModifier.getType(kindPhone, Phone.TYPE_HOME); in testBestValidType()
284 final EditType typeWork = RawContactModifier.getType(kindPhone, Phone.TYPE_WORK); in testBestValidType()
285 final EditType typeFaxWork = RawContactModifier.getType(kindPhone, Phone.TYPE_FAX_WORK); in testBestValidType()
286 final EditType typeOther = RawContactModifier.getType(kindPhone, Phone.TYPE_OTHER); in testBestValidType()
[all …]
/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/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/Messaging/src/com/android/messaging/ui/conversationlist/
DShareIntentActivity.java61 convIntent.setDataAndType(intent.getData(), intent.getType()); in onCreate()
77 final String contentType = extractContentType(contentUri, intent.getType()); in onAttachFragment()
81 contentUri, intent.getType(), contentType)); in onAttachFragment()
103 + " (" + intent.getType() + ")"); in onAttachFragment()
106 final String contentType = intent.getType(); in onAttachFragment()
140 final String typeFromExtension = resolver.getType(uri); in extractContentType()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapObexServer.java138 if (account.getType() == TYPE.EMAIL) { in BluetoothMapObexServer()
176 if (mAccount.getType() == TYPE.IM) in buildFolderStructure()
178 if( mAccount.getType() == TYPE.EMAIL) in buildFolderStructure()
595 if ((message.getType().equals(TYPE.EMAIL) && (folderElement.getFolderId() == -1)) in pushMessage()
596 || ((message.getType().equals(TYPE.SMS_GSM) || in pushMessage()
597 message.getType().equals(TYPE.SMS_CDMA) || in pushMessage()
598 message.getType().equals(TYPE.MMS)) in pushMessage()
611 String handleStr = BluetoothMapUtils.getMapHandle(handle, message.getType()); in pushMessage()
613 + message.getType()); in pushMessage()
709 if (mAccount != null && mAccount.getType() == BluetoothMapUtils.TYPE.IM) { in setOwnerStatus()
[all …]
DBluetoothMapContentObserver.java285 if (mAccount.getType() == TYPE.IM) { in BluetoothMapContentObserver()
939 if(mAccount.getType() == TYPE.IM) { in registerObserver()
968 if(mAccount.getType() == TYPE.IM) { in registerObserver()
1635 mAccount.getType(), date, subject, address, priority); in handleMsgListChangesMsg()
1642 mAccount.getType(), date, subject, address, priority, in handleMsgListChangesMsg()
1679 null, mAccount.getType()); in handleMsgListChangesMsg()
1691 oldFolder, null, mAccount.getType()); in handleMsgListChangesMsg()
1697 oldFolder, mAccount.getType()); in handleMsgListChangesMsg()
1709 mAccount.getType()); in handleMsgListChangesMsg()
1742 mAccount.getType()); in handleMsgListChangesMsg()
[all …]
DBluetoothMapMasInstance.java311 if(mAccount.getType() == TYPE.EMAIL) { in createMasSdpRecord()
313 } else if(mAccount.getType() == TYPE.IM) { in createMasSdpRecord()
320 if(mAccount.getType() == TYPE.EMAIL) { in createMasSdpRecord()
322 } else if(mAccount.getType() == TYPE.IM) { in createMasSdpRecord()
/packages/apps/Nfc/src/com/android/nfc/handover/
DHandoverDataParser.java205 if (!Arrays.equals(handoverRequestRecord.getType(), NdefRecord.RTD_HANDOVER_REQUEST)) { in getIncomingHandoverData()
213 if (Arrays.equals(dataRecord.getType(), TYPE_BT_OOB)) { in getIncomingHandoverData()
293 Arrays.equals(oob.getType(), TYPE_BT_OOB)) { in parseBluetoothHandoverSelect()
302 Arrays.equals(oob.getType(), TYPE_BLE_OOB)) { in parseBluetoothHandoverSelect()
313 byte[] type = r.getType(); in parseBluetooth()
316 if (r.getTnf() == NdefRecord.TNF_MIME_MEDIA && Arrays.equals(r.getType(), TYPE_BT_OOB)) { in parseBluetooth()
321 if (r.getTnf() == NdefRecord.TNF_MIME_MEDIA && Arrays.equals(r.getType(), TYPE_BLE_OOB)) { in parseBluetooth()
/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/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/wallpapers/Galaxy4/src/com/android/galaxy4/
DGalaxyRS.java176 builder.addConstant(mPvConsts.getType()); in createProgramVertex()
177 builder.addInput(mSpaceCloudsMesh.getVertexAllocation(0).getType().getElement()); in createProgramVertex()
187 builder.addConstant(mPvConsts.getType()); in createProgramVertex()
188 builder.addInput(mBgStarsMesh.getVertexAllocation(0).getType().getElement()); in createProgramVertex()
197 builder.addConstant(mPvConsts.getType()); in createProgramVertex()
198 builder.addInput(mBgStarsMesh.getVertexAllocation(0).getType().getElement()); in createProgramVertex()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DVoicemailProviderTest.java208 mResolver.getType(ContentUris.withAppendedId(Voicemails.CONTENT_URI, 100))); in testGetType_ItemUri()
213 assertEquals(Voicemails.ITEM_TYPE, mResolver.getType(uri)); in testGetType_ItemUri()
217 assertEquals(Voicemails.DIR_TYPE, mResolver.getType(Voicemails.CONTENT_URI)); in testGetType_DirUri()
218 assertEquals(Voicemails.DIR_TYPE, mResolver.getType(Voicemails.buildSourceUri("foo"))); in testGetType_DirUri()
604 assertEquals(Status.ITEM_TYPE, mResolver.getType(uri)); in testStatusGetType()
607 assertEquals(Status.DIR_TYPE, mResolver.getType(Status.CONTENT_URI)); in testStatusGetType()
608 assertEquals(Status.DIR_TYPE, mResolver.getType(Status.buildSourceUri("foo"))); in testStatusGetType()
/packages/apps/Contacts/src/com/android/contacts/editor/
DEventFieldEditorView.java161 protected EventEditType getType() { in getType() method in EventFieldEditorView
162 return (EventEditType) super.getType(); in getType()
176 final boolean isYearOptional = getType() != null && getType().isYearOptional(); in onLabelRebuilt()
207 final boolean isYearOptional = getType().isYearOptional(); in createDatePickerDialog()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DStorageSettings.java123 switch(vol.getType()) { in isInteresting()
149 if (vol.getType() == VolumeInfo.TYPE_PRIVATE) { in refresh()
158 } else if (vol.getType() == VolumeInfo.TYPE_PUBLIC) { in refresh()
167 if (rec.getType() == VolumeInfo.TYPE_PRIVATE in refresh()
248 if (vol.getType() == VolumeInfo.TYPE_PRIVATE) { in onPreferenceTreeClick()
255 } else if (vol.getType() == VolumeInfo.TYPE_PUBLIC) { in onPreferenceTreeClick()
/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/connectivity/
DWifiConfigurationActivity.java136 if (networkInfo == null || networkInfo.getType() != ConnectivityManager.TYPE_WIFI) { in getWifiInfo()
159 networkInfo.getType() == ConnectivityManager.TYPE_WIFI && in refreshActionList()
247 if (networkInfo != null && networkInfo.getType() == ConnectivityManager.TYPE_WIFI) { in getNetworkName()
313 final ActionType type = actionKey.getType(); in onActionClicked()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/
DStorageResetActivity.java120 switch(vol.getType()) {
194 if (vol.getType() == VolumeInfo.TYPE_PRIVATE) {
196 } else if (vol.getType() == VolumeInfo.TYPE_PUBLIC) {
208 if (record.getType() == VolumeInfo.TYPE_PRIVATE
345 if (volumeRecord == null || volumeRecord.getType() == VolumeInfo.TYPE_PUBLIC) { in get()
353 } else if (volume.getType() == VolumeInfo.TYPE_PRIVATE) { in get()
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
DVCardResourceEntry.java175 Phone.getTypeLabel(resources, phone.getType(), phone.getLabel()).toString(),
186 Phone.getTypeLabel(resources, email.getType(),
197 [postalData.getType() - 1];
234 organtization.getType()));
/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()

1234567891011