Home
last modified time | relevance | path

Searched refs:orig (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Camera/jni/feature_mos/src/mosaic/
DDelaunay.cpp28 #define valid(l) ccw(orig(basel), dest(l), dest(basel))
96 while (orig(ldo) != minx) { in build()
99 while (orig(rdo) != maxx) { in build()
137 orig(temp) = origin; in makeEdge()
140 orig(temp) = destination; in makeEdge()
162 ans = makeEdge(dest(a), orig(b)); in connectLeft()
171 ans = makeEdge(dest(a), orig(b)); in connectRight()
522 while (ccw(orig(ldi), dest(ldi), orig(rdi))) {
525 if (ccw(dest(rdi), orig(rdi), orig(ldi))) {
535 if (orig(basel) == orig(*rdo)) {
[all …]
DDelaunay.h121 #define orig(a) org[a] macro
122 #define dest(a) orig(sym(a))
123 #define left(a) orig(rotinv(a))
124 #define right(a) orig(rot(a))
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
DDelaunay.cpp28 #define valid(l) ccw(orig(basel), dest(l), dest(basel))
96 while (orig(ldo) != minx) { in build()
99 while (orig(rdo) != maxx) { in build()
137 orig(temp) = origin; in makeEdge()
140 orig(temp) = destination; in makeEdge()
162 ans = makeEdge(dest(a), orig(b)); in connectLeft()
171 ans = makeEdge(dest(a), orig(b)); in connectRight()
522 while (ccw(orig(ldi), dest(ldi), orig(rdi))) {
525 if (ccw(dest(rdi), orig(rdi), orig(ldi))) {
535 if (orig(basel) == orig(*rdo)) {
[all …]
DDelaunay.h121 #define orig(a) org[a] macro
122 #define dest(a) orig(sym(a))
123 #define left(a) orig(rotinv(a))
124 #define right(a) orig(rot(a))
/packages/apps/Mms/src/com/android/mms/data/
DContact.java662 private boolean contactChanged(Contact orig, Contact newContactData) { in contactChanged() argument
667 if (orig.mContactMethodType != newContactData.mContactMethodType) { in contactChanged()
671 if (orig.mContactMethodId != newContactData.mContactMethodId) { in contactChanged()
675 if (orig.mPersonId != newContactData.mPersonId) { in contactChanged()
682 if (orig.mPresenceResId != newContactData.mPresenceResId) { in contactChanged()
689 if (orig.mSendToVoicemail != newContactData.mSendToVoicemail) { in contactChanged()
693 String oldName = emptyIfNull(orig.mName); in contactChanged()
702 String oldLabel = emptyIfNull(orig.mLabel); in contactChanged()
711 if (!Arrays.equals(orig.mAvatarData, newContactData.mAvatarData)) { in contactChanged()
/packages/apps/Launcher2/src/com/android/launcher2/
DUtilities.java258 int orig = n; in roundToPow2() local
269 if (n != orig) { in roundToPow2()
DWorkspace.java1825 private Bitmap createDragOutline(Bitmap orig, Canvas canvas, int padding, int w, int h,
1831 Rect src = new Rect(0, 0, orig.getWidth(), orig.getHeight());
1832 float scaleFactor = Math.min((w - padding) / (float) orig.getWidth(),
1833 (h - padding) / (float) orig.getHeight());
1834 int scaledWidth = (int) (scaleFactor * orig.getWidth());
1835 int scaledHeight = (int) (scaleFactor * orig.getHeight());
1841 canvas.drawBitmap(orig, src, dst, null);