Lines Matching defs:layout

378      * extensively in the same layout. This mode indicates how the marquee
385 * the layout that should be used when the mode switches.
460 // the layout always wants it to be left.
1295 * than this height, and the layout may contain additional first-
3067 // Display the error later, after the first layout pass
3325 * has changed and that it needs to invalidate and re-layout.
3999 com.android.internal.R.layout.textview_hint, null);
4446 // a screen rotation) since layout is not yet initialized at that point.
4484 // Resolve drawables as the layout direction has been resolved
4845 Layout layout = mLayout;
4853 layout = mHintLayout;
5038 layout.draw(canvas, highlight, mHighlightPaint, cursorOffsetVertical);
5042 layout.draw(canvas, highlight, mHighlightPaint, cursorOffsetVertical);
5452 // bug 650865: sometimes we get a key event before a layout.
5453 // don't try to move around if we don't know the layout.
5937 final Layout layout = TextView.this.mLayout;
5938 if (layout == null) return false;
6179 * The width passed in is now the desired layout width,
6406 private static int desired(Layout layout) {
6407 int n = layout.getLineCount();
6408 CharSequence text = layout.getText();
6415 if (text.charAt(layout.getLineEnd(i) - 1) != '\n')
6420 max = Math.max(max, layout.getLineWidth(i));
6630 private int getDesiredHeight(Layout layout, boolean cap) {
6631 if (layout == null) {
6635 int linecount = layout.getLineCount();
6637 int desired = layout.getLineTop(linecount);
6654 desired = layout.getLineTop(mMaximum);
6684 * Check whether a change to the existing text layout requires a
6685 * new view layout.
6722 * Check whether entirely new text requires a new view layout
6723 * or merely a new text layout.
6726 // If we have a fixed width, we can just swap in a new text layout
6733 // Static width, so try making a new text layout.
6749 // In a fixed-height view, so use our new text layout.
6757 // so use our new text layout.
6766 // Request a new view layout using our new text layout.
6771 // view layout with a new text layout.
6849 * This has to be called after layout. Returns true if anything changed.
7853 // The view has not been layout yet, ignore the text change
7947 com.android.internal.R.layout.text_edit_action_popup_text;
9179 com.android.internal.R.layout.text_drag_thumbnail, null);
9200 shadowView.layout(0, 0, shadowView.getMeasuredWidth(), shadowView.getMeasuredHeight());
10313 com.android.internal.R.layout.text_edit_action_popup_text;
10576 // A HandleView relies on the layout, which may be nulled by external methods
11165 * position. Returns -1 if there is no layout.
11355 // Always need to resolve layout direction first
11383 * drawables depending on the layout direction.