Home
last modified time | relevance | path

Searched refs:MasterImage (Results 1 – 25 of 43) sorted by relevance

12

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DImageShow.java143 return MasterImage.getImage().hasModifications(); in hasModifications()
190 MasterImage.getImage().addObserver(this); in attach()
192 MasterImage.getImage().resetGeometryImages(false); in attach()
196 MasterImage.getImage().removeObserver(this); in detach()
213 return MasterImage.getImage().getCurrentFilter(); in getCurrentFilter()
224 MasterImage master = MasterImage.getImage(); in getImageToScreenMatrix()
251 return MasterImage.getImage().getPreset(); in getImagePreset()
259 MasterImage.getImage().setImageShowSize( in onDraw()
263 MasterImage img = MasterImage.getImage(); in onDraw()
280 Bitmap highresPreview = MasterImage.getImage().getHighresImage(); in onDraw()
[all …]
DImageVignette.java141 int w = MasterImage.getImage().getOriginalBounds().width(); in onTouchEvent()
142 int h = MasterImage.getImage().getOriginalBounds().height(); in onTouchEvent()
167 MasterImage.getImage().getOriginalBounds()); in onTouchEvent()
199 float w = MasterImage.getImage().getOriginalBounds().width(); in computeEllipses()
200 float h = MasterImage.getImage().getOriginalBounds().height(); in computeEllipses()
228 float w = MasterImage.getImage().getOriginalBounds().width(); in onDraw()
229 float h = MasterImage.getImage().getOriginalBounds().height(); in onDraw()
DMasterImage.java51 public class MasterImage implements RenderingRequestCaller { class
58 private static MasterImage sMasterImage = null;
119 private MasterImage() { in MasterImage() method in MasterImage
123 public static void setMaster(MasterImage master) { in setMaster()
127 public static MasterImage getImage() { in getImage()
129 sMasterImage = new MasterImage(); in getImage()
667 Matrix originalToScreen = MasterImage.getImage().originalImageToScreen(); in needsUpdatePartialPreview()
DImageCrop.java231 MasterImage master = MasterImage.getImage(); in forceStateConsistency()
257 Bitmap bitmap = MasterImage.getImage().getFiltersOnlyImage(); in onDraw()
259 MasterImage.getImage().invalidateFiltersOnly(); in onDraw()
DImageGrad.java114 MasterImage.getImage().getOriginalBounds()); in onTouchEvent()
143 float cx = MasterImage.getImage().getOriginalBounds().width() / 2; in setRepresentation()
144 float cy = MasterImage.getImage().getOriginalBounds().height() / 2; in setRepresentation()
DImageRotate.java68 MasterImage master = MasterImage.getImage(); in onDraw()
DImageMirror.java64 MasterImage master = MasterImage.getImage(); in onDraw()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/
DFilterShowActivity.java106 import com.android.gallery3d.filtershow.imageshow.MasterImage;
136 MasterImage mMasterImage = null;
255 MasterImage.setMaster(mMasterImage); in updateUIAfterServiceStarted()
386 MasterImage.getImage().setHistoryManager(mMasterImage.getHistory()); in setupStatePanel()
417 ImagePreset current = new ImagePreset(MasterImage.getImage().getPreset()); in updateVersions()
433 ImagePreset current = new ImagePreset(MasterImage.getImage().getPreset()); in addCurrentVersion()
610 ImagePreset oldPreset = MasterImage.getImage().getPreset(); in removeFilterRepresentation()
613 MasterImage.getImage().setPreset(copy, copy.getLastRepresentation(), true); in removeFilterRepresentation()
614 if (MasterImage.getImage().getCurrentFilterRepresentation() == filterRepresentation) { in removeFilterRepresentation()
616 MasterImage.getImage().setCurrentFilterRepresentation(lastRepresentation); in removeFilterRepresentation()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
DCachingPipeline.java36 import com.android.gallery3d.filtershow.imageshow.MasterImage;
166 mEnvironment.setBitmapCache(MasterImage.getImage().getBitmapCache()); in setupEnvironment()
180 ImagePreset preset = MasterImage.getImage().getPreset(); in setOriginal()
222 Bitmap bitmap = MasterImage.getImage().getOriginalBitmapHighres(); in renderHighres()
247 Bitmap bitmap = MasterImage.getImage().getOriginalBitmapHighres(); in renderGeometry()
269 Bitmap bitmap = MasterImage.getImage().getOriginalBitmapHighres(); in renderFilters()
307 MasterImage master = MasterImage.getImage(); in render()
351 Bitmap source = MasterImage.getImage().getThumbnailBitmap(); in render()
353 source = MasterImage.getImage().getLargeThumbnailBitmap(); in render()
428 SharedBuffer buffer = MasterImage.getImage().getPreviewBuffer(); in needsRepaint()
DUpdatePreviewTask.java22 import com.android.gallery3d.filtershow.imageshow.MasterImage;
57 SharedBuffer buffer = MasterImage.getImage().getPreviewBuffer(); in doInBackground()
58 SharedPreset preset = MasterImage.getImage().getPreviewPreset(); in doInBackground()
72 MasterImage.getImage().notifyObservers(); in onResult()
DRenderingRequest.java26 import com.android.gallery3d.filtershow.imageshow.MasterImage;
74 bitmap = MasterImage.getImage().getBitmapCache().getBitmap( in post()
81 request.setScaleFactor(MasterImage.getImage().getScaleFactor()); in post()
106 request.setScaleFactor(MasterImage.getImage().getScaleFactor()); in postIconRequest()
DBuffer.java25 import com.android.gallery3d.filtershow.imageshow.MasterImage;
37 BitmapCache cache = MasterImage.getImage().getBitmapCache(); in Buffer()
91 BitmapCache cache = MasterImage.getImage().getBitmapCache(); in remove()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/
DEditor.java39 import com.android.gallery3d.filtershow.imageshow.MasterImage;
99 MasterImage.getImage().resetGeometryImages(false); in setUpEditorUI()
197 ImagePreset preset = MasterImage.getImage().getPreset(); in getLocalRepresentation()
198 …FilterRepresentation filterRepresentation = MasterImage.getImage().getCurrentFilterRepresentation(… in getLocalRepresentation()
233 ImagePreset preset = MasterImage.getImage().getPreset(); in commitLocalRepresentation()
240 MasterImage.getImage().resetGeometryImages(true); in commitLocalRepresentation()
243 MasterImage.getImage().invalidateFiltersOnly(); in commitLocalRepresentation()
244 preset.fillImageStateAdapter(MasterImage.getImage().getState()); in commitLocalRepresentation()
DEditorMirror.java31 import com.android.gallery3d.filtershow.imageshow.MasterImage;
55 MasterImage master = MasterImage.getImage(); in reflectCurrentFilter()
DEditorStraighten.java27 import com.android.gallery3d.filtershow.imageshow.MasterImage;
59 MasterImage master = MasterImage.getImage(); in reflectCurrentFilter()
DEditorRotate.java31 import com.android.gallery3d.filtershow.imageshow.MasterImage;
55 MasterImage master = MasterImage.getImage(); in reflectCurrentFilter()
DEditorPanel.java33 import com.android.gallery3d.filtershow.imageshow.MasterImage;
56 MasterImage masterImage = MasterImage.getImage(); in cancelCurrentFilter()
DEditorCrop.java35 import com.android.gallery3d.filtershow.imageshow.MasterImage;
86 MasterImage master = MasterImage.getImage(); in reflectCurrentFilter()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ui/
DExportDialog.java37 import com.android.gallery3d.filtershow.imageshow.MasterImage;
108 mOriginalBounds = MasterImage.getImage().getOriginalBounds(); in onCreateView()
109 ImagePreset preset = MasterImage.getImage().getPreset(); in onCreateView()
159 Uri sourceUri = MasterImage.getImage().getUri(); in onClick()
162 Intent processIntent = ProcessingService.getSaveIntent(activity, MasterImage in onClick()
172 Bitmap bitmap = MasterImage.getImage().getFilteredImage(); in updateCompressionFactor()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/info/
DInfoPanel.java37 import com.android.gallery3d.filtershow.imageshow.MasterImage;
73 Bitmap bitmap = MasterImage.getImage().getFilteredImage(); in onCreateView()
84 Uri uri = MasterImage.getImage().getUri(); in onCreateView()
94 Rect originalBounds = MasterImage.getImage().getOriginalBounds(); in onCreateView()
97 List<ExifTag> exif = MasterImage.getImage().getEXIF(); in onCreateView()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
DAction.java38 import com.android.gallery3d.filtershow.imageshow.MasterImage;
124 Bitmap temp = MasterImage.getImage().getTemporaryThumbnailBitmap(); in setImageFrame()
128 Bitmap bitmap = MasterImage.getImage().getThumbnailBitmap(); in setImageFrame()
225 && mImage != MasterImage.getImage().getTemporaryThumbnailBitmap()) { in clearBitmap()
226 MasterImage.getImage().getBitmapCache().cache(mImage); in clearBitmap()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/
DStateView.java29 import com.android.gallery3d.filtershow.imageshow.MasterImage;
317 MasterImage.getImage().setShowsOriginal(true); in onTouchEvent()
324 MasterImage.getImage().setShowsOriginal(false); in onTouchEvent()
328 MasterImage image = MasterImage.getImage(); in onTouchEvent()
DStatePanel.java29 import com.android.gallery3d.filtershow.imageshow.MasterImage;
51 track.setAdapter(MasterImage.getImage().getState()); in onCreateView()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DImageFilterDownsample.java25 import com.android.gallery3d.filtershow.imageshow.MasterImage;
62 Rect size = MasterImage.getImage().getOriginalBounds(); in apply()
DImageFilter.java26 import com.android.gallery3d.filtershow.imageshow.MasterImage;
92 .getGeometryFilters(), true, MasterImage.getImage().getOriginalBounds(), w, h); in getOriginalToScreenMatrix()

12