Home
last modified time | relevance | path

Searched refs:outer (Results 1 – 24 of 24) sorted by relevance

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DWallpaperCropUtils.java113 public static Point calculateCenterPosition(Point outer, Point inner, boolean alignStart, in calculateCenterPosition() argument
115 if (inner.x > outer.x || inner.y > outer.y) { in calculateCenterPosition()
117 + " completely within the outer rectangle " + outer + "."); in calculateCenterPosition()
123 relativePosition.x = isRtl ? outer.x - inner.x : 0; in calculateCenterPosition()
125 relativePosition.x = Math.round((outer.x - inner.x) / 2f); in calculateCenterPosition()
127 relativePosition.y = Math.round((outer.y - inner.y) / 2f); in calculateCenterPosition()
139 public static float calculateMinZoom(Point outer, Point inner) { in calculateMinZoom() argument
141 if (inner.x / (float) inner.y > outer.x / (float) outer.y) { in calculateMinZoom()
142 minZoom = inner.x / (float) outer.x; in calculateMinZoom()
144 minZoom = inner.y / (float) outer.y; in calculateMinZoom()
[all …]
/packages/apps/Car/Settings/src/com/android/car/settings/applications/specialaccess/
DAppEntryListManager.java237 BackgroundHandler(WeakReference<AppEntryListManager> outer, Looper looper) { in BackgroundHandler() argument
239 mOuter = outer; in BackgroundHandler()
244 AppEntryListManager outer = mOuter.get(); in handleMessage() local
245 if (outer == null) { in handleMessage()
250 outer.loadInfo(outer.mSession.getAllApps()); in handleMessage()
251 outer.mMainHandler.sendEmptyMessage(MainHandler.MSG_INFO_UPDATED); in handleMessage()
255 outer.loadInfo(Collections.singletonList(entry)); in handleMessage()
256 outer.mMainHandler.sendEmptyMessage(MainHandler.MSG_INFO_UPDATED); in handleMessage()
267 MainHandler(WeakReference<AppEntryListManager> outer) { in MainHandler() argument
268 mOuter = outer; in MainHandler()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
DBoundedRect.java32 private RectF outer; field in BoundedRect
38 outer = new RectF(outerRect); in BoundedRect()
48 outer = new RectF(outerRect); in BoundedRect()
58 outer.set(outerRect); in resetTo()
97 r.set(outer); in setToOuter()
105 return new RectF(outer); in getOuter()
120 float[] outerCorners = CropMath.getCornersFromRect(outer); in moveInner()
131 if (!CropMath.inclusiveContains(outer, correctedInnerX, correctedInnerY)) { in moveInner()
146 if (!CropMath.inclusiveContains(outer, correctedInnerX, correctedInnerY)) { in moveInner()
150 CropMath.getEdgePoints(outer, correctionVec); in moveInner()
[all …]
DCropView.java213 RectF outer = mCropObj.getOuterBounds(); in applyOriginalAspect() local
214 float w = outer.width(); in applyOriginalAspect()
215 float h = outer.height(); in applyOriginalAspect()
218 mCropObj.resetBoundsTo(outer, outer); in applyOriginalAspect()
DCropObject.java57 public void resetBoundsTo(RectF inner, RectF outer) { in resetBoundsTo() argument
58 mBoundedRect.resetTo(0, outer, inner); in resetBoundsTo()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/
DPieRenderer.java277 int outer = mRadius + mRadiusInc - rgap; in layoutPie() local
279 layoutItems(mItems, (float) (Math.PI / 2), inner, outer, gap); in layoutPie()
283 int outer, int gap) { in layoutItems() argument
297 outer, inner, mCenter); in layoutItems()
307 int r = inner + (outer - inner) * 2 / 3; in layoutItems()
313 item.setGeometry(itemstart, sweep, inner, outer); in layoutItems()
316 outer + mRadiusInc / 2, gap); in layoutItems()
322 private Path makeSlice(float start, float end, int outer, int inner, Point center) { in makeSlice() argument
324 new RectF(center.x - outer, center.y - outer, center.x + outer, in makeSlice()
325 center.y + outer); in makeSlice()
DPieItem.java43 private int outer; field in PieItem
137 outer = outside; in setGeometry()
166 return outer; in getOuterRadius()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/
DPieRenderer.java279 int outer = radius + radiusInc - rgap; in layoutPie() local
281 layoutItems(items, (float) (Math.PI / 2), inner, outer, gap); in layoutPie()
284 private void layoutItems(List<PieItem> items, float centerAngle, int inner, int outer, int gap) { in layoutItems() argument
297 Path path = makeSlice(getDegrees(0) - gap, getDegrees(sweep) + gap, outer, inner, center); in layoutItems()
307 int r = inner + (outer - inner) * 2 / 3; in layoutItems()
313 item.setGeometry(itemstart, sweep, inner, outer); in layoutItems()
315 layoutItems(item.getItems(), angle, inner, outer + radiusInc / 2, gap); in layoutItems()
321 private Path makeSlice(float start, float end, int outer, int inner, Point center) { in makeSlice() argument
322 RectF bb = new RectF(center.x - outer, center.y - outer, center.x + outer, center.y + outer); in makeSlice()
DPieItem.java40 private int outer; field in PieItem
120 outer = outside; in setGeometry()
144 return outer; in getOuterRadius()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DImageCrop.java168 RectF outer = mCropObj.getOuterBounds(); in applyOriginalAspect() local
169 float w = outer.width(); in applyOriginalAspect()
170 float h = outer.height(); in applyOriginalAspect()
173 mCropObj.resetBoundsTo(outer, outer); in applyOriginalAspect()
309 RectF outer = mCropObj.getOuterBounds(); in onDraw() local
310 FilterCropRepresentation.findNormalizedCrop(mScreenCropBounds, (int) outer.width(), in onDraw()
311 (int) outer.height()); in onDraw()
/packages/apps/Settings/src/com/android/settings/datetime/timezone/
DBaseTimeZoneAdapter.java248 outer: in performFiltering()
254 break outer; in performFiltering() local
264 break outer; in performFiltering() local
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datetime/timezone/
DBaseTimeZoneAdapter.java248 outer: in performFiltering()
254 break outer; in performFiltering() local
264 break outer; in performFiltering() local
/packages/providers/MediaProvider/tools/genfiles/
Dgenfiles.sh133 …a from audio_playlists left outer join audio_playlists_map on audio_playlists._id=audio_playlists_…
/packages/services/Mtp/src/com/android/mtp/
DMtpDocumentsProvider.java503 outer: while (true) { in findDocumentPath()
523 break outer; in findDocumentPath() local
530 break outer; in findDocumentPath() local
/packages/apps/TV/libs/m2/
Dauto-value-1.5.3.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Djavac-shaded-9-dev-r4023-3.jarorg/openjdk/tools/sjavac/server/log/LoggingOutputStream.class LoggingOutputStream.java package ...
Dguava-28.0-android.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
Dguava-28.0-jre.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/packages/apps/TV/libs/
Dgoogle-java-format-1.7-all-deps.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/apps/Messaging/build/gcheckstyle/
Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com ...
/packages/inputmethods/LatinIME/dictionaries/
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, ...
Dnl_wordlist.combined.gz1dictionary=main:nl,locale=nl,description=Nederlands,date=1414726258, ...