Home
last modified time | relevance | path

Searched refs:region (Results 1 – 25 of 34) sorted by relevance

12

/packages/apps/Camera2/src/com/android/camera/ui/
DZoomView.java112 Rect region = new Rect(); in doInBackground() local
113 visibleInImage.round(region); in doInBackground()
116 region.intersect(0, 0, imageSize.x - 1, imageSize.y - 1); in doInBackground()
118 if (region.width() == 0 || region.height() == 0) { in doInBackground()
119 Log.e(TAG, "Invalid size for partial region. Region: " + region.toString()); in doInBackground()
129 options.inSampleSize = getSampleFactor(region.width(), region.height()); in doInBackground()
135 options.inSampleSize = getSampleFactor(region.height(), region.width()); in doInBackground()
154 Bitmap b = mDecoder.decodeRegion(region, options); in doInBackground()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DPostalSplitter.java37 public String region; field in PostalSplitter.Postal
46 region = values.getAsString(StructuredPostal.REGION); in fromValues()
56 values.put(StructuredPostal.REGION, region); in toValues()
87 postal.region, postal.postcode, postal.country in join()
104 final boolean hasRegion = !TextUtils.isEmpty(postal.region); in joinJaJp()
133 builder.append(postal.region); in joinJaJp()
170 final boolean hasRegion = !TextUtils.isEmpty(postal.region); in joinEnUs()
207 builder.append(postal.region); in joinEnUs()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DPostalSplitterTest.java99 String neighborhood, String city, String region, String postcode, String country) { in assertSplitPostal() argument
106 assertEquals(region, postal.region); in assertSplitPostal()
112 String neighborhood, String city, String region, String postcode, String country) { in assertJoinedPostal() argument
118 postal.region = region; in assertJoinedPostal()
DPostalSplitterForJapaneseTest.java115 String neighborhood, String city, String region, String postcode, String country) { in assertSplitPostal() argument
122 assertEquals(region, postal.region); in assertSplitPostal()
128 String neighborhood, String city, String region, String postcode, String country) { in assertJoinedPostal() argument
134 postal.region = region; in assertJoinedPostal()
/packages/apps/Messaging/src/com/android/messaging/ui/attachmentchooser/
DAttachmentGridItemView.java77 final Rect region = new Rect(); in onFinishInflate()
78 mCheckBox.getHitRect(region); in onFinishInflate()
79 region.inset(-touchAreaIncrease, -touchAreaIncrease); in onFinishInflate()
80 setTouchDelegate(new TouchDelegate(region, mCheckBox)); in onFinishInflate()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DFaceClustering.java58 Rect region = face.getPosition(); in add() local
59 if (mCoverRegion.width() < region.width() && in add()
60 mCoverRegion.height() < region.height()) { in add()
/packages/apps/Car/Radio/src/com/android/car/radio/platform/
DRadioManagerExt.java73 int region = bands[0].getRegion(); in reduceAmFmBands() local
74 Log.d(TAG, "Auto-selecting region " + region); in reduceAmFmBands()
76 return Arrays.stream(bands).filter(band -> band.getRegion() == region). in reduceAmFmBands()
/packages/apps/Launcher3/iconloaderlib/src/com/android/launcher3/icons/
DIconNormalizer.java141 Region region = new Region(); in normalizeAdaptiveIcon() local
142 region.setPath(path, new Region(0, 0, size, size)); in normalizeAdaptiveIcon()
144 Rect hullBounds = region.getBounds(); in normalizeAdaptiveIcon()
145 int hullArea = GraphicsUtils.getArea(region); in normalizeAdaptiveIcon()
/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/
DZonePickerSettingsTest.java113 private void testSelectTimeZone(String region, String timezone, String expectedTimeZoneOffset, in testSelectTimeZone() argument
126 wait(By.res("android", "search_src_text")).setText(region.substring(0, 2)); in testSelectTimeZone()
128 selectItemInList(new UiSelector().textContains(region)) in testSelectTimeZone()
/packages/apps/TV/common/src/com/android/tv/common/util/
DPostalCodeUtils.java121 public static boolean matches(@NonNull CharSequence postcode, @NonNull String region) { in matches() argument
122 Pattern pattern = REGION_PATTERN.get(region.toUpperCase()); in matches()
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
DVCardResourceEntry.java305 final String region = postalData.getRegion();
306 if (!TextUtils.isEmpty(region)) {
307 sb.append(region);
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DGalleryGridItemView.java90 final Rect region = new Rect(0, 0, getWidth(), getHeight()); in onFinishInflate()
91 setTouchDelegate(new TouchDelegate(region, mCheckBox) { in onFinishInflate()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DTouchInteractionService.java146 public void onActiveNavBarRegionChanges(Region region) {
147 mActiveNavBarRegion = region;
308 public void onExclusionChanged(Region region) { in onCreate()
310 mExclusionRegion = region; in onCreate()
/packages/apps/TV/tuner/src/com/android/tv/tuner/setup/
DPostalCodeFragment.java81 String region = LocationUtils.getCurrentCountry(getContext()); in setOnClickAction()
82 if (postalCode != null && PostalCodeUtils.matches(postalCode, region)) { in setOnClickAction()
/packages/apps/Launcher3/src_ui_overrides/com/android/launcher3/uioverrides/dynamicui/
DWallpaperManagerCompatVL.java230 Rect region = new Rect(0, 0, decoder.getWidth(), decoder.getHeight()); in run() local
231 bitmap = decoder.decodeRegion(region, options); in run()
/packages/apps/TV/tuner/src/com/android/tv/tuner/data/
DSectionParser.java1298 for (RatingRegion region : usRatingRegions) { in generateContentRating()
1299 String contentRating = getUsRating(region); in generateContentRating()
1304 for (RatingRegion region : krRatingRegions) { in generateContentRating()
1305 String contentRating = getKrRating(region); in generateContentRating()
1320 private static List<RatingRegion> getRatingRegions(List<TsDescriptor> descriptors, int region) { in getRatingRegions() argument
1329 if (ratingRegion.getName() == region) { in getRatingRegions()
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/
DBmsgTokenizer.java48 mMatcher.region(mPos, mMatcher.regionEnd()); in next()
/packages/services/Telephony/ecc/conversion_toolset_v1/proto/
Dprotobuf_ecc_data.proto25 // CountryInfo represents available ECCs of a country/region, recognized
/packages/apps/Launcher3/go/quickstep/src/com/android/quickstep/
DTouchInteractionService.java60 public void onActiveNavBarRegionChanges(Region region) throws RemoteException { }
/packages/apps/Calendar/src/com/android/calendar/
DDayView.java3689 Rect region = mRect; in findSelectedEvent() local
3690 region.left = x - 10; in findSelectedEvent()
3691 region.right = x + 10; in findSelectedEvent()
3692 region.top = y - 10; in findSelectedEvent()
3693 region.bottom = y + 10; in findSelectedEvent()
3706 if (geometry.eventIntersectsSelection(event, region)) { in findSelectedEvent()
/packages/inputmethods/LatinIME/dictionaries/
Dcs_wordlist.combined.gz1dictionary=main:cs,locale=cs,description=Čeština,date=1393228134, ...
Den_US_wordlist.combined.gz
Den_GB_wordlist.combined.gz
Den_wordlist.combined.gz
Dpl_wordlist.combined.gz1dictionary=main:pl,locale=pl,description=Polski,date=1414726264, ...

12