OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:GeometryMathUtils
(Results
1 - 19
of
19
) sorted by null
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
ImageMirror.java
27
import com.android.gallery3d.filtershow.imageshow.
GeometryMathUtils
.GeometryHolder;
69
GeometryMathUtils
.initializeHolder(mDrawHolder, mLocalRep);
70
GeometryMathUtils
.drawTransformedCropped(mDrawHolder, canvas, image, getWidth(),
ImageRotate.java
27
import com.android.gallery3d.filtershow.imageshow.
GeometryMathUtils
.GeometryHolder;
73
GeometryMathUtils
.initializeHolder(mDrawHolder, mLocalRep);
74
GeometryMathUtils
.drawTransformedCropped(mDrawHolder, canvas, image, canvas.getWidth(),
ImageStraighten.java
37
import com.android.gallery3d.filtershow.imageshow.
GeometryMathUtils
.GeometryHolder;
216
if (
GeometryMathUtils
.needsDimensionSwap(h.rotation)) {
225
float scale =
GeometryMathUtils
.scale(iw, ih, viewWidth, viewHeight);
226
scale *=
GeometryMathUtils
.SHOW_SCALE;
227
GeometryMathUtils
.scaleRect(tmp, scale);
231
Matrix m1 =
GeometryMathUtils
.getFullGeometryToScreenMatrix(h, imageWidth,
249
GeometryMathUtils
.initializeHolder(mDrawHolder, mLocalRep);
257
Matrix m =
GeometryMathUtils
.getFullGeometryToScreenMatrix(mDrawHolder, imageWidth,
ImageCrop.java
37
import com.android.gallery3d.filtershow.imageshow.
GeometryMathUtils
.GeometryHolder;
90
GeometryMathUtils
.initializeHolder(mUpdateHolder, mLocalRep);
186
if (
GeometryMathUtils
.needsDimensionSwap(mGeometry.rotation)) {
269
mDisplayMatrix =
GeometryMathUtils
.getFullGeometryToScreenMatrix(mGeometry,
273
mDisplayCropMatrix =
GeometryMathUtils
.getFullGeometryToScreenMatrix(mGeometry,
GeometryMathUtils.java
41
public final class
GeometryMathUtils
{
42
private static final String TAG = "
GeometryMathUtils
";
45
private
GeometryMathUtils
() {};
334
return
GeometryMathUtils
.getOriginalToScreen(h, reflectRotation, bmapDimens.width(),
444
if (
GeometryMathUtils
.needsDimensionSwap(holder.rotation)) {
448
float scale =
GeometryMathUtils
.scale(bw, bh, viewWidth, viewHeight);
472
float scale =
GeometryMathUtils
.scale(crop.width(), crop.height(), viewWidth, viewHeight);
474
GeometryMathUtils
.scaleRect(crop, scale);
MasterImage.java
586
GeometryMathUtils
.GeometryHolder holder =
GeometryMathUtils
.unpackGeometry(
588
m =
GeometryMathUtils
.getCropSelectionToScreenMatrix(null, holder,
623
Matrix m =
GeometryMathUtils
.getImageToScreenMatrix(mPreset.getGeometryFilters(),
ImageShow.java
228
Matrix m =
GeometryMathUtils
.getImageToScreenMatrix(master.getPreset().getGeometryFilters(),
450
GeometryMathUtils
.GeometryHolder holder = null;
451
holder =
GeometryMathUtils
.unpackGeometry(geometry);
492
float scale =
GeometryMathUtils
.scale(imageWidth, imageHeight,
[
all
...]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
ImageFilter.java
25
import com.android.gallery3d.filtershow.imageshow.
GeometryMathUtils
;
91
return
GeometryMathUtils
.getImageToScreenMatrix(getEnvironment().getImagePreset()
FilterMirrorRepresentation.java
26
import com.android.gallery3d.filtershow.imageshow.
GeometryMathUtils
;
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
CropMath.java
23
import com.android.gallery3d.filtershow.imageshow.
GeometryMathUtils
;
100
array[x] =
GeometryMathUtils
.clamp(array[x], imageBound.left, imageBound.right);
101
array[x + 1] =
GeometryMathUtils
.clamp(array[x + 1], imageBound.top, imageBound.bottom);
122
float mag =
GeometryMathUtils
.vectorLength(
123
GeometryMathUtils
.shortestVectorFromPointToLine(point, line));
CropObject.java
22
import com.android.gallery3d.filtershow.imageshow.
GeometryMathUtils
;
236
float[] bUnit =
GeometryMathUtils
.normalize(b);
237
float sp =
GeometryMathUtils
.scalarProjection(disp, bUnit);
BoundedRect.java
22
import com.android.gallery3d.filtershow.imageshow.
GeometryMathUtils
;
137
GeometryMathUtils
.shortestVectorFromPointToLine(badCorner, nearestSide);
198
float[] p =
GeometryMathUtils
.lineIntersect(pathOfCorner, outerSide);
291
float[] p =
GeometryMathUtils
.lineIntersect(l1, l2);
/packages/apps/Camera2/src/com/android/camera/crop/
CropMath.java
98
array[x] =
GeometryMathUtils
.clamp(array[x], imageBound.left, imageBound.right);
99
array[x + 1] =
GeometryMathUtils
.clamp(array[x + 1], imageBound.top, imageBound.bottom);
120
float mag =
GeometryMathUtils
.vectorLength(
121
GeometryMathUtils
.shortestVectorFromPointToLine(point, line));
GeometryMathUtils.java
42
public final class
GeometryMathUtils
{
43
private static final String TAG = "
GeometryMathUtils
";
46
private
GeometryMathUtils
() {};
BoundedRect.java
135
GeometryMathUtils
.shortestVectorFromPointToLine(badCorner, nearestSide);
196
float[] p =
GeometryMathUtils
.lineIntersect(pathOfCorner, outerSide);
289
float[] p =
GeometryMathUtils
.lineIntersect(l1, l2);
CropObject.java
234
float[] bUnit =
GeometryMathUtils
.normalize(b);
235
float sp =
GeometryMathUtils
.scalarProjection(disp, bUnit);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
CacheProcessing.java
24
import com.android.gallery3d.filtershow.imageshow.
GeometryMathUtils
;
111
cacheBitmap =
GeometryMathUtils
.applyGeometryRepresentations(geometry, cacheBitmap);
ImagePreset.java
40
import com.android.gallery3d.filtershow.imageshow.
GeometryMathUtils
;
467
return
GeometryMathUtils
.finalGeometryRect(width, height, getGeometryFilters());
474
Bitmap bmp =
GeometryMathUtils
.applyGeometryRepresentations(
CachingPipeline.java
35
import com.android.gallery3d.filtershow.imageshow.
GeometryMathUtils
;
413
return
GeometryMathUtils
.applyGeometryRepresentations(preset.getGeometryFilters(), bitmap);
Completed in 82 milliseconds