Home
last modified time | relevance | path

Searched refs:isValidLocation (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Car/Calendar/tests/unit/src/com/android/car/calendar/common/
DEventLocationsTest.java37 assertThat(mEventLocations.isValidLocation("MUC-ARP-6Z3-Radln (5) [GVC]")).isFalse(); in isValidLocation_meetingRooms_isFalse()
38 assertThat(mEventLocations.isValidLocation("SFO-SPE-3-Anchor Brewing Co. (1) [GVC]")) in isValidLocation_meetingRooms_isFalse()
40 assertThat(mEventLocations.isValidLocation("SFO-SPE-3-Speakeasy Ales & Lagers (10) [GVC]")) in isValidLocation_meetingRooms_isFalse()
43 mEventLocations.isValidLocation( in isValidLocation_meetingRooms_isFalse()
47 mEventLocations.isValidLocation( in isValidLocation_meetingRooms_isFalse()
50 assertThat(mEventLocations.isValidLocation("US-MTV-900-1-1F2 (collaboration area)")) in isValidLocation_meetingRooms_isFalse()
56 assertThat(mEventLocations.isValidLocation("My place")).isTrue(); in isValidLocation_notMeetingRooms_isTrue()
57 assertThat(mEventLocations.isValidLocation("At JDP-1974-09")).isTrue(); in isValidLocation_notMeetingRooms_isTrue()
58 assertThat(mEventLocations.isValidLocation("178.3454, 234.345")).isTrue(); in isValidLocation_notMeetingRooms_isTrue()
DEventsLiveDataTest.java116 when(mockEventLocations.isValidLocation(anyString())).thenReturn(true); in setUp()
/packages/apps/Car/Calendar/src/com/android/car/calendar/common/
DEventLocations.java27 public boolean isValidLocation(String locationText) { in isValidLocation() method in EventLocations
DEventsLiveData.java226 if (!mLocations.isValidLocation(locationText)) { in createEventsForRow()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DTimeClustering.java323 if (!GalleryUtils.isValidLocation(itemA.lat, itemA.lng) in isGeographicallySeparated()
324 || !GalleryUtils.isValidLocation(itemB.lat, itemB.lng)) { in isGeographicallySeparated()
DLocalMediaItem.java93 if (GalleryUtils.isValidLocation(latitude, longitude)) { in getDetails()
DLocationClustering.java91 if (GalleryUtils.isValidLocation(s.lat, s.lng)) { in run()
DLocalImage.java249 if (GalleryUtils.isValidLocation(latitude, longitude)) { in getSupportedOperations()
/packages/apps/Gallery2/src/com/android/gallery3d/provider/
DGalleryProvider.java141 boolean isValidLatlong = GalleryUtils.isValidLocation(latitude, longitude); in queryPicasaItem()
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DGalleryUtils.java266 public static boolean isValidLocation(double latitude, double longitude) { in isValidLocation() method in GalleryUtils
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DMenuExecutor.java400 if (GalleryUtils.isValidLocation(latlng[0], latlng[1])) { in execute()