/packages/apps/Camera2/src/com/android/camera/ui/ |
H A D | ZoomView.java | 97 // to find out the partial region in the full res image that we need 104 // Now the visible region we have is rotated, we need to reverse the 105 // rotation to find out the region in the original image 111 // Decode region 112 Rect region = new Rect(); 113 visibleInImage.round(region); 115 // Make sure region to decode is inside the image. 116 region.intersect(0, 0, imageSize.x - 1, imageSize.y - 1); 118 if (region.width() == 0 || region [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
H A D | PostalSplitterForJapaneseTest.java | 115 String neighborhood, String city, String region, String postcode, String country) { 122 assertEquals(region, postal.region); 128 String neighborhood, String city, String region, String postcode, String country) { 134 postal.region = region; 114 assertSplitPostal(String formattedPostal, String street, String pobox, String neighborhood, String city, String region, String postcode, String country) argument 127 assertJoinedPostal(String formattedPostal, String street, String pobox, String neighborhood, String city, String region, String postcode, String country) argument
|
H A D | PostalSplitterTest.java | 99 String neighborhood, String city, String region, String postcode, String country) { 106 assertEquals(region, postal.region); 112 String neighborhood, String city, String region, String postcode, String country) { 118 postal.region = region; 98 assertSplitPostal(String formattedPostal, String street, String pobox, String neighborhood, String city, String region, String postcode, String country) argument 111 assertJoinedPostal(String formattedPostal, String street, String pobox, String neighborhood, String city, String region, String postcode, String country) argument
|
/packages/apps/Messaging/src/com/android/messaging/ui/attachmentchooser/ |
H A D | AttachmentGridItemView.java | 74 // Enlarge the clickable region for the checkbox. 77 final Rect region = new Rect(); 78 mCheckBox.getHitRect(region); 79 region.inset(-touchAreaIncrease, -touchAreaIncrease); 80 setTouchDelegate(new TouchDelegate(region, mCheckBox));
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | PostalSplitter.java | 37 public String region; field in class:PostalSplitter.Postal 46 region = values.getAsString(StructuredPostal.REGION); 56 values.put(StructuredPostal.REGION, region); 87 postal.region, postal.postcode, postal.country 104 final boolean hasRegion = !TextUtils.isEmpty(postal.region); 109 // Second block: [region][ ][city][ ][neighborhood] 133 builder.append(postal.region); 170 final boolean hasRegion = !TextUtils.isEmpty(postal.region); 175 // Second block: [city][, ][region][ ][postcode] 207 builder.append(postal.region); [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
H A D | FaceClustering.java | 58 Rect region = face.getPosition(); 59 if (mCoverRegion.width() < region.width() && 60 mCoverRegion.height() < region.height()) {
|
/packages/apps/TV/src/com/android/tv/tuner/util/ |
H A D | PostalCodeUtils.java | 117 * Checks whether a postcode matches the format of the specific region. 119 * @return {@code false} if the region is supported and the postcode doesn't match; {@code true} 122 public static boolean matches(@NonNull CharSequence postcode, @NonNull String region) { argument 123 Pattern pattern = REGION_PATTERN.get(region.toUpperCase()); 128 * Gets the largest possible postcode length in the region. 130 * @return maximum postcode length if the region is supported; {@link #DEFAULT_MAX_LENGTH}
|
/packages/apps/Settings/src/com/android/settings/applications/ |
H A D | LinearColorBar.java | 59 public void onRegionTapped(int region); argument 176 private int pickColor(int color, int region) { argument 177 if (isPressed() && (mLastRegion®ion) != 0) { 180 if ((mColoredRegions®ion) == 0) {
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
H A D | GalleryGridItemView.java | 89 // Enlarge the clickable region for the checkbox to fill the entire view. 90 final Rect region = new Rect(0, 0, getWidth(), getHeight()); 91 setTouchDelegate(new TouchDelegate(region, mCheckBox) {
|
/packages/apps/TV/src/com/android/tv/tuner/setup/ |
H A D | PostalCodeFragment.java | 76 String region = LocationUtils.getCurrentCountry(getContext()); 77 if (postalCode != null && PostalCodeUtils.matches(postalCode, region)) {
|
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/ |
H A D | BmsgTokenizer.java | 48 mMatcher.region(mPos, mMatcher.regionEnd());
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
H A D | VCardResourceEntry.java | 305 final String region = postalData.getRegion(); 306 if (!TextUtils.isEmpty(region)) { 307 sb.append(region);
|
/packages/apps/Launcher3/src/com/android/launcher3/compat/ |
H A D | WallpaperManagerCompatVL.java | 232 Rect region = new Rect(0, 0, decoder.getWidth(), decoder.getHeight()); 233 bitmap = decoder.decodeRegion(region, options);
|
/packages/apps/TV/src/com/android/tv/tuner/ts/ |
H A D | SectionParser.java | 991 for (RatingRegion region : usRatingRegions) { 992 String contentRating = getUsRating(region); 997 for (RatingRegion region : krRatingRegions) { 998 String contentRating = getKrRating(region); 1007 * Gets a list of {@link RatingRegion} in the specific region. 1010 * @param region the specific region 1011 * @return a list of {@link RatingRegion} in the specific region 1013 private static List<RatingRegion> getRatingRegions(List<TsDescriptor> descriptors, int region) { argument 1022 if (ratingRegion.getName() == region) { [all...] |
/packages/apps/TV/src/com/android/tv/data/epg/ |
H A D | EpgFetcher.java | 131 public static EpgReader createEpgReader(Context context, String region) { argument
|
/packages/apps/Calendar/src/com/android/calendar/ |
H A D | DayView.java | 380 * The expanded allDay region can't expand into this. 547 /** Top of the scrollable region i.e. below date labels and all day events */ 622 // Animates the height of the allday region 624 // Animates the height of events in the allday region 1023 // Above visible region 1030 // Below visible region 1034 // region) 3098 // Use the selected hour as the selection region 4026 // Calculate the top of the visible region in the calendar grid. 4586 // y is now offset from top of the scrollable region [all...] |
/packages/apps/TV/libs/ |
H A D | exoplayer.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/exoplayer/ ... |
H A D | exoplayer_v2.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/exoplayer2/ ... |