Home
last modified time | relevance | path

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

12345678

/packages/apps/Contacts/tests/src/com/android/contacts/
DRawContactDeltaTests.java171 final int type = builder.build().getType(); in testValuesDiffInsert()
185 final int type = builder.build().getType(); in testValuesDiffUpdate()
199 final int type = builder.build().getType(); in testValuesDiffDelete()
237 assertEquals("Expected version enforcement", TYPE_ASSERT, oper.getType()); in testEntityDiffNoneInsert()
241 assertEquals("Expected aggregation mode change", TYPE_UPDATE, oper.getType()); in testEntityDiffNoneInsert()
246 assertEquals("Incorrect type", TYPE_INSERT, oper.getType()); in testEntityDiffNoneInsert()
251 assertEquals("Expected aggregation mode change", TYPE_UPDATE, oper.getType()); in testEntityDiffNoneInsert()
277 assertEquals("Expected version enforcement", TYPE_ASSERT, oper.getType()); in testEntityDiffUpdateInsert()
281 assertEquals("Expected aggregation mode change", TYPE_UPDATE, oper.getType()); in testEntityDiffUpdateInsert()
286 assertEquals("Incorrect type", TYPE_UPDATE, oper.getType()); in testEntityDiffUpdateInsert()
[all …]
DRawContactModifierTests.java212 final EditType typeHome = RawContactModifier.getType(kindPhone, Phone.TYPE_HOME); in testValidTypes()
213 final EditType typeWork = RawContactModifier.getType(kindPhone, Phone.TYPE_WORK); in testValidTypes()
214 final EditType typeOther = RawContactModifier.getType(kindPhone, Phone.TYPE_OTHER); in testValidTypes()
257 final EditType typeHome = RawContactModifier.getType(kindPhone, Phone.TYPE_HOME); in testCanInsert()
258 final EditType typeWork = RawContactModifier.getType(kindPhone, Phone.TYPE_WORK); in testCanInsert()
259 final EditType typeOther = RawContactModifier.getType(kindPhone, Phone.TYPE_OTHER); in testCanInsert()
286 final EditType typeHome = RawContactModifier.getType(kindPhone, Phone.TYPE_HOME); in testBestValidType()
287 final EditType typeWork = RawContactModifier.getType(kindPhone, Phone.TYPE_WORK); in testBestValidType()
288 final EditType typeFaxWork = RawContactModifier.getType(kindPhone, Phone.TYPE_FAX_WORK); in testBestValidType()
289 final EditType typeOther = RawContactModifier.getType(kindPhone, Phone.TYPE_OTHER); in testBestValidType()
[all …]
/packages/apps/VideoEditor/src/com/android/videoeditor/service/
DMovieEffect.java68 public int getType() { in getType() method in MovieEffect
152 switch (colorEffect.getType()) { in toType()
168 colorEffect.getType()); in toType()
DMovieOverlay.java192 public int getType() { in getType() method in MovieOverlay
274 public static int getType(Bundle userAttributes) { in getType() method in MovieOverlay
/packages/apps/Mms/src/com/android/mms/dom/events/
DEventTargetImpl.java73 } else if ((eventImpl.getType() == null) || eventImpl.getType().equals("")) { in dispatchEvent()
95 && listenerEntry.mType.equals(eventImpl.getType())) { in dispatchEvent()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DImageFilterSharpen.java33 int w = mInPixelsAllocation.getType().getX(); in createFilter()
34 int h = mInPixelsAllocation.getType().getY(); in createFilter()
/packages/apps/Email/src/com/android/email/
DEmailConnectivityManager.java130 onConnectivityRestored(networkInfo.getType()); in onReceive()
132 onConnectivityLost(networkInfo.getType()); in onReceive()
164 return info.getType(); in getActiveNetworkType()
/packages/wallpapers/Galaxy4/src/com/android/galaxy4/
DGalaxyRS.java174 builder.addConstant(mPvConsts.getType()); in createProgramVertex()
175 builder.addInput(mSpaceCloudsMesh.getVertexAllocation(0).getType().getElement()); in createProgramVertex()
185 builder.addConstant(mPvConsts.getType()); in createProgramVertex()
186 builder.addInput(mBgStarsMesh.getVertexAllocation(0).getType().getElement()); in createProgramVertex()
195 builder.addConstant(mPvConsts.getType()); in createProgramVertex()
196 builder.addInput(mBgStarsMesh.getVertexAllocation(0).getType().getElement()); in createProgramVertex()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DReorderingCursorWrapper.java97 public int getType(int column) { in getType() method in ReorderingCursorWrapper
98 return mCursor.getType(column); in getType()
DProfileProvider.java162 public String getType(Uri uri) { in getType() method in ProfileProvider
163 return mDelegate.getType(uri); in getType()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DVoicemailProviderTest.java133 mResolver.getType(ContentUris.withAppendedId(Voicemails.CONTENT_URI, 100))); in testGetType_ItemUri()
138 assertEquals(Voicemails.ITEM_TYPE, mResolver.getType(uri)); in testGetType_ItemUri()
142 assertEquals(Voicemails.DIR_TYPE, mResolver.getType(Voicemails.CONTENT_URI)); in testGetType_DirUri()
143 assertEquals(Voicemails.DIR_TYPE, mResolver.getType(Voicemails.buildSourceUri("foo"))); in testGetType_DirUri()
461 assertEquals(Status.ITEM_TYPE, mResolver.getType(uri)); in testStatusGetType()
464 assertEquals(Status.DIR_TYPE, mResolver.getType(Status.CONTENT_URI)); in testStatusGetType()
465 assertEquals(Status.DIR_TYPE, mResolver.getType(Status.buildSourceUri("foo"))); in testStatusGetType()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DGallery.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/Contacts/src/com/android/contacts/editor/
DEventFieldEditorView.java156 protected EventEditType getType() { in getType() method in EventFieldEditorView
157 return (EventEditType) super.getType(); in getType()
171 final boolean isYearOptional = getType().isYearOptional(); in onLabelRebuilt()
202 final boolean isYearOptional = getType().isYearOptional(); in createDatePickerDialog()
/packages/apps/Email/tests/src/com/android/email/provider/
DAttachmentProviderTests.java278 String type = mMockResolver.getType(attachment1Uri); in testGetType()
310 type = mMockResolver.getType(uri); in testGetType()
313 type = mMockResolver.getType(uri); in testGetType()
316 type = mMockResolver.getType(uri); in testGetType()
319 type = mMockResolver.getType(uri); in testGetType()
322 type = mMockResolver.getType(uri); in testGetType()
328 type = mMockResolver.getType(uri); in testGetType()
332 type = mMockResolver.getType(uri); in testGetType()
/packages/apps/VideoEditor/src/com/android/videoeditor/
DOverlaysAdapter.java93 initiateLoad(overlayType.getType(), overlayType.getType(), viewHolder); in getView()
DTransitionsActivity.java90 if (transitions[i].getType() == transitionType) { in onCreate()
128 ((TransitionType)mAdapter.getItem(position)).getType()); in onListItemClick()
DOverlayTitleEditor.java106 mOverlayType = MovieOverlay.getType(attributes); in onCreate()
138 mOverlayType = MovieOverlay.getType(attributes); in onActivityResult()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppHandoverReceiver.java47 String type = intent.getType(); in onReceive()
59 String mimeType = intent.getType(); in onReceive()
/packages/apps/Mms/src/org/w3c/dom/smil/
DSMILLayoutElement.java30 public String getType(); in getType() method
/packages/apps/Mms/src/com/android/mms/layout/
DLayoutParameters.java51 int getType(); in getType() method
/packages/apps/Mms/src/org/w3c/dom/events/
DEvent.java46 public String getType(); in getType() method
/packages/apps/Nfc/src/com/android/nfc/handover/
DHandoverManager.java274 if (!Arrays.equals(r.getType(), NdefRecord.RTD_HANDOVER_REQUEST)) return null; in tryHandoverRequest()
280 Arrays.equals(oob.getType(), TYPE_BT_OOB)) { in tryHandoverRequest()
447 Arrays.equals(oob.getType(), TYPE_BT_OOB)) { in parseHandoverSelect()
462 byte[] type = r.getType(); in parse()
465 if (r.getTnf() == NdefRecord.TNF_MIME_MEDIA && Arrays.equals(r.getType(), TYPE_BT_OOB)) { in parse()
/packages/apps/Contacts/src/com/android/contacts/vcard/
DProcessorBase.java40 public abstract int getType(); in getType() method in ProcessorBase
/packages/apps/Contacts/src/com/android/contacts/model/dataitem/
DWebsiteDataItem.java42 public int getType() { in getType() method in WebsiteDataItem
DEventDataItem.java42 public int getType() { in getType() method in EventDataItem

12345678