/frameworks/base/core/java/android/text/style/ |
H A D | DrawableMarginSpan.java | 45 boolean first, Layout layout) { 48 int itop = (int)layout.getLineTop(layout.getLineForOffset(st)); 42 drawLeadingMargin(Canvas c, Paint p, int x, int dir, int top, int baseline, int bottom, CharSequence text, int start, int end, boolean first, Layout layout) argument
|
H A D | IconMarginSpan.java | 45 boolean first, Layout layout) { 47 int itop = layout.getLineTop(layout.getLineForOffset(st)); 42 drawLeadingMargin(Canvas c, Paint p, int x, int dir, int top, int baseline, int bottom, CharSequence text, int start, int end, boolean first, Layout layout) argument
|
H A D | LeadingMarginSpan.java | 62 * @param layout the layout containing this line 68 boolean first, Layout layout); 141 boolean first, Layout layout) { 64 drawLeadingMargin(Canvas c, Paint p, int x, int dir, int top, int baseline, int bottom, CharSequence text, int start, int end, boolean first, Layout layout) argument 137 drawLeadingMargin(Canvas c, Paint p, int x, int dir, int top, int baseline, int bottom, CharSequence text, int start, int end, boolean first, Layout layout) argument
|
H A D | QuoteSpan.java | 69 boolean first, Layout layout) { 66 drawLeadingMargin(Canvas c, Paint p, int x, int dir, int top, int baseline, int bottom, CharSequence text, int start, int end, boolean first, Layout layout) argument
|
/frameworks/base/core/java/android/widget/ |
H A D | AccessibilityIterators.java | 45 public void initialize(Spannable text, Layout layout) { argument 47 mLayout = layout;
|
H A D | SimpleCursorAdapter.java | 77 public SimpleCursorAdapter(Context context, int layout, Cursor c, String[] from, int[] to) { argument 78 super(context, layout, c); 89 * @param layout resource identifier of a layout file that defines the views 90 * for this list item. The layout file should include at least 102 public SimpleCursorAdapter(Context context, int layout, Cursor c, String[] from, argument 104 super(context, layout, c, flags);
|
H A D | AbsSpinner.java | 78 R.layout.simple_spinner_item, entries); 79 adapter.setDropDownViewResource(R.layout.simple_spinner_dropdown_item); 201 // Put in recycler for re-measuring and/or layout 297 layout(delta, animate); 302 abstract void layout(int delta, boolean animate); method in class:AbsSpinner 314 * Override to prevent spamming ourselves with layout requests
|
H A D | Spinner.java | 449 layout(0, false); 460 void layout(int delta, boolean animate) { method in class:Spinner 513 * there is enough information in the view's layout parameters to animate 544 * and fill out its layout paramters. 550 // Respect layout params that are already in the view. Otherwise 586 child.layout(childLeft, childTop, childRight, childBottom);
|
H A D | Gallery.java | 51 * layout parameters type. 92 * Left most edge of a child seen so far during layout. 97 * Right most edge of a child seen so far during layout. 347 * Remember that we are in layout to prevent more layout request from 351 layout(0, false); 599 * We layout rarely, most of the time {@link #trackMotionScroll(int)} takes 607 void layout(int delta, boolean animate) { method in class:Gallery 629 // All views go in recycler while we are in layout 815 * is enough information in the view's layout parameter [all...] |
H A D | RemoteViewsAdapter.java | 261 // Remove all the children of this layout first 284 public void add(int position, RemoteViewsFrameLayout layout) { argument 297 refs.add(layout); 397 RemoteViewsFrameLayout layout = new RemoteViewsFrameLayout(context); 409 layout.addView(loadingView); 438 com.android.internal.R.layout.remote_views_adapter_default_loading_view, 439 layout, false); 443 layout.addView(loadingTextView); 447 return layout; 969 RemoteViewsFrameLayout layout [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/layout/frame/ |
H A D | FrameLayoutGravityTest.java | 17 package android.widget.layout.frame; 24 import android.widget.layout.frame.FrameLayoutGravity;
|
/frameworks/base/services/java/com/android/server/wm/ |
H A D | FakeWindowImpl.java | 81 void layout(int dw, int dh) { method in class:FakeWindowImpl
|
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/ |
H A D | AlignmentTest.java | 17 package com.android.test.layout; 106 p.layout(0, 0, 1000 + (i % 2), 500 + (i % 2));
|
/frameworks/base/core/java/android/text/method/ |
H A D | ArrowKeyMovementMethod.java | 38 private static int getCurrentLineTop(Spannable buffer, Layout layout) { argument 39 return layout.getLineTop(layout.getLineForOffset(Selection.getSelectionEnd(buffer))); 70 final Layout layout = widget.getLayout(); 72 return Selection.extendLeft(buffer, layout); 74 return Selection.moveLeft(buffer, layout); 80 final Layout layout = widget.getLayout(); 82 return Selection.extendRight(buffer, layout); 84 return Selection.moveRight(buffer, layout); 90 final Layout layout [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/ |
H A D | SimpleCursorAdapterTest.java | 57 mLayout = com.android.internal.R.layout.simple_list_item_2; 144 * Test changeCursor() with differing column layout. This confirms that the Adapter can 255 public TestSimpleCursorAdapter(Context context, int layout, Cursor c, argument 257 super(context, layout, c, from, to);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
H A D | RecentsScrollViewPerformanceHelper.java | 70 RecentsCallback callback, LinearLayout layout, boolean hardwareAccelerated) { 69 onAttachedToWindowCallback( RecentsCallback callback, LinearLayout layout, boolean hardwareAccelerated) argument
|
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/ |
H A D | DpiTestActivity.java | 85 LinearLayout layout = new LinearLayout(this); 86 addBitmapDrawable(layout, R.drawable.logo120dpi, true); 87 addBitmapDrawable(layout, R.drawable.logo160dpi, true); 88 addBitmapDrawable(layout, R.drawable.logo240dpi, true); 90 addChildToRoot(root, layout); 92 layout = new LinearLayout(this); 93 addBitmapDrawable(layout, R.drawable.logo120dpi, false); 94 addBitmapDrawable(layout, R.drawable.logo160dpi, false); 95 addBitmapDrawable(layout, R.drawable.logo240dpi, false); 97 addChildToRoot(root, layout); 159 addChildToRoot(LinearLayout root, LinearLayout layout) argument 164 addBitmapDrawable(LinearLayout layout, int resource, boolean scale) argument 179 addResourceDrawable(LinearLayout layout, int resource) argument 190 addCanvasBitmap(LinearLayout layout, int resource, boolean scale) argument 201 addNinePatchResourceDrawable(LinearLayout layout, int resource) argument [all...] |
/frameworks/compile/mclinker/lib/MC/ |
H A D | MCLDDriver.cpp | 278 /// prelayout - help backend to do some modification before layout 298 /// layout - linearly layout all output sections and reserve some space 303 bool MCLDDriver::layout() function in class:MCLDDriver 305 return m_pLinker->layout(); 308 /// prelayout - help backend to do some modification after layout 328 /// Before relocate(), after layout(), MCLinker should correct value of all
|
H A D | MCLinker.cpp | 587 bool MCLinker::layout() function in class:MCLinker 589 return m_Layout.layout(m_Info.output(), m_Backend);
|
/frameworks/base/core/java/android/text/ |
H A D | Selection.java | 114 * Moving the selection within the layout 121 public static boolean moveUp(Spannable text, Layout layout) { argument 137 int line = layout.getLineForOffset(end); 142 if (layout.getParagraphDirection(line) == 143 layout.getParagraphDirection(line - 1)) { 144 float h = layout.getPrimaryHorizontal(end); 145 move = layout.getOffsetForHorizontal(line - 1, h); 147 move = layout.getLineStart(line - 1); 162 public static boolean moveDown(Spannable text, Layout layout) { argument 178 int line = layout 204 moveLeft(Spannable text, Layout layout) argument 229 moveRight(Spannable text, Layout layout) argument 252 extendUp(Spannable text, Layout layout) argument 281 extendDown(Spannable text, Layout layout) argument 310 extendLeft(Spannable text, Layout layout) argument 326 extendRight(Spannable text, Layout layout) argument 338 extendToLeftEdge(Spannable text, Layout layout) argument 344 extendToRightEdge(Spannable text, Layout layout) argument 350 moveToLeftEdge(Spannable text, Layout layout) argument 356 moveToRightEdge(Spannable text, Layout layout) argument 398 findEdge(Spannable text, Layout layout, int dir) argument 415 chooseHorizontal(Layout layout, int direction, int off1, int off2) argument [all...] |
H A D | DynamicLayout.java | 28 * DynamicLayout is a text layout that updates itself as the text is edited. 29 * <p>This is used by widgets to control text layout. You should not need 41 * Make a layout for the specified text that will be updated as 54 * Make a layout for the transformed text (password transformation 68 * Make a layout for the transformed text (password transformation 85 * Make a layout for the transformed text (password transformation 124 * This is annoying, but we can't refer to the layout until 258 // find affected region of old layout 269 // generate new layout for affected text 290 // If the new layout ha 613 ChangeWatcher(DynamicLayout layout) argument [all...] |
/frameworks/compile/mclinker/lib/LD/ |
H A D | Layout.cpp | 63 // set all layout order 76 // set up all layout order 84 /// setFragmentLayoutOffset - set the fragment's layout offset. This function 85 /// also set up the layout offsets of all the fragments in the same range. 100 // set all layout order 122 /// 2. compute the layout order of all previous ranges. 162 // compute the layout order of the previous range. 228 // the fragment who has the layout order is not in the last range. 242 // the fragment who has no layout order should be in the last range 273 // the fragment who has the layout orde 548 bool Layout::layout(Output& pOutput, const TargetLDBackend& pBackend) function in class:Layout [all...] |
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | SimpleCursorAdapter.java | 62 public SimpleCursorAdapter(Context context, int layout, Cursor c, String[] from, int[] to) { argument 63 super(context, layout, c); 74 * @param layout resource identifier of a layout file that defines the views 75 * for this list item. The layout file should include at least 87 public SimpleCursorAdapter(Context context, int layout, Cursor c, String[] from, argument 89 super(context, layout, c, flags); 327 // rescan columns in case cursor layout is different
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | SlidingTab.java | 333 void layout(int l, int t, int r, int b, int alignment) { method in class:SlidingTab.Slider 356 tab.layout(0, top, handleWidth, bottom); 357 text.layout(0 - parentWidth, top, 0, bottom); 359 target.layout(leftTarget, targetTop, leftTarget + targetWidth, targetBottom); 362 tab.layout(parentWidth - handleWidth, top, parentWidth, bottom); 363 text.layout(parentWidth, top, parentWidth + parentWidth, bottom); 364 target.layout(rightTarget, targetTop, rightTarget + targetWidth, targetBottom); 375 tab.layout(left, 0, right, handleHeight); 376 text.layout(left, 0 - parentHeight, right, 0); 377 target.layout(targetLef [all...] |
/frameworks/ex/chips/src/com/android/ex/chips/ |
H A D | RecipientEditTextView.java | 451 private Bitmap createSelectedChip(RecipientEntry contact, TextPaint paint, Layout layout) { argument 493 private Bitmap createUnselectedChip(RecipientEntry contact, TextPaint paint, Layout layout) { argument 585 Layout layout = getLayout(); 593 tmpBitmap = createSelectedChip(contact, paint, layout); 596 tmpBitmap = createUnselectedChip(contact, paint, layout); 656 mAlternatesLayout = R.layout.chips_alternate_item; 661 mMoreItem = (TextView) LayoutInflater.from(getContext()).inflate(R.layout.more_item, null); 1689 Layout layout = getLayout(); 1690 if (layout != null) { 1691 adjustedHeight -= layout [all...] |