Lines Matching refs:textView
90 * @param textView the target text view from which {@link CursorAnchorInfoCompatWrapper} is to
98 @Nonnull final TextView textView) {
102 return CursorAnchorInfoCompatWrapper.wrap(extractFromTextViewInternal(textView));
107 * @param textView the target text view from which {@link CursorAnchorInfo} is to be extracted.
113 private static CursorAnchorInfo extractFromTextViewInternal(@Nonnull final TextView textView) {
114 final Layout layout = textView.getLayout();
121 final int selectionStart = textView.getSelectionStart();
122 builder.setSelectionRange(selectionStart, textView.getSelectionEnd());
125 final Matrix viewToScreenMatrix = new Matrix(textView.getMatrix());
127 textView.getLocationOnScreen(viewOriginInScreen);
137 textView.getLineBounds(0, lineBoundsWithOffset);
139 - lineBoundsWithoutOffset.left - textView.getScrollX();
141 - lineBoundsWithoutOffset.top - textView.getScrollY();
143 final CharSequence text = textView.getText();
211 final boolean isTopLeftVisible = isPositionVisible(textView,
214 isPositionVisible(textView, localRight, localBottom);
246 isPositionVisible(textView, insertionMarkerX, insertionMarkerTop);
248 isPositionVisible(textView, insertionMarkerX, insertionMarkerBottom);