Home
last modified time | relevance | path

Searched refs:region (Results 1 – 25 of 35) 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/Launcher3/quickstep/src/com/android/quickstep/
DOrientationTouchTransformer.java137 OrientationRectF region = mSwipeTouchRegions.get(mCurrentDisplayRotation); in createOrAddTouchRegion() local
138 if (region != null) { in createOrAddTouchRegion()
188 private void resetSwipeRegions(DefaultDisplay.Info region) { in resetSwipeRegions() argument
193 mCurrentDisplayRotation = region.rotation; in resetSwipeRegions()
196 regionToKeep = createRegionForDisplay(region); in resetSwipeRegions()
DRecentsAnimationDeviceState.java203 public void onExclusionChanged(Region region) { in RecentsAnimationDeviceState()
205 mExclusionRegion = region; in RecentsAnimationDeviceState()
/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/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.java106 public static boolean matches(@NonNull CharSequence postcode, @NonNull String region) { in matches() argument
107 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/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/TV/tuner/tests/robotests/javatests/com/android/tv/tuner/data/
DSectionParserTest.java161 private static RatingRegion createRatingRegionForTest(String values, int region) { in createRatingRegionForTest() argument
175 return new RatingRegion(region, "", regionalRatings); in createRatingRegionForTest()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DGalleryGridItemView.java105 final Rect region = new Rect(0, 0, getWidth(), getHeight()); in onFinishInflate()
106 setTouchDelegate(new TouchDelegate(region, mCheckBox) { in onFinishInflate()
/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.java1303 for (RatingRegion region : usRatingRegions) { in generateContentRating()
1304 String contentRating = getUsRating(region); in generateContentRating()
1309 for (RatingRegion region : krRatingRegions) { in generateContentRating()
1310 String contentRating = getKrRating(region); in generateContentRating()
1325 private static List<RatingRegion> getRatingRegions(List<TsDescriptor> descriptors, int region) { in getRatingRegions() argument
1334 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/quickstep/recents_ui_overrides/src/com/android/quickstep/
DTouchInteractionService.java232 public void onActiveNavBarRegionChanges(Region region) {
233 MAIN_EXECUTOR.execute(() -> mDeviceState.setDeferredGestureRegion(region));
/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.gz
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...

12