JavaScript is disabled on your browser.
Skip navigation links
Overview
Package
Class
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes
A
B
C
D
E
F
G
I
J
L
M
N
O
P
Q
R
S
T
U
Z
A
arrayToString(int[])
- Static method in class com.github.barteksc.pdfviewer.util.
ArrayUtils
ArrayUtils
- Class in
com.github.barteksc.pdfviewer.util
AssetSource
- Class in
com.github.barteksc.pdfviewer.source
AssetSource(String)
- Constructor for class com.github.barteksc.pdfviewer.source.
AssetSource
B
ByteArraySource
- Class in
com.github.barteksc.pdfviewer.source
ByteArraySource(byte[])
- Constructor for class com.github.barteksc.pdfviewer.source.
ByteArraySource
C
CACHE_SIZE
- Static variable in interface com.github.barteksc.pdfviewer.util.
Constants.Cache
The size of the cache (number of bitmaps kept)
calculateIndexesInDuplicateArray(int[])
- Static method in class com.github.barteksc.pdfviewer.util.
ArrayUtils
Transforms (0, 4, 4, 6, 6, 6, 3) into (0, 1, 1, 2, 2, 2, 3)
com.github.barteksc.pdfviewer
- package com.github.barteksc.pdfviewer
com.github.barteksc.pdfviewer.exception
- package com.github.barteksc.pdfviewer.exception
com.github.barteksc.pdfviewer.listener
- package com.github.barteksc.pdfviewer.listener
com.github.barteksc.pdfviewer.model
- package com.github.barteksc.pdfviewer.model
com.github.barteksc.pdfviewer.source
- package com.github.barteksc.pdfviewer.source
com.github.barteksc.pdfviewer.util
- package com.github.barteksc.pdfviewer.util
Constants
- Interface in
com.github.barteksc.pdfviewer.util
Constants.Cache
- Interface in
com.github.barteksc.pdfviewer.util
Constants.Pinch
- Interface in
com.github.barteksc.pdfviewer.util
context
- Variable in class com.github.barteksc.pdfviewer.
ScrollBarPageIndicator
copy(InputStream, File)
- Static method in class com.github.barteksc.pdfviewer.util.
FileUtils
createDocument(Context, PdfiumCore, String)
- Method in class com.github.barteksc.pdfviewer.source.
AssetSource
createDocument(Context, PdfiumCore, String)
- Method in class com.github.barteksc.pdfviewer.source.
ByteArraySource
createDocument(Context, PdfiumCore, String)
- Method in interface com.github.barteksc.pdfviewer.source.
DocumentSource
createDocument(Context, PdfiumCore, String)
- Method in class com.github.barteksc.pdfviewer.source.
FileSource
createDocument(Context, PdfiumCore, String)
- Method in class com.github.barteksc.pdfviewer.source.
InputStreamSource
createDocument(Context, PdfiumCore, String)
- Method in class com.github.barteksc.pdfviewer.source.
UriSource
D
DEBUG_MODE
- Static variable in interface com.github.barteksc.pdfviewer.util.
Constants
DEFAULT_MAX_SCALE
- Static variable in class com.github.barteksc.pdfviewer.
PDFView
DEFAULT_MID_SCALE
- Static variable in class com.github.barteksc.pdfviewer.
PDFView
DEFAULT_MIN_SCALE
- Static variable in class com.github.barteksc.pdfviewer.
PDFView
defaultPage(int)
- Method in class com.github.barteksc.pdfviewer.
PDFView.Configurator
deleteDuplicatedPages(int[])
- Static method in class com.github.barteksc.pdfviewer.util.
ArrayUtils
Transforms (0,1,2,2,3) to (0,1,2,3)
DocumentSource
- Interface in
com.github.barteksc.pdfviewer.source
E
enableAnnotationRendering(boolean)
- Method in class com.github.barteksc.pdfviewer.
PDFView.Configurator
enableAnnotationRendering(boolean)
- Method in class com.github.barteksc.pdfviewer.
PDFView
enableDoubletap(boolean)
- Method in class com.github.barteksc.pdfviewer.
PDFView.Configurator
enableDoubletap(boolean)
- Method in class com.github.barteksc.pdfviewer.
PDFView
enableSwipe(boolean)
- Method in class com.github.barteksc.pdfviewer.
PDFView.Configurator
enableSwipe(boolean)
- Method in class com.github.barteksc.pdfviewer.
PDFView
equals(Object)
- Method in class com.github.barteksc.pdfviewer.model.
PagePart
F
fileFromAsset(Context, String)
- Static method in class com.github.barteksc.pdfviewer.util.
FileUtils
FileNotFoundException
- Exception in
com.github.barteksc.pdfviewer.exception
Deprecated.
FileNotFoundException(String)
- Constructor for exception com.github.barteksc.pdfviewer.exception.
FileNotFoundException
Deprecated.
FileNotFoundException(String, Throwable)
- Constructor for exception com.github.barteksc.pdfviewer.exception.
FileNotFoundException
Deprecated.
FileSource
- Class in
com.github.barteksc.pdfviewer.source
FileSource(File)
- Constructor for class com.github.barteksc.pdfviewer.source.
FileSource
FileUtils
- Class in
com.github.barteksc.pdfviewer.util
fromAsset(String)
- Method in class com.github.barteksc.pdfviewer.
PDFView
Use an asset file as the pdf source
fromBytes(byte[])
- Method in class com.github.barteksc.pdfviewer.
PDFView
Use bytearray as the pdf source, documents is not saved
fromFile(File)
- Method in class com.github.barteksc.pdfviewer.
PDFView
Use a file as the pdf source
fromSource(DocumentSource)
- Method in class com.github.barteksc.pdfviewer.
PDFView
Use custom source as pdf source
fromStream(InputStream)
- Method in class com.github.barteksc.pdfviewer.
PDFView
fromUri(Uri)
- Method in class com.github.barteksc.pdfviewer.
PDFView
Use URI as the pdf source, for use with content providers
G
getCacheOrder()
- Method in class com.github.barteksc.pdfviewer.model.
PagePart
getCurrentPage()
- Method in class com.github.barteksc.pdfviewer.
PDFView
getCurrentXOffset()
- Method in class com.github.barteksc.pdfviewer.
PDFView
getCurrentYOffset()
- Method in class com.github.barteksc.pdfviewer.
PDFView
getDocumentMeta()
- Method in class com.github.barteksc.pdfviewer.
PDFView
getDP(Context, int)
- Static method in class com.github.barteksc.pdfviewer.util.
Util
getHeight()
- Method in class com.github.barteksc.pdfviewer.model.
PagePart
getMaxZoom()
- Method in class com.github.barteksc.pdfviewer.
PDFView
getMidZoom()
- Method in class com.github.barteksc.pdfviewer.
PDFView
getMinZoom()
- Method in class com.github.barteksc.pdfviewer.
PDFView
getOptimalPageHeight()
- Method in class com.github.barteksc.pdfviewer.
PDFView
getOptimalPageWidth()
- Method in class com.github.barteksc.pdfviewer.
PDFView
getPage()
- Method in class com.github.barteksc.pdfviewer.model.
PagePart
getPageCount()
- Method in class com.github.barteksc.pdfviewer.
PDFView
getPageRelativeBounds()
- Method in class com.github.barteksc.pdfviewer.model.
PagePart
getRenderedBitmap()
- Method in class com.github.barteksc.pdfviewer.model.
PagePart
getTableOfContents()
- Method in class com.github.barteksc.pdfviewer.
PDFView
getUserPage()
- Method in class com.github.barteksc.pdfviewer.model.
PagePart
getWidth()
- Method in class com.github.barteksc.pdfviewer.model.
PagePart
getZoom()
- Method in class com.github.barteksc.pdfviewer.
PDFView
GRID_SIZE
- Static variable in interface com.github.barteksc.pdfviewer.util.
Constants
The size of the grid of loaded images around the current point
I
InputStreamSource
- Class in
com.github.barteksc.pdfviewer.source
InputStreamSource(InputStream)
- Constructor for class com.github.barteksc.pdfviewer.source.
InputStreamSource
isHorizontal()
- Method in class com.github.barteksc.pdfviewer.
ScrollBar
isRecycled()
- Method in class com.github.barteksc.pdfviewer.
PDFView
isSwipeVertical()
- Method in class com.github.barteksc.pdfviewer.
PDFView
isThumbnail()
- Method in class com.github.barteksc.pdfviewer.model.
PagePart
isZooming()
- Method in class com.github.barteksc.pdfviewer.
PDFView
J
jumpTo(int)
- Method in class com.github.barteksc.pdfviewer.
PDFView
Go to the given page.
L
limit(int, int, int)
- Static method in class com.github.barteksc.pdfviewer.util.
NumberUtils
Limits the given
number
between the other values
load()
- Method in class com.github.barteksc.pdfviewer.
PDFView.Configurator
loadComplete(int)
- Method in interface com.github.barteksc.pdfviewer.listener.
OnLoadCompleteListener
Called when the PDF is loaded
loadComplete(PdfDocument)
- Method in class com.github.barteksc.pdfviewer.
PDFView
Called when the PDF is loaded
LOADED_SIZE
- Static variable in interface com.github.barteksc.pdfviewer.util.
Constants
Number of pages loaded (default 3)
loadError(Throwable)
- Method in class com.github.barteksc.pdfviewer.
PDFView
loadPages()
- Method in class com.github.barteksc.pdfviewer.
PDFView
Load all the parts around the center of the screen, taking into account X and Y offsets, zoom level, and the current page displayed
M
mask(int, int)
- Method in class com.github.barteksc.pdfviewer.
PDFView.Configurator
MASK_ALPHA
- Static variable in interface com.github.barteksc.pdfviewer.util.
Constants
Transparency of masks around the main page (between 0 and 255, default 50)
MAXIMUM_ZOOM
- Static variable in interface com.github.barteksc.pdfviewer.util.
Constants.Pinch
MINIMAP_MAX_SIZE
- Static variable in interface com.github.barteksc.pdfviewer.util.
Constants
Size of the minimum, in percent of the component size
MINIMUM_ZOOM
- Static variable in interface com.github.barteksc.pdfviewer.util.
Constants.Pinch
moveRelativeTo(float, float)
- Method in class com.github.barteksc.pdfviewer.
PDFView
Move relatively to the current position.
moveTo(float, float)
- Method in class com.github.barteksc.pdfviewer.
PDFView
Move to the given X and Y offsets, but check them ahead of time to be sure not to go outside the the big strip.
N
NumberUtils
- Class in
com.github.barteksc.pdfviewer.util
O
onBitmapRendered(PagePart)
- Method in class com.github.barteksc.pdfviewer.
PDFView
Called when a rendering task is over and a PagePart has been freshly created.
onDetachedFromWindow()
- Method in class com.github.barteksc.pdfviewer.
PDFView
onDraw(OnDrawListener)
- Method in class com.github.barteksc.pdfviewer.
PDFView.Configurator
onDraw(Canvas)
- Method in class com.github.barteksc.pdfviewer.
PDFView
onDraw(Canvas)
- Method in class com.github.barteksc.pdfviewer.
ScrollBar
OnDrawListener
- Interface in
com.github.barteksc.pdfviewer.listener
This interface allows an extern class to draw something on the PDFView canvas, above all images.
onError(Throwable)
- Method in interface com.github.barteksc.pdfviewer.listener.
OnErrorListener
Called if error occurred while opening PDF
onError(OnErrorListener)
- Method in class com.github.barteksc.pdfviewer.
PDFView.Configurator
OnErrorListener
- Interface in
com.github.barteksc.pdfviewer.listener
onLayerDrawn(Canvas, float, float, int)
- Method in interface com.github.barteksc.pdfviewer.listener.
OnDrawListener
This method is called when the PDFView is drawing its view.
onLayerUpdate()
- Method in class com.github.barteksc.pdfviewer.
PDFView
onLoad(OnLoadCompleteListener)
- Method in class com.github.barteksc.pdfviewer.
PDFView.Configurator
OnLoadCompleteListener
- Interface in
com.github.barteksc.pdfviewer.listener
Implement this interface to receive events from PDFView when loading is complete.
onMeasure(int, int)
- Method in class com.github.barteksc.pdfviewer.
ScrollBar
onPageChange(OnPageChangeListener)
- Method in class com.github.barteksc.pdfviewer.
PDFView.Configurator
onPageChanged(int, int)
- Method in interface com.github.barteksc.pdfviewer.listener.
OnPageChangeListener
Called when the user use swipe to change page
OnPageChangeListener
- Interface in
com.github.barteksc.pdfviewer.listener
Implements this interface to receive events from IPDFView when a page has changed through swipe
onRestoreInstanceState(Parcelable)
- Method in class com.github.barteksc.pdfviewer.
ScrollBar
onSaveInstanceState()
- Method in class com.github.barteksc.pdfviewer.
ScrollBar
onSizeChanged(int, int, int, int)
- Method in class com.github.barteksc.pdfviewer.
PDFView
onSizeChanged(int, int, int, int)
- Method in class com.github.barteksc.pdfviewer.
ScrollBar
onTouchEvent(MotionEvent)
- Method in class com.github.barteksc.pdfviewer.
ScrollBar
P
PagePart
- Class in
com.github.barteksc.pdfviewer.model
PagePart(int, int, Bitmap, float, float, RectF, boolean, int)
- Constructor for class com.github.barteksc.pdfviewer.model.
PagePart
pages(int...)
- Method in class com.github.barteksc.pdfviewer.
PDFView.Configurator
PART_SIZE
- Static variable in interface com.github.barteksc.pdfviewer.util.
Constants
The size of the rendered parts (default 256) Tinier : a little bit slower to have the whole page rendered but more reactive.
password(String)
- Method in class com.github.barteksc.pdfviewer.
PDFView.Configurator
PDFView
- Class in
com.github.barteksc.pdfviewer
It supports animations, zoom, cache, and swipe.
PDFView(Context, AttributeSet)
- Constructor for class com.github.barteksc.pdfviewer.
PDFView
Construct the initial view
PDFView.Configurator
- Class in
com.github.barteksc.pdfviewer
Q
QUICK_MOVE_THRESHOLD_DISTANCE
- Static variable in interface com.github.barteksc.pdfviewer.util.
Constants.Pinch
A move must be quicker than this duration and longer than this distance to be considered as a quick move
QUICK_MOVE_THRESHOLD_TIME
- Static variable in interface com.github.barteksc.pdfviewer.util.
Constants.Pinch
A move must be quicker than this duration and longer than this distance to be considered as a quick move
R
recycle()
- Method in class com.github.barteksc.pdfviewer.
PDFView
resetZoom()
- Method in class com.github.barteksc.pdfviewer.
PDFView
resetZoomWithAnimation()
- Method in class com.github.barteksc.pdfviewer.
PDFView
S
ScrollBar
- Class in
com.github.barteksc.pdfviewer
ScrollBar(Context)
- Constructor for class com.github.barteksc.pdfviewer.
ScrollBar
ScrollBar(Context, AttributeSet)
- Constructor for class com.github.barteksc.pdfviewer.
ScrollBar
ScrollBar(Context, AttributeSet, int)
- Constructor for class com.github.barteksc.pdfviewer.
ScrollBar
ScrollBarPageIndicator
- Class in
com.github.barteksc.pdfviewer
ScrollBarPageIndicator(Context)
- Constructor for class com.github.barteksc.pdfviewer.
ScrollBarPageIndicator
setCacheOrder(int)
- Method in class com.github.barteksc.pdfviewer.model.
PagePart
setCurrentPage(int)
- Method in class com.github.barteksc.pdfviewer.
ScrollBar
Go to the given page.
setHorizontal(boolean)
- Method in class com.github.barteksc.pdfviewer.
ScrollBar
setMaxZoom(float)
- Method in class com.github.barteksc.pdfviewer.
PDFView
setMidZoom(float)
- Method in class com.github.barteksc.pdfviewer.
PDFView
setMinZoom(float)
- Method in class com.github.barteksc.pdfviewer.
PDFView
setScrollBar(ScrollBar)
- Method in class com.github.barteksc.pdfviewer.
PDFView
setShowPageWithAnimation(boolean)
- Method in class com.github.barteksc.pdfviewer.
PDFView
setSize(int)
- Method in class com.github.barteksc.pdfviewer.
ScrollBarPageIndicator
setSwipeVertical(boolean)
- Method in class com.github.barteksc.pdfviewer.
PDFView
showMinimap(boolean)
- Method in class com.github.barteksc.pdfviewer.
PDFView.Configurator
showPageWithAnimation(boolean)
- Method in class com.github.barteksc.pdfviewer.
PDFView.Configurator
swipeVertical(boolean)
- Method in class com.github.barteksc.pdfviewer.
PDFView.Configurator
T
textView
- Variable in class com.github.barteksc.pdfviewer.
ScrollBarPageIndicator
THUMBNAIL_RATIO
- Static variable in interface com.github.barteksc.pdfviewer.util.
Constants
Between 0 and 1, the thumbnails quality (default 0.2)
THUMBNAILS_CACHE_SIZE
- Static variable in interface com.github.barteksc.pdfviewer.util.
Constants.Cache
toByteArray(InputStream)
- Static method in class com.github.barteksc.pdfviewer.util.
Util
toCurrentScale(float)
- Method in class com.github.barteksc.pdfviewer.
PDFView
toRealScale(float)
- Method in class com.github.barteksc.pdfviewer.
PDFView
U
UriSource
- Class in
com.github.barteksc.pdfviewer.source
UriSource(Uri)
- Constructor for class com.github.barteksc.pdfviewer.source.
UriSource
useBestQuality(boolean)
- Method in class com.github.barteksc.pdfviewer.
PDFView
Util
- Class in
com.github.barteksc.pdfviewer.util
Util()
- Constructor for class com.github.barteksc.pdfviewer.util.
Util
Z
zoomCenteredRelativeTo(float, PointF)
- Method in class com.github.barteksc.pdfviewer.
PDFView
zoomCenteredTo(float, PointF)
- Method in class com.github.barteksc.pdfviewer.
PDFView
Change the zoom level, relatively to a pivot point.
zoomTo(float)
- Method in class com.github.barteksc.pdfviewer.
PDFView
Change the zoom level
zoomWithAnimation(float, float, float)
- Method in class com.github.barteksc.pdfviewer.
PDFView
zoomWithAnimation(float)
- Method in class com.github.barteksc.pdfviewer.
PDFView
A
B
C
D
E
F
G
I
J
L
M
N
O
P
Q
R
S
T
U
Z
Skip navigation links
Overview
Package
Class
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes