- onCenterChanged(PointF, int) - Method in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView.DefaultOnStateChangedListener
-
- onCenterChanged(PointF, int) - Method in interface com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView.OnStateChangedListener
-
The source center has been changed.
- onComplete() - Method in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView.DefaultOnAnimationEventListener
-
- onComplete() - Method in interface com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView.OnAnimationEventListener
-
The animation has completed, having reached its endpoint.
- onDraw(Canvas) - Method in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
-
Draw method should not be called until the view has dimensions so the first calls are used as triggers to calculate
the scaling and tiling required.
- onImageLoaded() - Method in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView.DefaultOnImageEventListener
-
- onImageLoaded() - Method in interface com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView.OnImageEventListener
-
Called when the full size image is ready.
- onImageLoaded() - Method in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
-
Called once when the full size image or its base layer tiles have been loaded.
- onImageLoadError(Exception) - Method in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView.DefaultOnImageEventListener
-
- onImageLoadError(Exception) - Method in interface com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView.OnImageEventListener
-
Indicates an error initiliasing the decoder when using a tiling, or when loading the full
size bitmap when tiling is disabled.
- onInterruptedByNewAnim() - Method in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView.DefaultOnAnimationEventListener
-
- onInterruptedByNewAnim() - Method in interface com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView.OnAnimationEventListener
-
The animation has been aborted before reaching its endpoint because a new animation has been started.
- onInterruptedByUser() - Method in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView.DefaultOnAnimationEventListener
-
- onInterruptedByUser() - Method in interface com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView.OnAnimationEventListener
-
The animation has been aborted before reaching its endpoint because the user touched the screen.
- onMeasure(int, int) - Method in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
-
Measures the width and height of the view, preserving the aspect ratio of the image displayed if wrap_content is
used.
- onPreviewLoadError(Exception) - Method in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView.DefaultOnImageEventListener
-
- onPreviewLoadError(Exception) - Method in interface com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView.OnImageEventListener
-
Called when a preview image could not be loaded.
- onPreviewReleased() - Method in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView.DefaultOnImageEventListener
-
- onPreviewReleased() - Method in interface com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView.OnImageEventListener
-
Called when a bitmap set using ImageSource.cachedBitmap is no longer being used by the View.
- onReady() - Method in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView.DefaultOnImageEventListener
-
- onReady() - Method in interface com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView.OnImageEventListener
-
Called when the dimensions of the image and view are known, and either a preview image,
the full size image, or base layer tiles are loaded.
- onReady() - Method in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
-
Called once when the view is initialised, has dimensions, and will display an image on the
next draw.
- onScaleChanged(float, int) - Method in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView.DefaultOnStateChangedListener
-
- onScaleChanged(float, int) - Method in interface com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView.OnStateChangedListener
-
The scale has changed.
- onSizeChanged(int, int, int, int) - Method in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
-
On resize, preserve center and scale.
- onTileLoadError(Exception) - Method in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView.DefaultOnImageEventListener
-
- onTileLoadError(Exception) - Method in interface com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView.OnImageEventListener
-
Called when an image tile could not be loaded.
- onTouchEvent(MotionEvent) - Method in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
-
Handle touch events.
- ORIENTATION_0 - Static variable in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
-
Display the image file in its native orientation.
- ORIENTATION_180 - Static variable in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
-
Rotate the image 180 degrees.
- ORIENTATION_270 - Static variable in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
-
Rotate the image 270 degrees clockwise.
- ORIENTATION_90 - Static variable in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
-
Rotate the image 90 degrees clockwise.
- ORIENTATION_USE_EXIF - Static variable in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
-
Attempt to use EXIF information on the image to rotate it.
- ORIGIN_ANIM - Static variable in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
-
State change originated from animation.
- ORIGIN_DOUBLE_TAP_ZOOM - Static variable in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
-
State change originated from a double tap zoom anim.
- ORIGIN_FLING - Static variable in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
-
State change originated from a fling momentum anim.
- ORIGIN_TOUCH - Static variable in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
-
State change originated from touch gesture.
- SCALE_TYPE_CENTER_CROP - Static variable in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
-
Scale the image uniformly so that both dimensions of the image will be equal to or larger than the corresponding dimension of the view.
- SCALE_TYPE_CENTER_INSIDE - Static variable in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
-
Scale the image so that both dimensions of the image will be equal to or less than the corresponding dimension of the view.
- SCALE_TYPE_CUSTOM - Static variable in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
-
Scale the image so that both dimensions of the image will be equal to or less than the maxScale and equal to or larger than minScale.
- SCALE_TYPE_START - Static variable in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
-
Scale the image so that both dimensions of the image will be equal to or larger than the corresponding dimension of the view.
- setBitmapDecoderClass(Class<? extends ImageDecoder>) - Method in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
-
Swap the default bitmap decoder implementation for one of your own.
- setBitmapDecoderFactory(DecoderFactory<? extends ImageDecoder>) - Method in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
-
Swap the default bitmap decoder implementation for one of your own.
- setDebug(boolean) - Static method in class com.davemorrissey.labs.subscaleview.decoder.SkiaPooledImageRegionDecoder
-
Controls logging of debug messages.
- setDebug(boolean) - Method in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
-
Enables visual debugging, showing tile boundaries and sizes.
- setDoubleTapZoomDpi(int) - Method in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
-
- setDoubleTapZoomDuration(int) - Method in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
-
Set the duration of the double tap zoom animation.
- setDoubleTapZoomScale(float) - Method in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
-
Set the scale the image will zoom in to when double tapped.
- setDoubleTapZoomStyle(int) - Method in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
-
Set the type of zoom animation to be used for double taps.
- setEagerLoadingEnabled(boolean) - Method in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
-
Enable or disable eager loading of tiles that appear on screen during gestures or animations,
while the gesture or animation is still in progress.
- setExecutor(Executor) - Method in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
-
Provide an
Executor
to be used for loading images.
- setImage(ImageSource) - Method in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
-
Set the image source from a bitmap, resource, asset, file or other URI.
- setImage(ImageSource, ImageViewState) - Method in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
-
Set the image source from a bitmap, resource, asset, file or other URI, starting with a given orientation
setting, scale and center.
- setImage(ImageSource, ImageSource) - Method in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
-
Set the image source from a bitmap, resource, asset, file or other URI, providing a preview image to be
displayed until the full size image is loaded.
- setImage(ImageSource, ImageSource, ImageViewState) - Method in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
-
Set the image source from a bitmap, resource, asset, file or other URI, providing a preview image to be
displayed until the full size image is loaded, starting with a given orientation setting, scale and center.
- setMaximumDpi(int) - Method in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
-
- setMaxScale(float) - Method in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
-
Set the maximum scale allowed.
- setMaxTileSize(int) - Method in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
-
By default the View automatically calculates the optimal tile size.
- setMaxTileSize(int, int) - Method in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
-
By default the View automatically calculates the optimal tile size.
- setMinimumDpi(int) - Method in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
-
- setMinimumScaleType(int) - Method in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
-
Set the minimum scale type.
- setMinimumTileDpi(int) - Method in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
-
By default, image tiles are at least as high resolution as the screen.
- setMinScale(float) - Method in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
-
Set the minimum scale allowed.
- setOnImageEventListener(SubsamplingScaleImageView.OnImageEventListener) - Method in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
-
Add a listener allowing notification of load and error events.
- setOnLongClickListener(View.OnLongClickListener) - Method in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
- setOnStateChangedListener(SubsamplingScaleImageView.OnStateChangedListener) - Method in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
-
Add a listener for pan and zoom events.
- setOrientation(int) - Method in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
-
Sets the image orientation.
- setPanEnabled(boolean) - Method in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
-
Enable or disable pan gesture detection.
- setPanLimit(int) - Method in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
-
Set the pan limiting style.
- setPreferredBitmapConfig(Bitmap.Config) - Static method in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
-
Set a global preferred bitmap config shared by all view instances and applied to new instances
initialised after the call is made.
- setQuickScaleEnabled(boolean) - Method in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
-
Enable or disable double tap & swipe to zoom.
- setRegionDecoderClass(Class<? extends ImageRegionDecoder>) - Method in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
-
Swap the default region decoder implementation for one of your own.
- setRegionDecoderFactory(DecoderFactory<? extends ImageRegionDecoder>) - Method in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
-
Swap the default region decoder implementation for one of your own.
- setScaleAndCenter(float, PointF) - Method in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
-
Externally change the scale and translation of the source image.
- setTileBackgroundColor(int) - Method in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
-
Set a solid color to render behind tiles, useful for displaying transparent PNGs.
- setZoomEnabled(boolean) - Method in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
-
Enable or disable zoom gesture detection.
- SkiaImageDecoder - Class in com.davemorrissey.labs.subscaleview.decoder
-
- SkiaImageDecoder() - Constructor for class com.davemorrissey.labs.subscaleview.decoder.SkiaImageDecoder
-
- SkiaImageDecoder(Bitmap.Config) - Constructor for class com.davemorrissey.labs.subscaleview.decoder.SkiaImageDecoder
-
- SkiaImageRegionDecoder - Class in com.davemorrissey.labs.subscaleview.decoder
-
- SkiaImageRegionDecoder() - Constructor for class com.davemorrissey.labs.subscaleview.decoder.SkiaImageRegionDecoder
-
- SkiaImageRegionDecoder(Bitmap.Config) - Constructor for class com.davemorrissey.labs.subscaleview.decoder.SkiaImageRegionDecoder
-
- SkiaPooledImageRegionDecoder - Class in com.davemorrissey.labs.subscaleview.decoder
-
- SkiaPooledImageRegionDecoder() - Constructor for class com.davemorrissey.labs.subscaleview.decoder.SkiaPooledImageRegionDecoder
-
- SkiaPooledImageRegionDecoder(Bitmap.Config) - Constructor for class com.davemorrissey.labs.subscaleview.decoder.SkiaPooledImageRegionDecoder
-
- sourceToViewCoord(PointF) - Method in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
-
Convert source coordinate to view coordinate.
- sourceToViewCoord(float, float) - Method in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
-
Convert source coordinate to view coordinate.
- sourceToViewCoord(PointF, PointF) - Method in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
-
Convert source coordinate to view coordinate.
- sourceToViewCoord(float, float, PointF) - Method in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
-
Convert source coordinate to view coordinate.
- start() - Method in class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView.AnimationBuilder
-
Starts the animation.
- SubsamplingScaleImageView - Class in com.davemorrissey.labs.subscaleview
-
Displays an image subsampled as necessary to avoid loading too much image data into memory.
- SubsamplingScaleImageView(Context, AttributeSet) - Constructor for class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
-
- SubsamplingScaleImageView(Context) - Constructor for class com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
-
- SubsamplingScaleImageView.AnimationBuilder - Class in com.davemorrissey.labs.subscaleview
-
Builder class used to set additional options for a scale animation.
- SubsamplingScaleImageView.DefaultOnAnimationEventListener - Class in com.davemorrissey.labs.subscaleview
-
- SubsamplingScaleImageView.DefaultOnImageEventListener - Class in com.davemorrissey.labs.subscaleview
-
- SubsamplingScaleImageView.DefaultOnStateChangedListener - Class in com.davemorrissey.labs.subscaleview
-
- SubsamplingScaleImageView.OnAnimationEventListener - Interface in com.davemorrissey.labs.subscaleview
-
An event listener for animations, allows events to be triggered when an animation completes,
is aborted by another animation starting, or is aborted by a touch event.
- SubsamplingScaleImageView.OnImageEventListener - Interface in com.davemorrissey.labs.subscaleview
-
An event listener, allowing subclasses and activities to be notified of significant events.
- SubsamplingScaleImageView.OnStateChangedListener - Interface in com.davemorrissey.labs.subscaleview
-
An event listener, allowing activities to be notified of pan and zoom events.