Home
last modified time | relevance | path

Searched refs:inner (Results 1 – 22 of 22) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
DBoundedRect.java33 private RectF inner; field in BoundedRect
39 inner = new RectF(innerRect); in BoundedRect()
40 innerRotated = CropMath.getCornersFromRect(inner); in BoundedRect()
49 inner = new RectF(innerRect); in BoundedRect()
50 innerRotated = CropMath.getCornersFromRect(inner); in BoundedRect()
59 inner.set(innerRect); in resetTo()
60 innerRotated = CropMath.getCornersFromRect(inner); in resetTo()
70 if (inner.equals(newInner)) in setInner()
72 inner = newInner; in setInner()
73 innerRotated = CropMath.getCornersFromRect(inner); in setInner()
[all …]
DCropObject.java57 public void resetBoundsTo(RectF inner, RectF outer) { in resetBoundsTo() argument
58 mBoundedRect.resetTo(0, outer, inner); in resetBoundsTo()
95 RectF inner = mBoundedRect.getInner(); in setInnerAspectRatio() local
96 CropMath.fixAspectRatioContained(inner, width, height); in setInnerAspectRatio()
97 if (inner.width() < mMinSideSize || inner.height() < mMinSideSize) { in setInnerAspectRatio()
103 mBoundedRect.setInner(inner); in setInnerAspectRatio()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DWallpaperCropUtils.java106 public static Point calculateCenterPosition(Point outer, Point inner, boolean alignStart, in calculateCenterPosition() argument
108 if (inner.x > outer.x || inner.y > outer.y) { in calculateCenterPosition()
109 throw new IllegalArgumentException("Inner rectangle " + inner + " should be contained" in calculateCenterPosition()
116 relativePosition.x = isRtl ? outer.x - inner.x : 0; in calculateCenterPosition()
118 relativePosition.x = Math.round((outer.x - inner.x) / 2f); in calculateCenterPosition()
120 relativePosition.y = Math.round((outer.y - inner.y) / 2f); in calculateCenterPosition()
132 public static float calculateMinZoom(Point outer, Point inner) { in calculateMinZoom() argument
134 if (inner.x / (float) inner.y > outer.x / (float) outer.y) { in calculateMinZoom()
135 minZoom = inner.x / (float) outer.x; in calculateMinZoom()
137 minZoom = inner.y / (float) outer.y; in calculateMinZoom()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/
DPieRenderer.java276 int inner = mRadius + rgap; in layoutPie() local
279 layoutItems(mItems, (float) (Math.PI / 2), inner, outer, gap); in layoutPie()
282 private void layoutItems(List<PieItem> items, float centerAngle, int inner, 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()
315 layoutItems(item.getItems(), angle, inner, in layoutItems() local
322 private Path makeSlice(float start, float end, int outer, int inner, Point center) { in makeSlice() argument
327 new RectF(center.x - inner, center.y - inner, center.x + inner, in makeSlice()
328 center.y + inner); in makeSlice()
[all …]
DPieItem.java42 private int inner; field in PieItem
136 inner = inside; in setGeometry()
162 return inner; in getInnerRadius()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/
DPieRenderer.java278 int inner = radius + 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() local
321 private Path makeSlice(float start, float end, int outer, int inner, Point center) { in makeSlice() argument
323 RectF bbi = new RectF(center.x - inner, center.y - inner, center.x + inner, center.y + inner); in makeSlice()
383 for (PieItem inner : openItem.getItems()) { in onDraw()
[all …]
DPieItem.java39 private int inner; field in PieItem
119 inner = inside; in setGeometry()
140 return inner; in getInnerRadius()
/packages/apps/Settings/src/com/android/settings/notification/
DNotificationLockscreenPreference.java143 public Listener(DialogInterface.OnClickListener inner) { in Listener() argument
144 mInner = inner; in Listener()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DNotificationLockscreenPreference.java143 public Listener(DialogInterface.OnClickListener inner) { in Listener() argument
144 mInner = inner; in Listener()
/packages/apps/Dialer/java/com/android/contacts/common/model/account/
DAccountType.java311 public DefinitionException(String message, Exception inner) { in DefinitionException() argument
312 super(message, inner); in DefinitionException()
/packages/apps/Contacts/src/com/android/contacts/model/account/
DAccountType.java108 public DefinitionException(String message, Exception inner) { in DefinitionException() argument
109 super(message, inner); in DefinitionException()
/packages/apps/DocumentsUI/
Dbuild_apk.mk21 -D jack.optimization.inner-class.accessors=true
/packages/apps/Messaging/
Dproguard.flags60 # Keep the static fields of referenced inner classes of auto-generated R classes, in case we
/packages/apps/Launcher3/src/com/android/launcher3/
DCellLayout.java1120 inner: in findNearestArea()
1129 continue inner; in findNearestArea() local
1243 inner: in findNearestArea()
1249 continue inner; in findNearestArea() local
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dinternals.md204 …ow that for some stream types, making a copy of the stream and used it in inner-loop can improve p…
/packages/inputmethods/LatinIME/dictionaries/
Dde_wordlist.combined.gz1dictionary=main:de,locale=de,description=Deutsch,date=1414726263, ...
Dsv_wordlist.combined.gz1dictionary=main:sv,locale=sv,description=Svenska,date=1414726264, ...
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, ...
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...