/packages/apps/Email/provider_src/com/android/email/provider/ |
FolderPickerSelectorAdapter.java | 32 Set<String> initiallySelected, int layout) { 33 super(context, folders, initiallySelected, layout);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib-tk/test/test_ttk/ |
test_style.py | 46 self.assertRaises(Tkinter.TclError, style.layout, 'NotALayout') 47 tv_style = style.layout('Treeview') 49 # "erase" Treeview layout 50 style.layout('Treeview', '') 51 self.assertEqual(style.layout('Treeview'), 55 # restore layout 56 style.layout('Treeview', tv_style) 57 self.assertEqual(style.layout('Treeview'), tv_style) 60 self.assertTrue(isinstance(style.layout('TButton'), list)) 62 # correct layout, but "option" doesn't exist as optio [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib-tk/test/test_ttk/ |
test_style.py | 46 self.assertRaises(Tkinter.TclError, style.layout, 'NotALayout') 47 tv_style = style.layout('Treeview') 49 # "erase" Treeview layout 50 style.layout('Treeview', '') 51 self.assertEqual(style.layout('Treeview'), 55 # restore layout 56 style.layout('Treeview', tv_style) 57 self.assertEqual(style.layout('Treeview'), tv_style) 60 self.assertTrue(isinstance(style.layout('TButton'), list)) 62 # correct layout, but "option" doesn't exist as optio [all...] |
/external/chromium_org/chrome/browser/ui/views/extensions/ |
extension_install_dialog_view.cc | 44 #include "ui/views/layout/box_layout.h" 45 #include "ui/views/layout/grid_layout.h" 46 #include "ui/views/layout/layout_constants.h" 120 views::GridLayout* layout = new views::GridLayout(this); local 121 SetLayoutManager(layout); 122 views::ColumnSet* column_set = layout->AddColumnSet(0); 135 layout->StartRow(0, 0); 136 layout->AddView(new views::Label(PrepareForDisplay(base::string16(), true))); 137 layout->AddView(view); 142 views::GridLayout* layout = new views::GridLayout(this) local 306 views::GridLayout* layout = CreateLayout( local 643 views::GridLayout* layout = views::GridLayout::CreatePanel(parent); local 978 views::GridLayout* layout = new views::GridLayout(this); local [all...] |
/external/chromium_org/chrome/browser/ui/views/profiles/ |
profile_chooser_view.cc | 63 #include "ui/views/layout/grid_layout.h" 64 #include "ui/views/layout/layout_constants.h" 84 views::GridLayout* layout = new views::GridLayout(view); local 85 view->SetLayoutManager(layout); 87 views::ColumnSet* columns = layout->AddColumnSet(0); 90 return layout; 196 virtual void Layout() OVERRIDE { 197 // This layout trick keeps the text left-aligned and the icon right-aligned. 199 views::LabelButton::Layout(); 372 virtual void Layout() OVERRIDE 432 views::GridLayout* layout = new views::GridLayout(titled_view); local 658 views::GridLayout* layout; local 891 views::GridLayout* layout = CreateSingleColumnLayout(view, kFixedMenuWidth); local 1003 views::GridLayout* layout = CreateSingleColumnLayout(view, local 1104 views::GridLayout* layout = CreateSingleColumnLayout(view, column_width); local 1229 views::GridLayout* layout = CreateSingleColumnLayout(view, kFixedMenuWidth); local 1257 views::GridLayout* layout = CreateSingleColumnLayout(view, kFixedMenuWidth); local 1298 views::GridLayout* layout = CreateSingleColumnLayout( local 1323 views::GridLayout* layout = CreateSingleColumnLayout(view, kFixedMenuWidth); local 1459 views::GridLayout* layout = CreateSingleColumnLayout( local 1594 views::GridLayout* layout = CreateSingleColumnLayout( local [all...] |
/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); 82 ColumnSet* column_set = layout->AddColumnSet(0); 85 layout->StartRow(1 /* expand */, 0); 86 layout->AddView(table_->CreateParentIfNecessary()); 88 column_set = layout->AddColumnSet(1); 98 layout->StartRow(0 /* no expand */, 1); 100 layout->AddView(column1_visible_checkbox_); 101 layout->AddView(column2_visible_checkbox_) [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/apps/NotificationBot/src/com/android/cts/robot/ |
NotificationBotActivity.java | 26 setContentView(R.layout.main);
|
/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/ |
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);
|