Home
last modified time | relevance | path

Searched refs:Utils (Results 1 – 25 of 65) sorted by relevance

123

/developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/
DUtils.java30 public class Utils { class
31 private Utils() {}; in Utils() method in Utils
36 if (Utils.hasGingerbread()) { in enableStrictMode()
46 if (Utils.hasHoneycomb()) { in enableStrictMode()
DImageCache.java147 if (Utils.hasHoneycomb()) { in init()
167 if (Utils.hasHoneycomb()) { in init()
523 if (!Utils.hasKitKat()) { in canUseForInBitmap()
618 if (Utils.hasKitKat()) { in getBitmapSize()
622 if (Utils.hasHoneycombMR1()) { in getBitmapSize()
638 if (Utils.hasGingerbread()) { in isExternalStorageRemovable()
652 if (Utils.hasFroyo()) { in getExternalCacheDir()
669 if (Utils.hasGingerbread()) { in getUsableSpace()
DImageResizer.java129 if (Utils.hasHoneycomb()) { in decodeSampledBitmapFromResource()
160 if (Utils.hasHoneycomb()) { in decodeSampledBitmapFromFile()
194 if (Utils.hasHoneycomb()) { in decodeSampledBitmapFromDescriptor()
/developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/
DUtils.java30 public class Utils { class
31 private Utils() {}; in Utils() method in Utils
36 if (Utils.hasGingerbread()) { in enableStrictMode()
46 if (Utils.hasHoneycomb()) { in enableStrictMode()
DImageCache.java147 if (Utils.hasHoneycomb()) { in init()
167 if (Utils.hasHoneycomb()) { in init()
523 if (!Utils.hasKitKat()) { in canUseForInBitmap()
618 if (Utils.hasKitKat()) { in getBitmapSize()
622 if (Utils.hasHoneycombMR1()) { in getBitmapSize()
638 if (Utils.hasGingerbread()) { in isExternalStorageRemovable()
652 if (Utils.hasFroyo()) { in getExternalCacheDir()
669 if (Utils.hasGingerbread()) { in getUsableSpace()
DImageResizer.java129 if (Utils.hasHoneycomb()) { in decodeSampledBitmapFromResource()
160 if (Utils.hasHoneycomb()) { in decodeSampledBitmapFromFile()
194 if (Utils.hasHoneycomb()) { in decodeSampledBitmapFromDescriptor()
/developers/build/prebuilts/gradle/SpeedTracker/Shared/src/main/java/com/example/android/wearable/speedtracker/common/
DUtils.java24 public class Utils { class
35 private Utils() { in Utils() method in Utils
/developers/samples/android/wearable/wear/SpeedTracker/Shared/src/main/java/com/example/android/wearable/speedtracker/common/
DUtils.java24 public class Utils { class
35 private Utils() { in Utils() method in Utils
/developers/samples/android/system/AppShortcuts/app/src/main/java/com/example/android/appshortcuts/
DUtils.java23 public class Utils { class
24 private Utils() { in Utils() method in Utils
/developers/build/prebuilts/gradle/AppShortcuts/app/src/main/java/com/example/android/appshortcuts/
DUtils.java23 public class Utils { class
24 private Utils() { in Utils() method in Utils
/developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/ui/
DImageGridActivity.java24 import com.example.android.displayingbitmaps.util.Utils;
35 Utils.enableStrictMode(); in onCreate()
/developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/ui/
DImageGridActivity.java24 import com.example.android.displayingbitmaps.util.Utils;
35 Utils.enableStrictMode(); in onCreate()
/developers/samples/android/wearable/wear/SpeedTracker/Application/src/main/java/com/example/android/wearable/speedtracker/
DLocationDataManager.java20 import com.example.android.wearable.speedtracker.common.Utils;
50 String day = Utils.getHashedDay(calendar); in getPoints()
67 String day = Utils.getHashedDay(calendar); in clearPoints()
/developers/build/prebuilts/gradle/SpeedTracker/Application/src/main/java/com/example/android/wearable/speedtracker/
DLocationDataManager.java20 import com.example.android.wearable.speedtracker.common.Utils;
50 String day = Utils.getHashedDay(calendar); in getPoints()
67 String day = Utils.getHashedDay(calendar); in clearPoints()
/developers/samples/android/wearable/wear/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/ui/
DAttractionListActivity.java32 import com.example.android.xyztouristattractions.common.Utils;
57 if (!Utils.checkFineLocationPermission(this)) { in onCreate()
105 boolean geofenceEnabled = Utils.getGeofenceEnabled(this); in onOptionsItemSelected()
106 Utils.storeGeofenceEnabled(this, !geofenceEnabled); in onOptionsItemSelected()
/developers/build/prebuilts/gradle/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/ui/
DAttractionListActivity.java32 import com.example.android.xyztouristattractions.common.Utils;
56 if (!Utils.checkFineLocationPermission(this)) { in onCreate()
104 boolean geofenceEnabled = Utils.getGeofenceEnabled(this); in onOptionsItemSelected()
105 Utils.storeGeofenceEnabled(this, !geofenceEnabled); in onOptionsItemSelected()
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/
DUtils.java28 public class Utils { class
33 private Utils() { in Utils() method in Utils
/developers/samples/android/wearable/wear/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/service/
DUtilityService.java43 import com.example.android.xyztouristattractions.common.Utils;
139 LatLng currentLocation = Utils.getLocation(this); in onHandleIntent()
156 if (!Utils.checkFineLocationPermission(this)) { in addGeofencesInternal()
188 boolean geofenceEnabled = Utils.getGeofenceEnabled(this); in geofenceTriggered()
213 if (!Utils.checkFineLocationPermission(this)) { in requestLocationInternal()
268 Utils.storeLocation(this, latLngLocation); in locationUpdated()
301 Iterator<String> itr = Utils.getNodes(googleApiClient).iterator(); in clearRemoteNotifications()
384 String distance = Utils.formatDistanceBetween( in showNotification()
385 Utils.getLocation(this), attractions.get(i).location); in showNotification()
454 String distance = Utils.formatDistanceBetween( in sendDataToWearable()
[all …]
/developers/build/prebuilts/gradle/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/service/
DUtilityService.java38 import com.example.android.xyztouristattractions.common.Utils;
138 LatLng currentLocation = Utils.getLocation(this); in onHandleIntent()
155 if (!Utils.checkFineLocationPermission(this)) { in addGeofencesInternal()
187 boolean geofenceEnabled = Utils.getGeofenceEnabled(this); in geofenceTriggered()
212 if (!Utils.checkFineLocationPermission(this)) { in requestLocationInternal()
267 Utils.storeLocation(this, latLngLocation); in locationUpdated()
300 Iterator<String> itr = Utils.getNodes(googleApiClient).iterator(); in clearRemoteNotifications()
383 String distance = Utils.formatDistanceBetween( in showNotification()
384 Utils.getLocation(this), attractions.get(i).location); in showNotification()
453 String distance = Utils.formatDistanceBetween( in sendDataToWearable()
[all …]
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/leanback/
DUtils.java30 public class Utils { class
35 private Utils() { in Utils() method in Utils
/developers/build/prebuilts/gradle/AutoBackupForApps/Application/src/main/java/com/example/android/autobackupsample/
DUtils.java25 public class Utils { class
/developers/samples/android/content/AutoBackupForApps/Application/src/main/java/com/example/android/autobackupsample/
DUtils.java25 public class Utils { class
/developers/samples/android/wearable/wear/SpeedTracker/Application/src/main/java/com/example/android/wearable/speedtracker/db/
DLocationDbHelper.java28 import com.example.android.wearable.speedtracker.common.Utils;
113 String day = Utils.getHashedDay(calendar); in read()
163 return delete(Utils.getHashedDay(calendar)); in delete()
/developers/build/prebuilts/gradle/SpeedTracker/Application/src/main/java/com/example/android/wearable/speedtracker/db/
DLocationDbHelper.java28 import com.example.android.wearable.speedtracker.common.Utils;
113 String day = Utils.getHashedDay(calendar); in read()
163 return delete(Utils.getHashedDay(calendar)); in delete()
/developers/build/prebuilts/gradle/JumpingJack/Wearable/src/main/java/com/example/android/wearable/jumpingjack/fragments/
DCounterFragment.java20 import com.example.android.wearable.jumpingjack.Utils;
56 setCounter(Utils.getCounterFromPreference(getActivity())); in onCreateView()

123