A B C D E F G H I J L M N O P R S T U V W _ 

A

addHighlight(int, int, int) - Method in class su.whs.watl.text.TextLayout
 
apply() - Method in class su.whs.watl.text.ContentView.Options
notify change listener about invalidation level
AutoPlacedDrawable - Interface in su.whs.watl.experimental
Created by igor n.

B

BaseTextPagerAdapter - Class in su.whs.watl.text
abstract class BaseTextPagerAdapter at least one method must be implement : View getViewForPage(int pageNo)
BaseTextPagerAdapter(int) - Constructor for class su.whs.watl.text.BaseTextPagerAdapter
base constructor
BaseTextPagerAdapter(int, ITextPagesNumber) - Constructor for class su.whs.watl.text.BaseTextPagerAdapter
extended constructor
build() - Method in class su.whs.watl.experimental.TableDrawableBuilder
 

C

cell(CharSequence) - Method in class su.whs.watl.experimental.TableDrawableBuilder
 
chars - Variable in class su.whs.watl.text.TextLayout
 
ClickableSpanListener - Interface in su.whs.watl.ui
Created by igor n.
codePoint - Variable in class su.whs.watl.text.hyphen.HyphenPattern.TrieNode
 
contentReady(String, CharSequence, ContentView.Options) - Method in interface su.whs.watl.text.ContentView
 
ContentView - Interface in su.whs.watl.text
Created by igor n.
ContentView.Options - Class in su.whs.watl.text
Options for ContentView implementations each setter returns Options
ContentView.Options() - Constructor for class su.whs.watl.text.ContentView.Options
 
ContentView.Options(ContentView.Options) - Constructor for class su.whs.watl.text.ContentView.Options
 
ContentView.Options(Context, AttributeSet, int, int) - Constructor for class su.whs.watl.text.ContentView.Options
 
ContentView.OptionsChangeListener - Interface in su.whs.watl.text
 
copy(ContentView.Options) - Method in class su.whs.watl.text.ContentView.Options
 
createTrie(Map<Integer, String>) - Static method in class su.whs.watl.text.hyphen.HyphenPattern
 
createViewForPage(int) - Method in class su.whs.watl.text.BaseTextPagerAdapter
 

D

debugClickedLineBound - Variable in class su.whs.watl.ui.TextViewWS
 
debugPaint - Variable in class su.whs.watl.ui.TextViewEx
 
DEFER - Static variable in class su.whs.watl.text.ImagePlacementHandler
 
deserialize(DataInputStream) - Method in class su.whs.watl.experimental.SpannedSerializator
 
destroyItem(ViewGroup, int, Object) - Method in class su.whs.watl.text.BaseTextPagerAdapter
 
draw(Canvas) - Method in class su.whs.watl.experimental.LazyDrawable
if no preview loaded - execute initialLoad() in background and draw 'loadingFrame', if defined
draw(Canvas, int, int, int, int, int, int) - Method in class su.whs.watl.text.TextLayout
render calculated lines to canvas
draw(Canvas, int, int, int, int) - Method in class su.whs.watl.text.TextLayout
 
draw(List<TextLayout.TextLine>, int, int, char[], Canvas, float, float, TextPaint, int, int, int, int, int, int, boolean) - Method in class su.whs.watl.text.TextLayout
 
drawAllSelectionCursors(Canvas) - Method in class su.whs.watl.ui.MultiColumnTextViewEx
 
drawAllSelectionCursors(Canvas) - Method in class su.whs.watl.ui.TextViewWS
 
drawNextLoadingFrame(Canvas) - Method in class su.whs.watl.experimental.LazyDrawable
 
drawOverlay(Canvas) - Method in class su.whs.watl.ui.TextViewEx
 
drawOverlay(Canvas) - Method in class su.whs.watl.ui.TextViewWS
 
drawPlayButton(Canvas) - Method in class su.whs.watl.experimental.LazyDrawable
 
drawPlayButton(Canvas, int) - Method in class su.whs.watl.experimental.LazyDrawable
 
drawSelectionCursor(Canvas, float, float, float, boolean) - Method in class su.whs.watl.ui.TextViewEx
 
drawSelectionCursor(Canvas, float, float, float, boolean) - Method in class su.whs.watl.ui.TextViewWS
called for painting selection cursor at starts and ends

need inverse mode, if cursor out of clipRect ( inverse start horizontal inverse end horizontal inverse start vertical (if bottom line) inverse end vertical (if bottom line)

drawText(Canvas) - Method in class su.whs.watl.ui.MultiColumnTextViewEx
draw TextLayout lines on canvas
drawText(Canvas) - Method in class su.whs.watl.ui.TextViewEx
draw text content on canvas
drawText(Canvas) - Method in class su.whs.watl.ui.TextViewWS
 
dump(CharSequence, boolean) - Method in class su.whs.watl.text.TextLayout.TextLine
for debug - dumps span info
DynamicDrawableInteractionListener - Interface in su.whs.watl.text
Created by igor n.

E

enableJustification(boolean) - Method in class su.whs.watl.text.ContentView.Options
enable/disable full text justification
EXCLUSIVE - Static variable in class su.whs.watl.text.ImagePlacementHandler
 

F

finalize() - Method in class su.whs.watl.text.BaseTextPagerAdapter
 
finishUpdate(ViewGroup) - Method in class su.whs.watl.text.BaseTextPagerAdapter
 
fromAttributes(Context, AttributeSet, int, int) - Method in class su.whs.watl.text.ContentView.Options
 

G

getAlignment() - Method in class su.whs.watl.text.HtmlTagHandler.CenterAlignment
 
getAlignment() - Method in class su.whs.watl.text.HtmlTagHandler.OppositeAlignment
 
getAlignment(int) - Static method in class su.whs.watl.text.ImagePlacementHandler
 
getChars() - Method in class su.whs.watl.text.TextLayout
 
getCount() - Method in class su.whs.watl.text.BaseTextPagerAdapter
 
getDefaultDirection() - Method in class su.whs.watl.text.ContentView.Options
 
getDrawable() - Method in class su.whs.watl.experimental.TableSpan
 
getDrawableMinimumScaleFactor() - Method in class su.whs.watl.text.ContentView.Options
 
getDrawablePaddings(Rect) - Method in class su.whs.watl.text.ContentView.Options
 
getDrawablePaddings() - Method in class su.whs.watl.text.ContentView.Options
 
getDrawableWrapRatioTreshold() - Method in class su.whs.watl.text.ContentView.Options
 
getDrawableWrapWidthTreshold() - Method in class su.whs.watl.text.ContentView.Options
 
getDynamicDrawableSpanRect(DynamicDrawableSpan, Rect) - Method in class su.whs.watl.text.TextLayout
 
getEmptyLineHeightLimit() - Method in class su.whs.watl.text.ContentView.Options
empty lines height must be less or equals to limit
getEmptyLinesThreshold() - Method in class su.whs.watl.text.ContentView.Options
 
getEnd() - Method in class su.whs.watl.text.TextLayout
 
getEnd() - Method in class su.whs.watl.text.TextLayout.LinesIterator
 
getEnd() - Method in class su.whs.watl.ui.TextViewWS
 
getHeight() - Method in class su.whs.watl.text.TextLayout
 
getHeight() - Method in class su.whs.watl.text.TextLayout.LinesIterator
 
getHyphenPatternAssets(String) - Method in class su.whs.watl.text.hyphen.PatternsLoader
 
getImagePlacementHandler() - Method in class su.whs.watl.text.ContentView.Options
 
getInstance(Context) - Static method in class su.whs.watl.text.hyphen.PatternsLoader
 
getInstance(HyphenPattern) - Static method in class su.whs.watl.text.HyphenLineBreaker
 
getIntrinsicHeight() - Method in class su.whs.watl.experimental.LazyDrawable
 
getIntrinsicWidth() - Method in class su.whs.watl.experimental.LazyDrawable
 
getItemPosition(Object) - Method in class su.whs.watl.text.BaseTextPagerAdapter
 
getLineBottom(int) - Method in class su.whs.watl.text.TextLayout
 
getLineBounds(int, Rect) - Method in class su.whs.watl.ui.MultiColumnTextViewEx
used for display selection cursors correctly
getLineBounds(int, Rect) - Method in class su.whs.watl.ui.TextViewEx
calculate geometric bounds for line on layout
getLineBreaker() - Method in class su.whs.watl.text.ContentView.Options
 
getLineCount() - Method in class su.whs.watl.ui.TextViewEx
 
getLineDescent(int) - Method in class su.whs.watl.text.TextLayout
 
getLineEnd(int) - Method in class su.whs.watl.text.TextLayout
 
getLineForPosition(int) - Method in class su.whs.watl.text.TextLayout
 
getLineForPosition(int) - Method in class su.whs.watl.ui.TextViewEx
 
getLineForPosition(int) - Method in class su.whs.watl.ui.TextViewWS
 
getLineForVertical(float, int) - Method in class su.whs.watl.text.TextLayout
 
getLineForVertical(float) - Method in class su.whs.watl.text.TextLayout
 
getLineHeight(int) - Method in class su.whs.watl.text.TextLayout
 
getLinesCount() - Method in class su.whs.watl.text.TextLayout
 
getLinesIterator() - Method in class su.whs.watl.text.TextLayout
 
getLineSpacingAdd() - Method in class su.whs.watl.text.ContentView.Options
 
getLineSpacingMultiplier() - Method in class su.whs.watl.text.ContentView.Options
 
getLineSpan() - Method in class su.whs.watl.text.TextLayout
 
getLineStart(int) - Method in class su.whs.watl.text.TextLayout
 
getLineTop(int) - Method in class su.whs.watl.text.TextLayout
 
getNewLineLeftMargin() - Method in class su.whs.watl.text.ContentView.Options
 
getNewLineTopMargin() - Method in class su.whs.watl.text.ContentView.Options
 
getOffsetForCoordinates(View, float, float, int) - Method in class su.whs.watl.text.TextLayout
 
getOffsetForCoordinates(float, float, int) - Method in class su.whs.watl.ui.TextViewEx
returns character position for given coordinates on layout
getOffsetForCoordinates(float, float, int) - Method in class su.whs.watl.ui.TextViewWS
calculate character index for given coordinates on canvas (x and y)
getOffsetForHorizontal(TextLayout.TextLine, int) - Method in class su.whs.watl.text.TextLayout
 
getOpacity() - Method in class su.whs.watl.experimental.LazyDrawable
 
getOptions() - Method in class su.whs.watl.text.BaseTextPagerAdapter
 
getOptions() - Method in class su.whs.watl.text.TextLayout
return layout's Options
getOptions() - Method in interface su.whs.watl.ui.ITextView
 
getOptions() - Method in class su.whs.watl.ui.TextViewEx
 
getPageEnd(int) - Method in class su.whs.watl.text.BaseTextPagerAdapter
 
getPageStart(int) - Method in class su.whs.watl.text.BaseTextPagerAdapter
 
getPageTitle(int) - Method in class su.whs.watl.text.BaseTextPagerAdapter
implement this, if your viewpager must show page titles
getPaint() - Method in class su.whs.watl.text.TextLayout
 
getPosition(int) - Static method in class su.whs.watl.text.LineBreaker
 
getPrimaryHorizontal(int, int) - Method in class su.whs.watl.text.TextLayout
calculate horizontal offset of character with index 'position'
getPrimaryHorizontal(int, int, int) - Method in class su.whs.watl.ui.MultiColumnTextViewEx
 
getPrimaryHorizontal(int, int, int) - Method in class su.whs.watl.ui.TextViewEx
 
getPrimaryHorizontal(int, int, int) - Method in class su.whs.watl.ui.TextViewWS
calculate horizontal offset of character used from calculateSelectionCrusorPosition()
getReflowQuantize() - Method in class su.whs.watl.text.ContentView.Options
 
getReflowThreadPoolTag() - Method in class su.whs.watl.text.ContentView.Options
 
getSelectionColor() - Method in class su.whs.watl.text.ContentView.Options
 
getSelectionColor() - Method in class su.whs.watl.text.TextLayout
 
getSelectionEnd() - Method in class su.whs.watl.ui.TextViewEx
 
getSelectionEnd() - Method in class su.whs.watl.ui.TextViewWS
 
getSelectionEnds() - Method in class su.whs.watl.text.TextLayout
 
getSelectionStart() - Method in class su.whs.watl.ui.TextViewEx
 
getSelectionStart() - Method in class su.whs.watl.ui.TextViewWS
 
getSelectionStarts() - Method in class su.whs.watl.text.TextLayout
 
getSize() - Method in class su.whs.watl.text.TextLayout.LinesIterator
 
getStart() - Method in class su.whs.watl.text.TextLayout
 
getStart() - Method in class su.whs.watl.text.TextLayout.LinesIterator
 
getStart() - Method in class su.whs.watl.ui.TextViewWS
 
getState() - Method in class su.whs.watl.text.ContentView.Options
 
getState() - Method in class su.whs.watl.text.TextLayout
 
getText() - Method in class su.whs.watl.text.TextLayout
 
getText() - Method in class su.whs.watl.ui.TextViewEx
 
getTextLayout() - Method in class su.whs.watl.ui.TextViewEx
 
getTextPaddings() - Method in class su.whs.watl.text.ContentView.Options
 
getTextPaint() - Method in class su.whs.watl.text.BaseTextPagerAdapter
 
getTextPaint() - Method in interface su.whs.watl.text.ContentView.OptionsChangeListener
 
getTextPaint() - Method in class su.whs.watl.text.TextLayout
 
getTrie() - Method in class su.whs.watl.text.hyphen.HyphenPattern
 
getURL() - Method in class su.whs.watl.experimental.LazyDrawable.FromURL
 
getUrls() - Method in class su.whs.watl.ui.TextViewEx
 
getViewForPage(int) - Method in class su.whs.watl.text.BaseTextPagerAdapter
 
getViewType(int) - Method in class su.whs.watl.text.BaseTextPagerAdapter
 
getViewTypeForPage(int) - Method in class su.whs.watl.text.BaseTextPagerAdapter
 
getViewTypesCount() - Method in class su.whs.watl.text.BaseTextPagerAdapter
 
getWidth() - Method in class su.whs.watl.text.TextLayout
 

H

handleTag(boolean, String, Editable, XMLReader) - Method in class su.whs.watl.text.HtmlTagHandler
 
hasNext() - Method in class su.whs.watl.text.TextLayout.LinesIterator
 
height - Variable in class su.whs.watl.text.TextLayout
 
HtmlTagHandler - Class in su.whs.watl.text
supported tags: UL OL DD IFRAME (filtered out) CENTER RIGHT RTL LTR
HtmlTagHandler() - Constructor for class su.whs.watl.text.HtmlTagHandler
 
HtmlTagHandler.CenterAlignment - Class in su.whs.watl.text
 
HtmlTagHandler.CenterAlignment() - Constructor for class su.whs.watl.text.HtmlTagHandler.CenterAlignment
 
HtmlTagHandler.OppositeAlignment - Class in su.whs.watl.text
 
HtmlTagHandler.OppositeAlignment() - Constructor for class su.whs.watl.text.HtmlTagHandler.OppositeAlignment
 
HYPHEN - Static variable in class su.whs.watl.text.LineBreaker
LineBreaker interface
HyphenLineBreaker - Class in su.whs.watl.text
 
HyphenLineBreaker(HyphenPattern) - Constructor for class su.whs.watl.text.HyphenLineBreaker
 
HyphenPattern - Class in su.whs.watl.text.hyphen
Created by igor n.
HyphenPattern(int, int, Map<Integer, String>) - Constructor for class su.whs.watl.text.hyphen.HyphenPattern
 
HyphenPattern(DataInputStream) - Constructor for class su.whs.watl.text.hyphen.HyphenPattern
 
HyphenPattern.TrieNode - Class in su.whs.watl.text.hyphen
 
HyphenPattern.TrieNode() - Constructor for class su.whs.watl.text.hyphen.HyphenPattern.TrieNode
 
HyphenPattern.TrieNode(DataInputStream) - Constructor for class su.whs.watl.text.hyphen.HyphenPattern.TrieNode
 

I

ImagePlacementHandler - Class in su.whs.watl.text
Created by igor n.
ImagePlacementHandler() - Constructor for class su.whs.watl.text.ImagePlacementHandler
 
ImagePlacementHandler.DefaultImagePlacementHandler - Class in su.whs.watl.text
FIXME: available height not used
ImagePlacementHandler.DefaultImagePlacementHandler() - Constructor for class su.whs.watl.text.ImagePlacementHandler.DefaultImagePlacementHandler
 
ImagePlacementHandler.DefaultImagePlacementHandler.WRAP - Enum in su.whs.watl.text
 
initialLoad() - Method in class su.whs.watl.experimental.LazyDrawable
load preview (sync)
INLINE - Static variable in class su.whs.watl.text.ImagePlacementHandler
 
instantiateItem(ViewGroup, int) - Method in class su.whs.watl.text.BaseTextPagerAdapter
 
invalidate() - Method in class su.whs.watl.text.BaseTextPagerAdapter
 
invalidate() - Method in interface su.whs.watl.text.ContentView.OptionsChangeListener
 
invalidate() - Method in class su.whs.watl.text.TextLayout
invalidate layout actually, invalidate() works only if width/font size changed
invalidate(int, int, int, int) - Method in interface su.whs.watl.text.TextLayoutListener
allow TextLayout to call repaint on anitmation events
invalidateContent() - Method in class su.whs.watl.ui.TextViewWS
 
invalidateDrawable(Drawable) - Method in class su.whs.watl.experimental.LazyDrawable
 
invalidateLines() - Method in class su.whs.watl.text.BaseTextPagerAdapter
 
invalidateLines() - Method in interface su.whs.watl.text.ContentView.OptionsChangeListener
 
invalidateLines() - Method in class su.whs.watl.text.TextLayout
called when layout geometry was changed, or some handlers replaced
invalidateMeasurement() - Method in class su.whs.watl.text.BaseTextPagerAdapter
 
invalidateMeasurement() - Method in interface su.whs.watl.text.ContentView.OptionsChangeListener
 
invalidateMeasurement() - Method in class su.whs.watl.text.TextLayout
called when font size was changed
invalidateMeasurementInternal() - Method in class su.whs.watl.text.TextLayout
 
invalidateSelfOnUiThread() - Method in class su.whs.watl.experimental.LazyDrawable
run invalidateSelf() on MainLooper
isAsyncReflow() - Method in class su.whs.watl.text.ContentView.Options
 
isFilterEmptyLines() - Method in class su.whs.watl.text.ContentView.Options
 
isHyphen(int) - Static method in class su.whs.watl.text.LineBreaker
 
isJustification() - Method in class su.whs.watl.text.ContentView.Options
 
isLayouted() - Method in class su.whs.watl.text.TextLayout
 
isLetter(char) - Method in class su.whs.watl.text.LineBreaker
 
isLineAreWrap(int) - Method in class su.whs.watl.text.TextLayout
 
isNewLineAfter(int) - Static method in class su.whs.watl.text.ImagePlacementHandler
 
isNewLineBefore(int) - Static method in class su.whs.watl.text.ImagePlacementHandler
 
isPunktuation(char) - Method in class su.whs.watl.text.LineBreaker
 
isReflowBackgroundTaskCancelled() - Method in class su.whs.watl.text.TextLayout
 
isReflowBackgroundTaskRunning() - Method in class su.whs.watl.text.TextLayout
 
isReflowFinished() - Method in class su.whs.watl.text.TextLayout
 
isRunning() - Method in class su.whs.watl.experimental.LazyDrawable
 
isSelectModeActive() - Method in class su.whs.watl.ui.TextViewWS
 
isTextSelectable() - Method in class su.whs.watl.ui.TextViewWS
 
isViewFromObject(View, Object) - Method in class su.whs.watl.text.BaseTextPagerAdapter
 
isWrapText(int) - Static method in class su.whs.watl.text.ImagePlacementHandler
 
ITextPagesNumber - Interface in su.whs.watl.text
Created by igor n.
ITextView - Interface in su.whs.watl.ui
Created by igor n.

J

jumpSelectionCursor(float, float, int) - Method in class su.whs.watl.ui.MultiColumnTextViewEx
 
jumpSelectionCursor(float, float, int) - Method in class su.whs.watl.ui.TextViewWS
 
justification - Variable in class su.whs.watl.text.TextLayout
 
justify(int) - Method in class su.whs.watl.text.TextLayout.TextLine
 

L

layoutFinished() - Method in class su.whs.watl.text.BaseTextPagerAdapter
 
LazyDrawable - Class in su.whs.watl.experimental
abstract class for support two display mode - 'preview' and 'full' for example, it may display local cached jpeg as preview, and load high quality png on request
LazyDrawable(int, int) - Constructor for class su.whs.watl.experimental.LazyDrawable
create instance with given size
LazyDrawable.FromURL - Class in su.whs.watl.experimental
sample implementation - only 'slow method' generally - for development and debug purposes
LazyDrawable.FromURL(String) - Constructor for class su.whs.watl.experimental.LazyDrawable.FromURL
 
LazyDrawable.FromURL(int, int) - Constructor for class su.whs.watl.experimental.LazyDrawable.FromURL
 
LazyDrawable.FromURL(int, int, String) - Constructor for class su.whs.watl.experimental.LazyDrawable.FromURL
 
leftMin - Variable in class su.whs.watl.text.hyphen.HyphenPattern
 
LineBreaker - Class in su.whs.watl.text
 
LineBreaker() - Constructor for class su.whs.watl.text.LineBreaker
 
lines - Variable in class su.whs.watl.text.TextLayout
 
lineSpan - Variable in class su.whs.watl.text.TextLayout
 
listener - Variable in class su.whs.watl.text.TextLayout
 
loadFullImage() - Method in class su.whs.watl.experimental.LazyDrawable
initiate load full image (sync)
log_single_line(int) - Method in class su.whs.watl.text.TextLayout
 

M

makeOptions() - Method in class su.whs.watl.ui.TextViewEx
 
mInvalidate - Variable in class su.whs.watl.text.ContentView.Options
 
mInvalidateLines - Variable in class su.whs.watl.text.ContentView.Options
 
mInvalidateMeasurement - Variable in class su.whs.watl.text.ContentView.Options
 
mListener - Variable in class su.whs.watl.text.ContentView.Options
 
mLoadingError - Variable in class su.whs.watl.experimental.LazyDrawable
 
moveCursor(float, float, int) - Method in class su.whs.watl.ui.MultiColumnTextViewEx
 
moveCursor(float, float, int) - Method in class su.whs.watl.ui.TextViewWS
moving selection cursor with magnet effect do not change line if y distance less than lineHeight from active y position
MultiColumnTextViewEx - Class in su.whs.watl.ui
Created by igor n.
MultiColumnTextViewEx(Context) - Constructor for class su.whs.watl.ui.MultiColumnTextViewEx
 
MultiColumnTextViewEx(Context, AttributeSet) - Constructor for class su.whs.watl.ui.MultiColumnTextViewEx
 
MultiColumnTextViewEx(Context, AttributeSet, int) - Constructor for class su.whs.watl.ui.MultiColumnTextViewEx
 
mViewsCount - Variable in class su.whs.watl.text.TextLayout
 

N

nearestLineBreak(char[], int, int, int) - Method in class su.whs.watl.text.HyphenLineBreaker
 
nearestLineBreak(char[], int, int, int) - Method in class su.whs.watl.text.LineBreaker
 
next() - Method in class su.whs.watl.text.TextLayout.LinesIterator
 
notifyTextHeightChanged() - Method in class su.whs.watl.text.TextLayout
 
notifyTextInfoInvalidated() - Method in class su.whs.watl.text.TextLayout
 
notifyTextReady() - Method in class su.whs.watl.text.TextLayout
 

O

onClick(View, CharacterStyle, int, int, Rect) - Method in interface su.whs.watl.ui.ClickableSpanListener
 
onClicked(DynamicDrawableSpan, Rect, View) - Method in interface su.whs.watl.text.DynamicDrawableInteractionListener
 
onDraw(Canvas) - Method in class su.whs.watl.ui.TextViewWS
 
onDrawableClicked(Drawable, int, DynamicDrawableSpan) - Method in class su.whs.watl.ui.TextViewEx
called by touch handler, if touched on dynamicdrawablespan used internally for call DynamicDrawableInteractionListener
onDrawableClicked(Drawable, int, DynamicDrawableSpan) - Method in class su.whs.watl.ui.TextViewWS
 
onFailure() - Method in class su.whs.watl.experimental.LazyDrawable
set unrecoverable load error flag
onFinish(List<TextLayout.TextLine>, int) - Method in class su.whs.watl.text.TextLayout
method, where handles layout finish
onHeightExceed(int) - Method in interface su.whs.watl.text.TextLayoutListener
called when viewHeight exceed
onHeightExceed(int) - Method in class su.whs.watl.ui.MultiColumnTextViewEx
 
onHeightExceed(int) - Method in class su.whs.watl.ui.TextViewEx
called when given height exceed WARN: called fron non-ui thread
onLayoutFinished(int) - Method in interface su.whs.watl.ui.TextViewLayoutListener
 
onLongClick(DynamicDrawableSpan, RectF, View) - Method in interface su.whs.watl.text.DynamicDrawableInteractionListener
 
onLongTapCharacter(int) - Method in class su.whs.watl.ui.TextViewWS
 
onMeasure(int, int) - Method in class su.whs.watl.ui.MultiColumnTextViewEx
 
onMeasure(int, int) - Method in class su.whs.watl.ui.TextViewEx
 
onPreDraw() - Method in class su.whs.watl.ui.TextViewEx
 
onPreDraw() - Method in class su.whs.watl.ui.TextViewWS
 
onProgress(List<TextLayout.TextLine>, int, boolean) - Method in class su.whs.watl.text.TextLayout
method where handles interaction with TextLayoutListener when overriden - onProgress() must increments mViewsCount on every viewHeightExceed==true
onSaveInstanceState() - Method in class su.whs.watl.ui.TextViewEx
 
onSelectionModeEnds() - Method in class su.whs.watl.ui.TextViewWS
 
onSelectionModeStarts(int, int) - Method in class su.whs.watl.ui.TextViewWS
 
onTextHeightChanged() - Method in interface su.whs.watl.text.TextLayoutListener
called, when layout's height changed (this is not called, if layout created with height > -1)
onTextHeightChanged() - Method in class su.whs.watl.ui.TextViewEx
called by TextLayout.reflow() -> on text height changed
onTextInfoInvalidated() - Method in interface su.whs.watl.text.TextLayoutListener
called, when layout's content changed
onTextInfoInvalidated() - Method in class su.whs.watl.ui.MultiColumnTextViewEx
 
onTextInfoInvalidated() - Method in class su.whs.watl.ui.TextViewEx
called by TextLayout when layout invalidated (base font size changed) (lineBreaker changed) (imagePlacementHandler changed) (requested geometry changed)
onTextReady() - Method in interface su.whs.watl.text.TextLayoutListener
called when reflow finished
onTextReady() - Method in class su.whs.watl.ui.MultiColumnTextViewEx
 
onTextReady() - Method in class su.whs.watl.ui.TextViewEx
called by TextLayout when reflow() process finished
onUrlClicked(String, int, ClickableSpan) - Method in class su.whs.watl.ui.TextViewEx
called when urlspan clicked
onUrlClicked(String, int, ClickableSpan) - Method in class su.whs.watl.ui.TextViewWS
 

P

PageBreakSpan - Class in su.whs.watl.text.style
mark 'page break' for paginated views
PageBreakSpan() - Constructor for class su.whs.watl.text.style.PageBreakSpan
 
pageReady(int) - Method in class su.whs.watl.text.BaseTextPagerAdapter
 
patternObject - Variable in class su.whs.watl.text.hyphen.HyphenPattern
 
PatternsLoader - Class in su.whs.watl.text.hyphen
Created by igor n.
place(int, int) - Method in interface su.whs.watl.experimental.AutoPlacedDrawable
 
place(int, int) - Method in class su.whs.watl.experimental.TableDrawable
 
place(DynamicDrawableSpan, int, int, int, int, int, Point, ContentView.Options, boolean) - Method in class su.whs.watl.text.ImagePlacementHandler.DefaultImagePlacementHandler
default image placement handler

behavior -

place(DynamicDrawableSpan, int, int, int, int, int, Point, ContentView.Options, boolean) - Method in class su.whs.watl.text.ImagePlacementHandler
 
PLACEHOLDER - Static variable in class su.whs.watl.text.ImagePlacementHandler
 
prepareLayout(int, int) - Method in class su.whs.watl.ui.MultiColumnTextViewEx
 
prepareLayout(int, int) - Method in class su.whs.watl.ui.TextViewEx
 
prepareLayout() - Method in class su.whs.watl.ui.TextViewEx
 
processTouchAt(float, float, boolean, int) - Method in class su.whs.watl.ui.MultiColumnTextViewEx
 
processTouchAt(float, float, boolean, int) - Method in class su.whs.watl.ui.TextViewEx
 
processTouchAt(float, float, boolean, int) - Method in class su.whs.watl.ui.TextViewWS
 

R

read(DataInputStream) - Static method in class su.whs.watl.experimental.SpannedSerializator
 
read(int, DataInputStream) - Method in class su.whs.watl.experimental.SpannedSerializator
 
readDynamicDrawableSpan(DataInputStream) - Method in class su.whs.watl.experimental.SpannedSerializator
by default - reads drawable from stream
readFullDrawable() - Method in class su.whs.watl.experimental.LazyDrawable.FromURL
 
readFullDrawable() - Method in class su.whs.watl.experimental.LazyDrawable
abstract method.
readFullDrawable() - Method in class su.whs.watl.experimental.TableDrawable
 
readPreviewDrawable() - Method in class su.whs.watl.experimental.LazyDrawable.FromURL
 
readPreviewDrawable() - Method in class su.whs.watl.experimental.LazyDrawable
abstract method.
readPreviewDrawable() - Method in class su.whs.watl.experimental.TableDrawable
 
reflow(char[], int, int, LineSpan, float, int, int, int, int, TextPaint, ContentView.Options) - Method in class su.whs.watl.text.TextLayout
main method used for calculating spans geometry with given base TextPaint, width and height limit, and so on
reflowedHeight - Variable in class su.whs.watl.text.TextLayout
 
reflowedWidth - Variable in class su.whs.watl.text.TextLayout
 
remove() - Method in class su.whs.watl.text.TextLayout.LinesIterator
 
removeHighlight(int, int) - Method in class su.whs.watl.text.TextLayout
 
requestedHeight - Variable in class su.whs.watl.text.TextLayout
 
resetHighlight() - Method in class su.whs.watl.text.TextLayout
reset hightlits (similar to setHighlight(0,0,0))
resetState() - Method in class su.whs.watl.ui.MultiColumnTextViewEx
 
resetState() - Method in class su.whs.watl.ui.TextViewEx
reset state (currently - only selections)
restoreState(Parcelable, ClassLoader) - Method in class su.whs.watl.text.BaseTextPagerAdapter
 
rightMin - Variable in class su.whs.watl.text.hyphen.HyphenPattern
 
RightToLeftDirectionSpan - Class in su.whs.watl.text.style
marks span of text, wich must be rendered right-to-left
RightToLeftDirectionSpan() - Constructor for class su.whs.watl.text.style.RightToLeftDirectionSpan
 
row() - Method in class su.whs.watl.experimental.TableDrawableBuilder
 
runLineSpanToIndex(char[], TextPaint, LineSpan, LineSpanBreak, int, int, int, int, float, int, Rect, Rect) - Static method in class su.whs.watl.text.Utils
returns drawing start coordinate for character at position 'index' note, if span are LTR - returns left edge of character, else (for RTL) - returns right bound
runLineSpanToX(char[], TextPaint, LineSpan, LineSpanBreak, int, float, float, int, float, int, Rect, Rect) - Static method in class su.whs.watl.text.Utils
 

S

saveState() - Method in class su.whs.watl.text.BaseTextPagerAdapter
 
scheduleDrawable(Drawable, Runnable, long) - Method in class su.whs.watl.experimental.LazyDrawable
 
SCROLLABLE - Static variable in class su.whs.watl.text.ImagePlacementHandler
 
selectCursorAt(float, float, int) - Method in class su.whs.watl.ui.TextViewWS
 
serialize(DataOutputStream) - Method in class su.whs.watl.experimental.SpannedSerializator
serialize Spanned to DataOutputStream
serialize(DataOutputStream) - Method in class su.whs.watl.text.hyphen.HyphenPattern
 
serialize(DataOutputStream) - Method in class su.whs.watl.text.hyphen.HyphenPattern.TrieNode
 
set(Bundle) - Method in class su.whs.watl.text.ContentView.Options
set options from bundle
setAlpha(int) - Method in class su.whs.watl.experimental.LazyDrawable
 
setBounds(int, int, int, int) - Method in class su.whs.watl.experimental.LazyDrawable
 
setCallbackCompat(Drawable.Callback) - Method in class su.whs.watl.experimental.LazyDrawable
 
setChangeListener(ContentView.OptionsChangeListener) - Method in class su.whs.watl.text.ContentView.Options
sets object, which must handle notifications about options updated
setClickableSpanListener(ClickableSpanListener) - Method in class su.whs.watl.ui.TextViewWS
 
setColorFilter(ColorFilter) - Method in class su.whs.watl.experimental.LazyDrawable
 
setColumnLimits(int, int) - Method in class su.whs.watl.ui.MultiColumnTextViewEx
 
setColumnsCount(int) - Method in class su.whs.watl.ui.MultiColumnTextViewEx
 
setCustomSelectionActionModeCallback(ActionMode.Callback) - Method in class su.whs.watl.text.BaseTextPagerAdapter
 
setCustomSelectionActionModeCallback(ActionMode.Callback) - Method in class su.whs.watl.ui.TextViewWS
 
setCustomSelectionActionModeCallback(android.support.v7.view.ActionMode.Callback) - Method in class su.whs.watl.ui.TextViewWS
 
setDefaultDirection(int) - Method in class su.whs.watl.text.ContentView.Options
set default text direction (NOT SUPPORTED YET)
setDrawable(Drawable) - Method in class su.whs.watl.experimental.LazyDrawable
replace wrapped drawable (and reset internal flags)
setDrawableMinimumScaleFactor(float) - Method in class su.whs.watl.text.ContentView.Options
 
setDrawablePaddings(int, int, int, int) - Method in class su.whs.watl.text.ContentView.Options
set paddings, applied to all drawables in text (text and drawables has separated paddings)
setDrawableWrapRatioTreshold(float) - Method in class su.whs.watl.text.ContentView.Options
 
setDrawableWrapWidthTreshold(float) - Method in class su.whs.watl.text.ContentView.Options
 
setDynamicDrawableInteractionListener(DynamicDrawableInteractionListener) - Method in class su.whs.watl.ui.TextViewEx
register listener for clicks on Drawables
setFilterEmptyLines(boolean) - Method in class su.whs.watl.text.ContentView.Options
if true - ContentView will skip lines with zero length, if sufficient lines was added to paragraph (see setEmptyLinesThreashold)
setHighlight(int, int, int) - Method in class su.whs.watl.text.TextLayout
set highlight text range
setHighlightColor(int) - Method in class su.whs.watl.ui.TextViewEx
 
setImagePlacementHandler(ImagePlacementHandler) - Method in class su.whs.watl.text.ContentView.Options
 
setInvalidateListener(TextLayoutListener) - Method in class su.whs.watl.text.TextLayout
 
setIsLayoutedInternal(boolean) - Method in class su.whs.watl.text.TextLayout
 
setLineBreaker(LineBreaker) - Method in class su.whs.watl.text.ContentView.Options
 
setLineSpacingAdd(int) - Method in class su.whs.watl.text.ContentView.Options
 
setLineSpacingMultiplier(float) - Method in class su.whs.watl.text.ContentView.Options
 
setLoadingState(boolean) - Method in interface su.whs.watl.text.ContentView
 
setNewLineLeftMargin(int) - Method in class su.whs.watl.text.ContentView.Options
 
setNewLineTopMargin(int) - Method in class su.whs.watl.text.ContentView.Options
 
setPaint(TextPaint) - Method in class su.whs.watl.text.TextLayout
 
setPlayButtonDrawable(Drawable) - Method in class su.whs.watl.experimental.LazyDrawable
set 'play button' drawable
setPrimaryItem(ViewGroup, int, Object) - Method in class su.whs.watl.text.BaseTextPagerAdapter
 
setReflowBackgroundTaskCancelled(boolean) - Method in class su.whs.watl.text.TextLayout
 
setReflowBackgroundTaskRunning(boolean) - Method in class su.whs.watl.text.TextLayout
 
setReflowFinished(boolean) - Method in class su.whs.watl.text.TextLayout
 
setReflowQuantize(int) - Method in class su.whs.watl.text.ContentView.Options
 
setSelected(boolean) - Method in class su.whs.watl.ui.TextViewEx
 
setSelected(boolean) - Method in class su.whs.watl.ui.TextViewWS
 
setSelection(int, int) - Method in class su.whs.watl.text.TextLayout
set selected text range
setSelection(int, int) - Method in class su.whs.watl.ui.TextViewEx
 
setSelection(int, int) - Method in class su.whs.watl.ui.TextViewWS
 
setSelectionColor(int) - Method in class su.whs.watl.ui.TextViewWS
 
setSelectionCursorDrawable(int) - Method in class su.whs.watl.ui.TextViewWS
 
setSelectionCursorDrawable(int, int) - Method in class su.whs.watl.ui.TextViewWS
 
setSize(int, int) - Method in class su.whs.watl.experimental.LazyDrawable
set size and adjust bounds
setSize(int, int) - Method in class su.whs.watl.text.TextLayout
 
setSize(int, int, int) - Method in class su.whs.watl.text.TextLayout
set size for layout where 'visible height' < available height

used for split layout to pages

setText(CharSequence) - Method in class su.whs.watl.text.BaseTextPagerAdapter
 
setText(CharSequence) - Method in interface su.whs.watl.ui.ITextView
 
setText(CharSequence, TextView.BufferType) - Method in class su.whs.watl.ui.TextViewEx
 
setText(CharSequence, TextView.BufferType) - Method in class su.whs.watl.ui.TextViewWS
 
setTextIsSelectable(boolean) - Method in class su.whs.watl.ui.TextViewWS
 
setTextLayout(TextLayout) - Method in class su.whs.watl.ui.TextViewEx
 
setTextPaddings(int, int, int, int) - Method in class su.whs.watl.text.ContentView.Options
set text paddings (in additional to view's padding)
setTextSize(float) - Method in class su.whs.watl.text.BaseTextPagerAdapter
 
setTextSize(int, float) - Method in class su.whs.watl.text.BaseTextPagerAdapter
 
setTextSize(float) - Method in class su.whs.watl.text.ContentView.Options
change base text size
setTextSize(float) - Method in interface su.whs.watl.text.ContentView.OptionsChangeListener
 
setTextSize(float) - Method in class su.whs.watl.text.TextLayout
 
setTextSize(float) - Method in interface su.whs.watl.ui.ITextView
 
setTextSize(int, float) - Method in interface su.whs.watl.ui.ITextView
 
setTextSize(float) - Method in class su.whs.watl.ui.TextViewEx
 
setTextSize(int, float) - Method in class su.whs.watl.ui.TextViewEx
 
setTextViewLayoutListener(TextViewLayoutListener) - Method in class su.whs.watl.ui.TextViewEx
 
SpannedSerializator - Class in su.whs.watl.experimental
Helper, writes Spanned to DataOutputStream, and reads it's back - from DataInputStream to Spanned to support custom CharacterStyle and ParagrpahStyle - override class and implements own read(int tag, DataInputStream dis) and write(Object o, DataOutputStream dos) write(Object o, DataOutputStream dos) must write int 'tag' (>100), and Span paramteres to stream, and read will be called with 'tag' - and correct instance must be constructed, used prevously written N bytes from stream
SpannedSerializator(Spanned) - Constructor for class su.whs.watl.experimental.SpannedSerializator
 
SpannedSerializator() - Constructor for class su.whs.watl.experimental.SpannedSerializator
 
SpannedSerializator.InvalidVersionException - Exception in su.whs.watl.experimental
 
SpannedSerializator.InvalidVersionException(String) - Constructor for exception su.whs.watl.experimental.SpannedSerializator.InvalidVersionException
 
SpannedSerializator.ReadError - Exception in su.whs.watl.experimental
 
SpannedSerializator.ReadError(String) - Constructor for exception su.whs.watl.experimental.SpannedSerializator.ReadError
 
SpannedSerializator.SpannedSerializationException - Exception in su.whs.watl.experimental
 
SpannedSerializator.SpannedSerializationException(String) - Constructor for exception su.whs.watl.experimental.SpannedSerializator.SpannedSerializationException
 
start() - Method in class su.whs.watl.experimental.LazyDrawable
 
startUpdate(ViewGroup) - Method in class su.whs.watl.text.BaseTextPagerAdapter
 
stop() - Method in class su.whs.watl.experimental.LazyDrawable
 
stopReflowIfNeed() - Method in class su.whs.watl.text.TextLayout
stop background thread, if running
su.whs.watl.experimental - package su.whs.watl.experimental
 
su.whs.watl.text - package su.whs.watl.text
 
su.whs.watl.text.hyphen - package su.whs.watl.text.hyphen
 
su.whs.watl.text.style - package su.whs.watl.text.style
 
su.whs.watl.ui - package su.whs.watl.ui
 

T

TableDrawable - Class in su.whs.watl.experimental
Created by igor n.
TableDrawable(int, int) - Constructor for class su.whs.watl.experimental.TableDrawable
 
TableDrawable(List<List<CharSequence>>) - Constructor for class su.whs.watl.experimental.TableDrawable
 
TableDrawableBuilder - Class in su.whs.watl.experimental
Created by igor n.
TableDrawableBuilder() - Constructor for class su.whs.watl.experimental.TableDrawableBuilder
 
TableSpan - Class in su.whs.watl.experimental
Created by igor n.
TableSpan(TableDrawable) - Constructor for class su.whs.watl.experimental.TableSpan
 
TextLayout - Class in su.whs.watl.text
* states: measured (invalidates on change base font size) layouted (depends on 'measured' and 'width', 'lineBreaker', 'imagePlacementHandler' + if requested height > reflowed Height)
TextLayout(Spanned, int, int, TextPaint, TextLayoutListener) - Constructor for class su.whs.watl.text.TextLayout
 
TextLayout(Spanned, int, int, TextPaint, ContentView.Options, TextLayoutListener) - Constructor for class su.whs.watl.text.TextLayout
 
TextLayout() - Constructor for class su.whs.watl.text.TextLayout
 
TextLayout(Spanned, TextPaint) - Constructor for class su.whs.watl.text.TextLayout
 
TextLayout(Spanned, TextPaint, TextLayoutListener) - Constructor for class su.whs.watl.text.TextLayout
 
TextLayout.LinesIterator - Class in su.whs.watl.text
iterator to quick access to lines properties developed to support MultiColumnTextViewEx's height==MeasureSpec.UNSPECIFIED
TextLayout.LinesIterator() - Constructor for class su.whs.watl.text.TextLayout.LinesIterator
 
TextLayout.Options - Class in su.whs.watl.text
 
TextLayout.Options() - Constructor for class su.whs.watl.text.TextLayout.Options
 
TextLayout.TextLine - Class in su.whs.watl.text
 
TextLayout.TextLine(ReflowState, int, LeadingMarginSpan) - Constructor for class su.whs.watl.text.TextLayout.TextLine
 
TextLayout.TextLine(LineSpan, int, int, int) - Constructor for class su.whs.watl.text.TextLayout.TextLine
 
TextLayout.TextLine(LineSpan, int, int) - Constructor for class su.whs.watl.text.TextLayout.TextLine
 
TextLayoutListener - Interface in su.whs.watl.text
TextInfoInvalidateListener - used for notify TextLayout's holder about layout geometry changes and content updates
TextViewEx - Class in su.whs.watl.ui
TextViewEx - drop-in replacement for TextView additional features: - supports LineBreaker for line breaks - supports full justification for spanned strings - supports OverflowListener - supports two-tap click on urls - supports hyphenation (see sample application)
TextViewEx(Context) - Constructor for class su.whs.watl.ui.TextViewEx
 
TextViewEx(Context, AttributeSet) - Constructor for class su.whs.watl.ui.TextViewEx
 
TextViewEx(Context, AttributeSet, int) - Constructor for class su.whs.watl.ui.TextViewEx
 
TextViewLayoutListener - Interface in su.whs.watl.ui
Created by igor n.
TextViewWS - Class in su.whs.watl.ui
Created by igor n.
TextViewWS(Context) - Constructor for class su.whs.watl.ui.TextViewWS
 
TextViewWS(Context, AttributeSet) - Constructor for class su.whs.watl.ui.TextViewWS
 
TextViewWS(Context, AttributeSet, int) - Constructor for class su.whs.watl.ui.TextViewWS
 
TextViewWS(Context, AttributeSet, int, int) - Constructor for class su.whs.watl.ui.TextViewWS
 
THUMBNAIL - Static variable in class su.whs.watl.text.ImagePlacementHandler
 
toString() - Method in class su.whs.watl.text.TextLayout.TextLine
 
toString(boolean) - Method in class su.whs.watl.text.TextLayout.TextLine
 

U

unscheduleDrawable(Drawable, Runnable) - Method in class su.whs.watl.experimental.LazyDrawable
 
updateDrawState(TextPaint) - Method in class su.whs.watl.text.style.RightToLeftDirectionSpan
 
updateGeometry(int[]) - Method in class su.whs.watl.text.TextLayout
default implementation does not supports geometry change supports
updateInfo(View, int, int) - Method in interface su.whs.watl.text.ITextPagesNumber
 
Utils - Class in su.whs.watl.text
Created by igor n.
Utils() - Constructor for class su.whs.watl.text.Utils
 

V

valueOf(String) - Static method in enum su.whs.watl.text.ImagePlacementHandler.DefaultImagePlacementHandler.WRAP
Returns the enum constant of this type with the specified name.
values() - Static method in enum su.whs.watl.text.ImagePlacementHandler.DefaultImagePlacementHandler.WRAP
Returns an array containing the constants of this enum type, in the order they are declared.
viewHeight - Variable in class su.whs.watl.text.TextLayout
 

W

width - Variable in class su.whs.watl.text.TextLayout
 
write(Object, DataOutputStream) - Method in class su.whs.watl.experimental.SpannedSerializator
WARNING: at least one dos.writeInt() must be called in custom implementation
writeDynamicDrawableSpan(DynamicDrawableSpan, DataOutputStream) - Method in class su.whs.watl.experimental.SpannedSerializator
by default - calls getDrawable() and store drawable AS BitmapDrawable to stream

_

_points - Variable in class su.whs.watl.text.hyphen.HyphenPattern.TrieNode
 
A B C D E F G H I J L M N O P R S T U V W _