Home
last modified time | relevance | path

Searched refs:ImageSource (Results 1 – 21 of 21) sorted by relevance

/external/subsampling-scale-image-view/library/src/main/java/com/davemorrissey/labs/subscaleview/
DImageSource.java19 public final class ImageSource { class
33 private ImageSource(Bitmap bitmap, boolean cached) { in ImageSource() method in ImageSource
43 private ImageSource(Uri uri) { in ImageSource() method in ImageSource
62 private ImageSource(int resource) { in ImageSource() method in ImageSource
74 public static ImageSource resource(int resId) { in resource()
75 return new ImageSource(resId); in resource()
83 public static ImageSource asset(String assetName) { in asset()
96 public static ImageSource uri(String uri) { in uri()
106 return new ImageSource(Uri.parse(uri)); in uri()
114 public static ImageSource uri(Uri uri) { in uri()
[all …]
DSubsamplingScaleImageView.java309 setImage(ImageSource.asset(assetName).tilingEnabled()); in SubsamplingScaleImageView()
315 setImage(ImageSource.resource(resId).tilingEnabled()); in SubsamplingScaleImageView()
379 public final void setImage(ImageSource imageSource) { in setImage()
390 public final void setImage(ImageSource imageSource, ImageViewState state) { in setImage()
404 public final void setImage(ImageSource imageSource, ImageSource previewSource) { in setImage()
421 …public final void setImage(ImageSource imageSource, ImageSource previewSource, ImageViewState stat… in setImage()
1852 …} else if (sourceUri.startsWith(ImageSource.FILE_SCHEME) && !sourceUri.startsWith(ImageSource.ASSE… in getExifOrientation()
1854 …ExifInterface exifInterface = new ExifInterface(sourceUri.substring(ImageSource.FILE_SCHEME.length… in getExifOrientation()
/external/deqp/modules/egl/
DteglImageUtil.hpp70 class ImageSource class
73 virtual ~ImageSource (void) {} in ~ImageSource()
80 de::MovePtr<ImageSource> createTextureImageSource (eglw::EGLenum source, glw::GLenum internalForm…
81 de::MovePtr<ImageSource> createRenderbufferImageSource (glw::GLenum format);
82 de::MovePtr<ImageSource> createUnsupportedImageSource (const std::string& message, glw::GLenum for…
DteglAndroidUtil.cpp54 MovePtr<ImageSource> createAndroidNativeImageSource (GLenum format) in createAndroidNativeImageSource()
101 class AndroidNativeImageSource : public ImageSource
172 MovePtr<ImageSource> createAndroidNativeImageSource (GLenum format) in createAndroidNativeImageSource()
176 return MovePtr<ImageSource>(new AndroidNativeImageSource(format)); in createAndroidNativeImageSource()
DteglImageUtil.cpp153 class GLImageSource : public ImageSource
514 class UnsupportedImageSource : public ImageSource
536 MovePtr<ImageSource> createTextureImageSource (EGLenum source, GLenum internalFormat, GLenum format… in createTextureImageSource()
539 return MovePtr<ImageSource>(new Texture2DImageSource(internalFormat, format, type, useTexLevel0)); in createTextureImageSource()
541 …return MovePtr<ImageSource>(new TextureCubeMapImageSource(source, internalFormat, format, type, us… in createTextureImageSource()
544 MovePtr<ImageSource> createRenderbufferImageSource (GLenum format) in createRenderbufferImageSource()
546 return MovePtr<ImageSource>(new RenderbufferImageSource(format)); in createRenderbufferImageSource()
549 MovePtr<ImageSource> createUnsupportedImageSource (const string& message, GLenum format) in createUnsupportedImageSource()
551 return MovePtr<ImageSource>(new UnsupportedImageSource(message, format)); in createUnsupportedImageSource()
DteglAndroidUtil.hpp35 de::MovePtr<ImageSource> createAndroidNativeImageSource (glw::GLenum format);
DteglImageTests.cpp368 …MovePtr<ImageSource> getImageSource (EGLint target, GLenum internalFormat, GLenum format, GLenum t… in getImageSource()
392 return MovePtr<ImageSource>(); in getImageSource()
443 const UniquePtr<ImageSource> m_source;
DteglImageFormatTests.cpp185 Create (MovePtr<ImageSource> imgSource) : m_imgSource(imgSource) {} in Create()
191 UniquePtr<ImageSource> m_imgSource;
275 MovePtr<UniqueImage> createImage (const ImageSource& source, const ClientBuffer& buffer) const;
326 MovePtr<UniqueImage> GLES2ImageApi::createImage (const ImageSource& source, const ClientBuffer& buf… in createImage()
/external/subsampling-scale-image-view/sample/src/main/java/com/davemorrissey/labs/subscaleview/test/imagedisplay/
DImageDisplayLargeFragment.java10 import com.davemorrissey.labs.subscaleview.ImageSource;
27 imageView.setImage(ImageSource.asset("card.png")); in onCreateView()
DImageDisplayRotateFragment.java10 import com.davemorrissey.labs.subscaleview.ImageSource;
21 imageView.setImage(ImageSource.asset("swissroad.jpg")); in onCreateView()
DImageDisplayRegionFragment.java12 import com.davemorrissey.labs.subscaleview.ImageSource;
31 imageView.setImage(ImageSource.asset("card.png").region(new Rect(5200, 651, 8200, 3250))); in onCreateView()
/external/subsampling-scale-image-view/sample/src/main/java/com/davemorrissey/labs/subscaleview/test/basicfeatures/
DBasicFeaturesActivity.java6 import com.davemorrissey.labs.subscaleview.ImageSource;
33 view.setImage(ImageSource.asset("sanmartino.jpg")); in onCreate()
/external/subsampling-scale-image-view/sample/src/main/java/com/davemorrissey/labs/subscaleview/test/extension/
DExtensionPinFragment.java11 import com.davemorrissey.labs.subscaleview.ImageSource;
28 imageView.setImage(ImageSource.asset("sanmartino.jpg")); in onCreateView()
DExtensionCircleFragment.java10 import com.davemorrissey.labs.subscaleview.ImageSource;
30 imageView.setImage(ImageSource.asset("sanmartino.jpg")); in onCreateView()
DExtensionFreehandFragment.java10 import com.davemorrissey.labs.subscaleview.ImageSource;
27 imageView.setImage(ImageSource.asset("sanmartino.jpg")); in onCreateView()
/external/subsampling-scale-image-view/sample/src/main/java/com/davemorrissey/labs/subscaleview/test/eventhandling/
DEventHandlingActivity.java7 import com.davemorrissey.labs.subscaleview.ImageSource;
32 imageView.setImage(ImageSource.asset("sanmartino.jpg")); in onCreate()
/external/subsampling-scale-image-view/sample/src/main/java/com/davemorrissey/labs/subscaleview/test/viewpager/
DViewPagerFragment.java10 import com.davemorrissey.labs.subscaleview.ImageSource;
39 imageView.setImage(ImageSource.asset(asset)); in onCreateView()
/external/subsampling-scale-image-view/sample/src/main/java/com/davemorrissey/labs/subscaleview/test/configuration/
DConfigurationActivity.java7 import com.davemorrissey.labs.subscaleview.ImageSource;
41 view.setImage(ImageSource.asset("card.png")); in onCreate()
/external/subsampling-scale-image-view/sample/src/main/java/com/davemorrissey/labs/subscaleview/test/animation/
DAnimationActivity.java8 import com.davemorrissey.labs.subscaleview.ImageSource;
42 view.setImage(ImageSource.asset("sanmartino.jpg")); in onCreate()
/external/subsampling-scale-image-view/sample/src/main/java/com/davemorrissey/labs/subscaleview/test/eventhandlingadvanced/
DAdvancedEventHandlingActivity.java10 import com.davemorrissey.labs.subscaleview.ImageSource;
69 imageView.setImage(ImageSource.asset("sanmartino.jpg")); in onCreate()
/external/subsampling-scale-image-view/
DREADME.md103 imageView.setImage(ImageSource.resource(R.drawable.monkey));
105 imageView.setImage(ImageSource.asset("map.png"))
107 imageView.setImage(ImageSource.uri("/sdcard/DCIM/DSCM00123.JPG"));
112 imageView.setImage(ImageSource.bitmap(bitmap));