Home
last modified time | relevance | path

Searched refs:PrimaryImage (Results 1 – 25 of 37) sorted by relevance

12

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DImageShow.java143 return PrimaryImage.getImage().hasModifications(); in hasModifications()
190 PrimaryImage.getImage().addObserver(this); in attach()
192 PrimaryImage.getImage().resetGeometryImages(false); in attach()
196 PrimaryImage.getImage().removeObserver(this); in detach()
213 return PrimaryImage.getImage().getCurrentFilter(); in getCurrentFilter()
224 PrimaryImage primary = PrimaryImage.getImage(); in getImageToScreenMatrix()
252 return PrimaryImage.getImage().getPreset(); in getImagePreset()
260 PrimaryImage.getImage().setImageShowSize( in onDraw()
264 PrimaryImage img = PrimaryImage.getImage(); in onDraw()
281 Bitmap highresPreview = PrimaryImage.getImage().getHighresImage(); in onDraw()
[all …]
DPrimaryImage.java51 public class PrimaryImage implements RenderingRequestCaller { class
58 private static PrimaryImage sPrimaryImage = null;
119 private PrimaryImage() { in PrimaryImage() method in PrimaryImage
123 public static void setPrimary(PrimaryImage primary) { in setPrimary()
127 public static PrimaryImage getImage() { in getImage()
129 sPrimaryImage = new PrimaryImage(); in getImage()
667 Matrix originalToScreen = PrimaryImage.getImage().originalImageToScreen(); in needsUpdatePartialPreview()
DImageCrop.java231 PrimaryImage primary = PrimaryImage.getImage(); in forceStateConsistency()
257 Bitmap bitmap = PrimaryImage.getImage().getFiltersOnlyImage(); in onDraw()
259 PrimaryImage.getImage().invalidateFiltersOnly(); in onDraw()
DImageRotate.java68 PrimaryImage primary = PrimaryImage.getImage(); in onDraw()
DImageMirror.java64 PrimaryImage primary = PrimaryImage.getImage(); in onDraw()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/
DFilterShowActivity.java104 import com.android.gallery3d.filtershow.imageshow.PrimaryImage;
134 PrimaryImage mPrimaryImage = null;
253 PrimaryImage.setPrimary(mPrimaryImage); in updateUIAfterServiceStarted()
386 PrimaryImage.getImage().setHistoryManager(mPrimaryImage.getHistory()); in setupStatePanel()
417 ImagePreset current = new ImagePreset(PrimaryImage.getImage().getPreset()); in updateVersions()
433 ImagePreset current = new ImagePreset(PrimaryImage.getImage().getPreset()); in addCurrentVersion()
608 ImagePreset oldPreset = PrimaryImage.getImage().getPreset(); in removeFilterRepresentation()
611 PrimaryImage.getImage().setPreset(copy, copy.getLastRepresentation(), true); in removeFilterRepresentation()
612 if (PrimaryImage.getImage().getCurrentFilterRepresentation() == filterRepresentation) { in removeFilterRepresentation()
614 PrimaryImage.getImage().setCurrentFilterRepresentation(lastRepresentation); in removeFilterRepresentation()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/
DEditor.java39 import com.android.gallery3d.filtershow.imageshow.PrimaryImage;
99 PrimaryImage.getImage().resetGeometryImages(false); in setUpEditorUI()
197 ImagePreset preset = PrimaryImage.getImage().getPreset(); in getLocalRepresentation()
199 PrimaryImage.getImage().getCurrentFilterRepresentation(); in getLocalRepresentation()
234 ImagePreset preset = PrimaryImage.getImage().getPreset(); in commitLocalRepresentation()
241 PrimaryImage.getImage().resetGeometryImages(true); in commitLocalRepresentation()
244 PrimaryImage.getImage().invalidateFiltersOnly(); in commitLocalRepresentation()
245 preset.fillImageStateAdapter(PrimaryImage.getImage().getState()); in commitLocalRepresentation()
DEditorMirror.java31 import com.android.gallery3d.filtershow.imageshow.PrimaryImage;
55 PrimaryImage primary = PrimaryImage.getImage(); in reflectCurrentFilter()
DEditorStraighten.java27 import com.android.gallery3d.filtershow.imageshow.PrimaryImage;
59 PrimaryImage primary = PrimaryImage.getImage(); in reflectCurrentFilter()
DEditorRotate.java31 import com.android.gallery3d.filtershow.imageshow.PrimaryImage;
55 PrimaryImage primary = PrimaryImage.getImage(); in reflectCurrentFilter()
DEditorPanel.java33 import com.android.gallery3d.filtershow.imageshow.PrimaryImage;
56 PrimaryImage primaryImage = PrimaryImage.getImage(); in cancelCurrentFilter()
DEditorCrop.java35 import com.android.gallery3d.filtershow.imageshow.PrimaryImage;
86 PrimaryImage primary = PrimaryImage.getImage(); in reflectCurrentFilter()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
DCachingPipeline.java36 import com.android.gallery3d.filtershow.imageshow.PrimaryImage;
166 mEnvironment.setBitmapCache(PrimaryImage.getImage().getBitmapCache()); in setupEnvironment()
180 ImagePreset preset = PrimaryImage.getImage().getPreset(); in setOriginal()
222 Bitmap bitmap = PrimaryImage.getImage().getOriginalBitmapHighres(); in renderHighres()
247 Bitmap bitmap = PrimaryImage.getImage().getOriginalBitmapHighres(); in renderGeometry()
269 Bitmap bitmap = PrimaryImage.getImage().getOriginalBitmapHighres(); in renderFilters()
307 PrimaryImage primary = PrimaryImage.getImage(); in render()
352 Bitmap source = PrimaryImage.getImage().getThumbnailBitmap(); in render()
354 source = PrimaryImage.getImage().getLargeThumbnailBitmap(); in render()
429 SharedBuffer buffer = PrimaryImage.getImage().getPreviewBuffer(); in needsRepaint()
DUpdatePreviewTask.java22 import com.android.gallery3d.filtershow.imageshow.PrimaryImage;
57 SharedBuffer buffer = PrimaryImage.getImage().getPreviewBuffer(); in doInBackground()
58 SharedPreset preset = PrimaryImage.getImage().getPreviewPreset(); in doInBackground()
72 PrimaryImage.getImage().notifyObservers(); in onResult()
DRenderingRequest.java26 import com.android.gallery3d.filtershow.imageshow.PrimaryImage;
74 bitmap = PrimaryImage.getImage().getBitmapCache().getBitmap( in post()
81 request.setScaleFactor(PrimaryImage.getImage().getScaleFactor()); in post()
106 request.setScaleFactor(PrimaryImage.getImage().getScaleFactor()); in postIconRequest()
DBuffer.java25 import com.android.gallery3d.filtershow.imageshow.PrimaryImage;
37 BitmapCache cache = PrimaryImage.getImage().getBitmapCache(); in Buffer()
91 BitmapCache cache = PrimaryImage.getImage().getBitmapCache(); in remove()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/info/
DInfoPanel.java37 import com.android.gallery3d.filtershow.imageshow.PrimaryImage;
73 Bitmap bitmap = PrimaryImage.getImage().getFilteredImage(); in onCreateView()
84 Uri uri = PrimaryImage.getImage().getUri(); in onCreateView()
94 Rect originalBounds = PrimaryImage.getImage().getOriginalBounds(); in onCreateView()
97 List<ExifTag> exif = PrimaryImage.getImage().getEXIF(); in onCreateView()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ui/
DExportDialog.java37 import com.android.gallery3d.filtershow.imageshow.PrimaryImage;
108 mOriginalBounds = PrimaryImage.getImage().getOriginalBounds(); in onCreateView()
109 ImagePreset preset = PrimaryImage.getImage().getPreset(); in onCreateView()
159 Uri sourceUri = PrimaryImage.getImage().getUri(); in onClick()
162 Intent processIntent = ProcessingService.getSaveIntent(activity, PrimaryImage in onClick()
172 Bitmap bitmap = PrimaryImage.getImage().getFilteredImage(); in updateCompressionFactor()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
DAction.java38 import com.android.gallery3d.filtershow.imageshow.PrimaryImage;
124 Bitmap temp = PrimaryImage.getImage().getTemporaryThumbnailBitmap(); in setImageFrame()
128 Bitmap bitmap = PrimaryImage.getImage().getThumbnailBitmap(); in setImageFrame()
226 && mImage != PrimaryImage.getImage().getTemporaryThumbnailBitmap()) { in clearBitmap()
227 PrimaryImage.getImage().getBitmapCache().cache(mImage); in clearBitmap()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/
DStateView.java29 import com.android.gallery3d.filtershow.imageshow.PrimaryImage;
317 PrimaryImage.getImage().setShowsOriginal(true); in onTouchEvent()
324 PrimaryImage.getImage().setShowsOriginal(false); in onTouchEvent()
328 PrimaryImage image = PrimaryImage.getImage(); in onTouchEvent()
DStatePanel.java30 import com.android.gallery3d.filtershow.imageshow.PrimaryImage;
52 track.setAdapter(PrimaryImage.getImage().getState()); in onCreateView()
DStateAdapter.java28 import com.android.gallery3d.filtershow.imageshow.PrimaryImage;
55 FilterRepresentation currentRep = PrimaryImage.getImage().getCurrentFilterRepresentation(); in getView()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DImageFilterDownsample.java25 import com.android.gallery3d.filtershow.imageshow.PrimaryImage;
62 Rect size = PrimaryImage.getImage().getOriginalBounds(); in apply()
DImageFilter.java26 import com.android.gallery3d.filtershow.imageshow.PrimaryImage;
92 .getGeometryFilters(), true, PrimaryImage.getImage().getOriginalBounds(), w, h); in getOriginalToScreenMatrix()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/
DXmpPresets.java28 import com.android.gallery3d.filtershow.imageshow.PrimaryImage;
92 Context context, PrimaryImage mPrimaryImage, Uri uriToEdit) { in extractXMPData()

12