| /developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/ |
| D | Utils.java | 30 public class Utils { class 31 private Utils() {}; in Utils() method in Utils 36 if (Utils.hasGingerbread()) { in enableStrictMode() 46 if (Utils.hasHoneycomb()) { in enableStrictMode()
|
| D | ImageCache.java | 147 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()
|
| D | ImageResizer.java | 129 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/ |
| D | Utils.java | 30 public class Utils { class 31 private Utils() {}; in Utils() method in Utils 36 if (Utils.hasGingerbread()) { in enableStrictMode() 46 if (Utils.hasHoneycomb()) { in enableStrictMode()
|
| D | ImageCache.java | 147 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()
|
| D | ImageResizer.java | 129 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/ |
| D | Utils.java | 24 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/ |
| D | Utils.java | 24 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/ |
| D | Utils.java | 23 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/ |
| D | Utils.java | 23 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/ |
| D | ImageGridActivity.java | 24 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/ |
| D | ImageGridActivity.java | 24 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/ |
| D | LocationDataManager.java | 20 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/ |
| D | LocationDataManager.java | 20 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/ |
| D | AttractionListActivity.java | 32 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/ |
| D | AttractionListActivity.java | 32 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/ |
| D | Utils.java | 28 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/ |
| D | UtilityService.java | 43 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/ |
| D | UtilityService.java | 38 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/ |
| D | Utils.java | 30 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/ |
| D | Utils.java | 25 public class Utils { class
|
| /developers/samples/android/content/AutoBackupForApps/Application/src/main/java/com/example/android/autobackupsample/ |
| D | Utils.java | 25 public class Utils { class
|
| /developers/samples/android/wearable/wear/SpeedTracker/Application/src/main/java/com/example/android/wearable/speedtracker/db/ |
| D | LocationDbHelper.java | 28 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/ |
| D | LocationDbHelper.java | 28 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/ |
| D | CounterFragment.java | 20 import com.example.android.wearable.jumpingjack.Utils; 56 setCounter(Utils.getCounterFromPreference(getActivity())); in onCreateView()
|