Home
last modified time | relevance | path

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

123

/developers/samples/android/ui/text/TextStyling-Java/app/src/test/java/com/android/example/text/styling/parser/
DParserTest.java41 assertEquals(elements.get(0).getType(), QUOTE); in quoteBeginingOfText()
43 assertEquals(elements.get(1).getType(), TEXT); in quoteBeginingOfText()
54 assertEquals(elements.get(0).getType(), TEXT); in quoteEndOfText()
56 assertEquals(elements.get(1).getType(), QUOTE); in quoteEndOfText()
67 assertEquals(elements.get(0).getType(), TEXT); in simpleBulletPoints()
69 assertEquals(elements.get(1).getType(), BULLET_POINT); in simpleBulletPoints()
71 assertEquals(elements.get(2).getType(), BULLET_POINT); in simpleBulletPoints()
73 assertEquals(elements.get(3).getType(), BULLET_POINT); in simpleBulletPoints()
84 assertEquals(elements.get(0).getType(), TEXT); in simpleCode()
86 assertEquals(elements.get(1).getType(), CODE_BLOCK); in simpleCode()
[all …]
/developers/samples/android/wearable/wear/DataLayer/Wearable/src/main/java/com/example/android/wearable/datalayer/
DDataLayerScreen.java37 int getType(); in getType() method
53 public int getType() { in getType() method in DataLayerScreen.ImageAssetData
79 public int getType() { in getType() method in DataLayerScreen.EventLoggingData
99 public int getType() { in getType() method in DataLayerScreen.CapabilityDiscoveryData
DCustomRecyclerAdapter.java138 return dataLayerScreenData.getType(); in getItemViewType()
144 if (mDataSet.get(index).getType() == assetType) { in findItemIndex()
DMainActivity.java162 if (event.getType() == DataEvent.TYPE_CHANGED) { in onDataChanged()
179 } else if (event.getType() == DataEvent.TYPE_DELETED) { in onDataChanged()
185 "Unknown data event type", "Type = " + event.getType()); in onDataChanged()
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/data/
DPaginatedCursor.java81 int type = mCursor.getType(i); in PaginatedCursor()
132 switch (mCursor.getType(col)) { in loadCacheStartingFromPosition()
167 public int getType(int column) { in getType() method in PaginatedCursor
/developers/samples/android/deprecated/wearable/wear/FindMyPhone/Application/src/main/java/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()
/developers/build/prebuilts/gradle/FindMyPhone/Application/src/main/java/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()
/developers/samples/android/connectivity/network/BasicNetworking/Application/src/main/java/com/example/android/basicnetworking/
DMainActivity.java99 wifiConnected = activeInfo.getType() == ConnectivityManager.TYPE_WIFI; in checkNetworkConnection()
100 mobileConnected = activeInfo.getType() == ConnectivityManager.TYPE_MOBILE; in checkNetworkConnection()
/developers/build/prebuilts/gradle/BasicNetworking/Application/src/main/java/com/example/android/basicnetworking/
DMainActivity.java99 wifiConnected = activeInfo.getType() == ConnectivityManager.TYPE_WIFI; in checkNetworkConnection()
100 mobileConnected = activeInfo.getType() == ConnectivityManager.TYPE_MOBILE; in checkNetworkConnection()
/developers/samples/android/ui/text/TextStyling-Java/app/src/main/java/com/android/example/text/styling/parser/
DElement.java46 public Type getType() { in getType() method in Element
/developers/samples/android/deprecated/wearable/wear/Geofencing/Wearable/src/main/java/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()
/developers/build/prebuilts/gradle/SynchronizedNotifications/Wearable/src/main/java/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()
/developers/samples/android/deprecated/wearable/wear/SynchronizedNotifications/Wearable/src/main/java/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()
/developers/build/prebuilts/gradle/Geofencing/Wearable/src/main/java/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()
/developers/samples/android/content/ShareActionProvider/Application/src/main/java/com/example/android/shareactionprovider/content/
DAssetProvider.java52 public String getType(@NonNull Uri uri) { in getType() method in AssetProvider
/developers/build/prebuilts/gradle/ShareActionProvider/Application/src/main/java/com/example/android/shareactionprovider/content/
DAssetProvider.java52 public String getType(@NonNull Uri uri) { in getType() method in AssetProvider
/developers/samples/android/input/autofill/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/data/source/local/
DDefaultFieldTypesLocalJsonSource.java58 DefaultFieldTypeWithHints.class).getType(); in getDefaultFieldTypes()
/developers/build/prebuilts/gradle/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/data/source/local/
DDefaultFieldTypesLocalJsonSource.java58 DefaultFieldTypeWithHints.class).getType(); in getDefaultFieldTypes()
/developers/build/prebuilts/gradle/BeamLargeFiles/Application/src/main/java/com/example/android/common/assetprovider/
DAssetProvider.java60 public String getType(Uri uri){ in getType() method in AssetProvider
/developers/samples/android/common/src/java/com/example/android/common/assetprovider/
DAssetProvider.java60 public String getType(Uri uri){ in getType() method in AssetProvider
/developers/build/prebuilts/gradle/DataLayer/Wearable/src/main/java/com/example/android/wearable/datalayer/
DMainActivity.java126 if (event.getType() == DataEvent.TYPE_CHANGED) { in onDataChanged()
142 } else if (event.getType() == DataEvent.TYPE_DELETED) { in onDataChanged()
145 mDataFragment.appendItem("Unknown data event type", "Type = " + event.getType()); in onDataChanged()
/developers/build/prebuilts/gradle/AppShortcuts/app/src/main/java/com/example/android/appshortcuts/
DMain.java149 private String getType(ShortcutInfo shortcut) { in getType() method in Main
237 line2.setText(getType(shortcut)); in bindView()
/developers/samples/android/system/AppShortcuts/app/src/main/java/com/example/android/appshortcuts/
DMain.java149 private String getType(ShortcutInfo shortcut) { in getType() method in Main
237 line2.setText(getType(shortcut)); in bindView()
/developers/build/prebuilts/gradle/NetworkConnect/Application/src/main/java/com/example/android/networkconnect/
DNetworkFragment.java149 (networkInfo.getType() != ConnectivityManager.TYPE_WIFI in onPreExecute()
150 && networkInfo.getType() != ConnectivityManager.TYPE_MOBILE)) { in onPreExecute()
/developers/samples/android/connectivity/network/NetworkConnect/Application/src/main/java/com/example/android/networkconnect/
DNetworkFragment.java149 (networkInfo.getType() != ConnectivityManager.TYPE_WIFI in onPreExecute()
150 && networkInfo.getType() != ConnectivityManager.TYPE_MOBILE)) { in onPreExecute()

123