Home
last modified time | relevance | path

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

123

/development/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/cards/presenters/
DCardPresenterSelector.java44 Presenter presenter = presenters.get(card.getType()); in getPresenter()
46 switch (card.getType()) { in getPresenter()
57 if (card.getType() == Card.Type.MOVIE_BASE) { in getPresenter()
59 } else if (card.getType() == Card.Type.MOVIE_COMPLETE) { in getPresenter()
61 } else if (card.getType() == Card.Type.SQUARE_BIG) { in getPresenter()
63 } else if (card.getType() == Card.Type.GRID_SQUARE) { in getPresenter()
65 } else if (card.getType() == Card.Type.GAME) { in getPresenter()
88 presenters.put(card.getType(), presenter); in getPresenter()
/development/samples/browseable/FindMyPhone/Application/src/com.example.android.wearable.findphone/
DSoundAlarmListenerService.java71 if (event.getType() == DataEvent.TYPE_DELETED) { in onDataChanged()
73 } else if (event.getType() == DataEvent.TYPE_CHANGED) { in onDataChanged()
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeyNetworkMonitor.java48 + "type=" + ni.getType() + ", state=" + ni.getState()); in performReceive()
52 mLastNetworkType = ni.getType(); in performReceive()
/development/samples/browseable/BasicNetworking/src/com.example.android.basicnetworking/
DMainActivity.java99 wifiConnected = activeInfo.getType() == ConnectivityManager.TYPE_WIFI; in checkNetworkConnection()
100 mobileConnected = activeInfo.getType() == ConnectivityManager.TYPE_MOBILE; in checkNetworkConnection()
/development/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/models/
DCardRow.java40 public int getType() { in getType() method in CardRow
DCard.java61 public Card.Type getType() { in getType() method in Card
/development/samples/ReceiveShareDemo/src/com/example/android/receiveshare/
DReceiveShare.java48 if (intent.getType() != null) { in buildShareInfo()
49 sb.append("Type: "); sb.append(intent.getType()); sb.append("\n"); in buildShareInfo()
/development/samples/training/network-usage/src/com/example/android/networkusage/
DNetworkActivity.java134 wifiConnected = activeInfo.getType() == ConnectivityManager.TYPE_WIFI; in updateConnectedFlags()
135 mobileConnected = activeInfo.getType() == ConnectivityManager.TYPE_MOBILE; in updateConnectedFlags()
299 && networkInfo.getType() == ConnectivityManager.TYPE_WIFI) { in onReceive()
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/inject/
DInjector.java79 Class<?> fieldType = field.getType(); in inject()
/development/samples/browseable/SynchronizedNotifications/Wearable/src/com.example.android.wearable.synchronizednotifications/
DNotificationUpdateService.java93 if (dataEvent.getType() == DataEvent.TYPE_CHANGED) { in onDataChanged()
102 } else if (dataEvent.getType() == DataEvent.TYPE_DELETED) { in onDataChanged()
/development/samples/browseable/Geofencing/Wearable/src/com.example.android.wearable.geofencing/
DHomeListenerService.java73 if (event.getType() == DataEvent.TYPE_DELETED) { in onDataChanged()
75 } else if (event.getType() == DataEvent.TYPE_CHANGED) { in onDataChanged()
/development/samples/NotePad/tests/src/com/example/android/notepad/
DNotePadProviderTest.java165 String mimeType = mMockResolver.getType(NotePad.Notes.CONTENT_URI); in testUriAndGetType()
169 mimeType = mMockResolver.getType(NotePad.Notes.LIVE_FOLDER_URI); in testUriAndGetType()
176 mimeType = mMockResolver.getType(noteIdUri); in testUriAndGetType()
180 mimeType = mMockResolver.getType(INVALID_URI); in testUriAndGetType()
/development/samples/browseable/ActionBarCompat-ShareActionProvider/src/com.example.android.actionbarcompat.shareactionprovider/content/
DAssetProvider.java50 public String getType(Uri uri) { in getType() method in AssetProvider
/development/samples/ApiDemos/src/com/example/android/apis/os/
DMmsFileProvider.java69 public String getType(Uri uri) { in getType() method in MmsFileProvider
DMmsWapPushReceiver.java40 && ContentType.MMS_MESSAGE.equals(intent.getType())) { in onReceive()
/development/samples/Support4Demos/src/com/example/android/supportv4/content/
DSharingSupportProvider.java51 public String getType(Uri uri) { in getType() method in SharingSupportProvider
/development/tools/mkstubs/src/com/android/mkstubs/sourcer/
DFieldSourcer.java66 mOutput.write(" %s", Type.getType(mDesc).getClassName()); in visitEnd()
/development/samples/browseable/BeamLargeFiles/src/com.example.android.common/assetprovider/
DAssetProvider.java60 public String getType(Uri uri){ in getType() method in AssetProvider
/development/samples/browseable/DataLayer/Wearable/src/com.example.android.wearable.datalayer/
DMainActivity.java151 if (event.getType() == DataEvent.TYPE_CHANGED) { in onDataChanged()
167 } else if (event.getType() == DataEvent.TYPE_DELETED) { in onDataChanged()
170 mDataFragment.appendItem("Unknown data event type", "Type = " + event.getType()); in onDataChanged()
/development/samples/browseable/AgendaData/Wearable/src/com.example.android.wearable.agendadata/
DHomeListenerService.java80 if (event.getType() == DataEvent.TYPE_DELETED) { in onDataChanged()
82 } else if (event.getType() == DataEvent.TYPE_CHANGED) { in onDataChanged()
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/
DAddVoicemailActivity.java177 mMimeType.setText(getContentResolver().getType(uri)); in handleRecordingResult()
211 getContentResolver().getType(recordingUri)); in insertVoicemail()
/development/samples/browseable/MidiScope/src/com.example.android.midiscope/
DMidiPrinter.java100 sb.append((port.getType() == PortInfo.TYPE_INPUT) ? "input" in formatDeviceInfo()
/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/
DMidiPortWrapper.java77 && portInfo.getType() == mType) { in findPortInfo()
/development/samples/browseable/MidiScope/src/com.example.android.common.midi/
DMidiPortWrapper.java77 && portInfo.getType() == mType) { in findPortInfo()
/development/samples/ContactManager/src/com/example/android/contactmanager/
DContactAdder.java187 .withValue(ContactsContract.RawContacts.ACCOUNT_TYPE, mSelectedAccount.getType()) in createContactEntry()
213 mSelectedAccount.getType() + ")"); in createContactEntry()
342 public String getType() { in getType() method in ContactAdder.AccountData

123