/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
FragmentMenu.java | 16 package com.android.ide.eclipse.adt.internal.editors.layout.gle2; 23 import static com.android.ide.eclipse.adt.internal.editors.layout.gle2.LayoutMetadata.KEY_FRAGMENT_LAYOUT; 28 import com.android.ide.eclipse.adt.internal.editors.layout.LayoutEditorDelegate; 29 import com.android.ide.eclipse.adt.internal.editors.layout.uimodel.UiViewElementNode; 54 * Fragment context menu allowing a layout to be chosen for previewing in the fragment frame. 57 private static final String R_LAYOUT_RESOURCE_PREFIX = "R.layout."; //$NON-NLS-1$ 58 private static final String ANDROID_R_PREFIX = "android.R.layout"; //$NON-NLS-1$ 69 super("Fragment Layout"); 75 IAction action = new PickLayoutAction("Choose Layout..."); 115 // for layout references of the form R.layout.* 143 String layout; local 206 String layout = LayoutMetadata.getProperty( local 222 String layout = getFragmentLayout(node.getXmlNode()); local 246 layout); local [all...] |
/frameworks/base/core/java/android/text/method/ |
BaseMovementMethod.java | 19 import android.text.Layout; 423 final Layout layout = widget.getLayout(); local 431 final int lineLeft = (int) Math.floor(layout.getLineLeft(line)); 440 final Layout layout = widget.getLayout(); local 448 final int lineRight = (int) Math.ceil(layout.getLineRight(line)); 509 final Layout layout = widget.getLayout(); local 511 int topLine = layout.getLineForVertical(top) 536 final Layout layout = widget.getLayout(); local 566 final Layout layout = widget.getLayout(); local 586 final Layout layout = widget.getLayout(); local 608 final Layout layout = widget.getLayout(); local 626 final Layout layout = widget.getLayout(); local [all...] |
/external/chromium_org/ui/android/java/src/org/chromium/ui/ |
DropdownAdapter.java | 32 super(context, R.layout.dropdown_item, items); 39 super(context, R.layout.dropdown_item, items); 57 View layout = convertView; local 61 layout = inflater.inflate(R.layout.dropdown_item, null); 62 ApiCompatibilityUtils.setBackgroundForView(layout, new DropdownDividerDrawable()); 67 TextView labelView = (TextView) layout.findViewById(R.id.dropdown_label); 77 DropdownDividerDrawable divider = (DropdownDividerDrawable) layout.getBackground(); 94 layout.setLayoutParams(new LayoutParams(LayoutParams.MATCH_PARENT, height)); 96 TextView sublabelView = (TextView) layout.findViewById(R.id.dropdown_sublabel) [all...] |
/external/chromium_org/ui/views/examples/ |
table_example.cc | 15 #include "ui/views/layout/grid_layout.h" 61 GridLayout* layout = new GridLayout(container); local 62 container->SetLayoutManager(layout); 84 ColumnSet* column_set = layout->AddColumnSet(0); 87 layout->StartRow(1 /* expand */, 0); 88 layout->AddView(table_->CreateParentIfNecessary()); 90 column_set = layout->AddColumnSet(1); 100 layout->StartRow(0 /* no expand */, 1); 102 layout->AddView(column1_visible_checkbox_); 103 layout->AddView(column2_visible_checkbox_) [all...] |
/external/chromium_org/chrome/browser/ui/views/extensions/ |
bookmark_app_bubble_view.cc | 28 #include "ui/views/layout/grid_layout.h" 29 #include "ui/views/layout/layout_constants.h" 108 GridLayout* layout = new GridLayout(this); local 109 SetLayoutManager(layout); 111 // Column sets used in the layout of the bubble. 118 // The column layout used for the title and checkbox. 119 ColumnSet* cs = layout->AddColumnSet(TITLE_COLUMN_SET_ID); 125 // The column layout used for the icon and text box. 126 cs = layout->AddColumnSet(TITLE_TEXT_COLUMN_SET_ID); 143 // The column layout used for the row with buttons [all...] |
extension_install_dialog_view.cc | 46 #include "ui/views/layout/box_layout.h" 47 #include "ui/views/layout/grid_layout.h" 48 #include "ui/views/layout/layout_constants.h" 127 virtual void Layout() OVERRIDE; 156 virtual void Layout() OVERRIDE; 171 // Creates a layout consisting of dialog header, extension name and icon. 235 // layout. 244 views::GridLayout* layout = new views::GridLayout(this); local 245 SetLayoutManager(layout); 246 views::ColumnSet* column_set = layout->AddColumnSet(0) 276 views::GridLayout* layout = new views::GridLayout(this); local 516 views::GridLayout* layout = CreateLayout( local 811 views::GridLayout* layout = views::GridLayout::CreatePanel(parent); local 1140 views::GridLayout* layout = new views::GridLayout(this); local [all...] |
/external/chromium_org/ui/views/controls/ |
message_box_view.cc | 19 #include "ui/views/layout/grid_layout.h" 20 #include "ui/views/layout/layout_constants.h" 208 // Initialize the Grid Layout Manager used for this dialog box. 209 GridLayout* layout = GridLayout::CreatePanel(this); local 210 SetLayoutManager(layout); 219 ColumnSet* column_set = layout->AddColumnSet(message_column_view_set_id); 232 column_set = layout->AddColumnSet(extra_column_view_set_id); 242 layout->StartRow(i, message_column_view_set_id); 245 layout->AddView(icon_); 247 layout->SkipColumns(1) [all...] |
/cts/tests/tests/text/src/android/text/cts/ |
SelectionTest.java | 164 StaticLayout layout = new StaticLayout(text, new TextPaint(), 50, null, 0, 0, false); local 169 assertTrue(Selection.moveLeft(builder, layout)); 173 assertTrue(Selection.moveLeft(builder, layout)); 178 assertFalse(Selection.moveLeft(builder, layout)); 183 assertTrue(Selection.moveLeft(builder, layout)); 191 StaticLayout layout = new StaticLayout(text, new TextPaint(), 200, null, 0, 0, false); local 196 assertTrue(Selection.moveRight(builder, layout)); 200 assertTrue(Selection.moveRight(builder, layout)); 204 assertTrue(Selection.moveRight(builder, layout)); 209 assertFalse(Selection.moveRight(builder, layout)); 222 StaticLayout layout = new StaticLayout(text, new TextPaint(), 200, null, 0, 0, false); local 261 StaticLayout layout = new StaticLayout(text, new TextPaint(), 200, null, 0, 0, false); local 344 StaticLayout layout = new StaticLayout(text, new TextPaint(), 200, null, 0, 0, false); local 370 StaticLayout layout = new StaticLayout(text, new TextPaint(), 200, null, 0, 0, false); local 392 StaticLayout layout = new StaticLayout(text, new TextPaint(), 200, null, 0, 0, false); local 422 StaticLayout layout = new StaticLayout(text, new TextPaint(), 200, null, 0, 0, false); local 443 StaticLayout layout = new StaticLayout(text, new TextPaint(), 50, null, 0, 0, false); local 478 StaticLayout layout = new StaticLayout(text, new TextPaint(), 50, null, 0, 0, false); local 504 StaticLayout layout = new StaticLayout(text, new TextPaint(), 200, null, 0, 0, false); local 535 StaticLayout layout = new StaticLayout(text, new TextPaint(), 200, null, 0, 0,false); local [all...] |
/cts/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
AccessibilityFocusAndInputFocusSyncActivity.java | 33 setContentView(R.layout.accessibility_focus_and_input_focus_sync_test);
|
AccessibilityTextTraversalActivity.java | 30 setContentView(R.layout.accessibility_text_traversal_test);
|
AccessibilityViewTreeReportingActivity.java | 33 setContentView(R.layout.accessibility_view_tree_reporting_test);
|
/cts/tests/tests/content/src/android/content/cts/ |
AvailableIntentsActivity.java | 32 setContentView(R.layout.available_intents_layout);
|
ContextWrapperCtsActivity.java | 31 setContentView(R.layout.local_sample);
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
ImageViewCtsActivity.java | 34 setContentView(R.layout.imageview_layout);
|
/cts/tests/tests/text/src/android/text/style/cts/ |
MockURLSpanTestActivity.java | 31 setContentView(R.layout.urlspan_layout);
|
URLSpanCtsActivity.java | 31 setContentView(R.layout.urlspan_layout);
|
/cts/tests/tests/tv/src/android/media/tv/cts/ |
TvViewStubActivity.java | 28 setContentView(R.layout.tvview_layout);
|
/cts/tests/tests/view/src/android/view/animation/cts/ |
AnimationTestCtsActivity.java | 28 setContentView(R.layout.anim_layout);
|
LayoutAnimCtsActivity.java | 36 android.R.layout.simple_list_item_1, mStrings));
|
/cts/tests/tests/view/src/android/view/cts/ |
FocusHandlingCtsActivity.java | 32 setContentView(R.layout.focus_handling_layout);
|
UsingViewsCtsActivity.java | 30 setContentView(R.layout.using_views_layout);
|
ViewLayoutPositionTestCtsActivity.java | 27 setContentView(R.layout.view_layout_position);
|
ViewStubCtsActivity.java | 27 setContentView(R.layout.viewstub_layout);
|
/cts/tests/tests/view/src/android/view/inputmethod/cts/ |
InputMethodCtsActivity.java | 26 setContentView(R.layout.inputmethod_edittext);
|
/cts/tests/tests/widget/src/android/widget/cts/ |
AutoCompleteCtsActivity.java | 34 setContentView(R.layout.autocompletetextview_layout);
|