/sdk/testapps/libsTest/lib2/src/com/android/tests/libstest/lib2/ |
MainActivity.java | 11 setContentView(R.layout.lib2_main);
|
/sdk/testapps/testProjectTest/lib/src/com/android/tests/testprojecttest/lib/ |
LibActivity.java | 11 setContentView(R.layout.main);
|
/external/chromium_org/chrome/browser/ui/views/ |
first_run_dialog.cc | 26 #include "ui/views/layout/grid_layout.h" 27 #include "ui/views/layout/layout_constants.h" 77 GridLayout* layout = GridLayout::CreatePanel(this); local 78 SetLayoutManager(layout); 82 views::ColumnSet* column_set = layout->AddColumnSet(0); 86 layout->StartRow(0, 0); 90 layout->AddView(make_default_); 92 layout->StartRowWithPadding(0, 0, 0, related_y); 95 layout->AddView(report_crashes_);
|
collected_cookies_views.cc | 43 #include "ui/views/layout/box_layout.h" 44 #include "ui/views/layout/grid_layout.h" 45 #include "ui/views/layout/layout_constants.h" 129 content_->Layout(); 134 // Initialize contents and layout. 158 virtual void Layout() OVERRIDE { 290 GridLayout* layout = GridLayout::CreatePanel(this); 291 SetLayoutManager(layout); 294 views::ColumnSet* column_set = layout->AddColumnSet(single_column_layout_id); 298 layout->StartRow(0, single_column_layout_id) 358 GridLayout* layout = GridLayout::CreatePanel(pane); local 431 GridLayout* layout = GridLayout::CreatePanel(pane); local [all...] |
crypto_module_password_dialog_view.cc | 13 #include "ui/views/layout/grid_layout.h" 14 #include "ui/views/layout/layout_constants.h" 127 views::GridLayout* layout = views::GridLayout::CreatePanel(this); local 128 SetLayoutManager(layout); 130 views::ColumnSet* reason_column_set = layout->AddColumnSet(0); 135 views::ColumnSet* column_set = layout->AddColumnSet(1); 144 layout->StartRow(0, 0); 145 layout->AddView(reason_label_); 146 layout->AddPaddingRow(0, views::kUnrelatedControlVerticalSpacing); 148 layout->StartRow(0, 1) [all...] |
network_profile_bubble_view.cc | 21 #include "ui/views/layout/grid_layout.h" 22 #include "ui/views/layout/layout_constants.h" 26 // Bubble layout constants. 76 views::GridLayout* layout = views::GridLayout::CreatePanel(this); local 77 layout->SetInsets(0, kInset, kInset, kInset); 78 SetLayoutManager(layout); 80 views::ColumnSet* columns = layout->AddColumnSet(0); 84 layout->StartRow(0, 0); 92 layout->AddView(title); 94 views::ColumnSet* bottom_columns = layout->AddColumnSet(1) [all...] |
signed_certificate_timestamps_views.cc | 20 #include "ui/views/layout/grid_layout.h" 21 #include "ui/views/layout/layout_constants.h" 130 views::GridLayout* layout = views::GridLayout::CreatePanel(this); local 131 SetLayoutManager(layout); 134 views::ColumnSet* column_set = layout->AddColumnSet(kSelectorBoxLayoutId); 138 layout->StartRow(0, kSelectorBoxLayoutId); 139 layout->AddPaddingRow(0, views::kRelatedControlVerticalSpacing); 142 layout->StartRow(0, kSelectorBoxLayoutId); 147 layout->AddView(sct_selector_box_.get()); 148 layout->AddPaddingRow(0, views::kRelatedControlVerticalSpacing) [all...] |
cookie_info_view.cc | 25 #include "ui/views/layout/grid_layout.h" 26 #include "ui/views/layout/layout_constants.h" 70 Layout(); 114 views::GridLayout* layout, 117 layout->StartRow(0, layout_id); 118 layout->AddView(label); 119 layout->AddView( 159 views::GridLayout* layout = new views::GridLayout(this); local 160 layout->SetInsets(0, views::kButtonHEdgeMarginNew, 162 SetLayoutManager(layout); [all...] |
outdated_upgrade_bubble_view.cc | 25 #include "ui/views/layout/grid_layout.h" 26 #include "ui/views/layout/layout_constants.h" 134 views::GridLayout* layout = new views::GridLayout(this); local 135 SetLayoutManager(layout); 138 views::ColumnSet* cs = layout->AddColumnSet(kIconTitleColumnSetId); 150 cs = layout->AddColumnSet(kTextColumnSetId); 156 cs = layout->AddColumnSet(kButtonsColumnSetId); 164 layout->StartRow(0, kIconTitleColumnSetId); 165 layout->AddView(image_view); 166 layout->AddView(title_label) [all...] |
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
LoginActivityFromResources.java | 38 setContentView(R.layout.activity_login); 53 mLoginScene = Scene.getSceneForLayout(mSceneRoot, R.layout.activity_login, this); 54 mPasswordScene = Scene.getSceneForLayout(mSceneRoot, R.layout.login_password, this); 55 mIncorrectPasswordScene = Scene.getSceneForLayout(mSceneRoot, R.layout 57 mUsernameTakenScene = Scene.getSceneForLayout(mSceneRoot, R.layout.username_taken, this); 58 mSuccessScene = Scene.getSceneForLayout(mSceneRoot, R.layout.success, this); 59 mNewUserScene = Scene.getSceneForLayout(mSceneRoot, R.layout.new_user, this);
|
/external/chromium_org/chrome/browser/ui/views/accessibility/ |
invert_bubble_view.cc | 24 #include "ui/views/layout/grid_layout.h" 25 #include "ui/views/layout/layout_constants.h" 99 views::GridLayout* layout = views::GridLayout::CreatePanel(this); local 100 SetLayoutManager(layout); 102 views::ColumnSet* columns = layout->AddColumnSet(0); 109 layout->StartRow(0, 0); 110 layout->AddView(title, 4, 1); 111 layout->StartRowWithPadding(0, 0, 0, 113 layout->AddView(high_contrast_); 114 layout->AddView(dark_theme_) [all...] |
/external/chromium_org/ui/views/examples/ |
tree_view_example.cc | 12 #include "ui/views/layout/grid_layout.h" 56 GridLayout* layout = new GridLayout(container); local 57 container->SetLayoutManager(layout); 60 ColumnSet* column_set = layout->AddColumnSet(tree_view_column); 63 layout->StartRow(1 /* expand */, tree_view_column); 64 layout->AddView(tree_view_->CreateParentIfNecessary()); 68 column_set = layout->AddColumnSet(button_column); 74 layout->StartRow(0 /* no expand */, button_column); 75 layout->AddView(add_); 76 layout->AddView(remove_) [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
AppWidgetManagerTest.java | 41 int widgetId = shadowAppWidgetManager.createWidget(SpanishTestAppWidgetProvider.class, R.layout.main); 49 int widgetId = shadowAppWidgetManager.createWidget(SpanishTestAppWidgetProvider.class, R.layout.main); 58 int widgetId = shadowAppWidgetManager.createWidget(SpanishTestAppWidgetProvider.class, R.layout.main); 62 shadowAppWidgetManager.createWidget(SpanishTestAppWidgetProvider.class, R.layout.main)); 64 shadowAppWidgetManager.getViewFor(shadowAppWidgetManager.createWidget(SpanishTestAppWidgetProvider.class, R.layout.main))); 69 int widgetId = shadowAppWidgetManager.createWidget(SpanishTestAppWidgetProvider.class, R.layout.main); 71 assertContains("Main Layout", originalWidgetView); 73 appWidgetManager.updateAppWidget(widgetId, new RemoteViews("whatevs", R.layout.main)); 76 appWidgetManager.updateAppWidget(widgetId, new RemoteViews("whatevs", R.layout.media)); 80 assertContains("Media Layout", mediaWidgetView) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/preference/ |
LaunchingPreferences.java | 53 // Simple layout 54 LinearLayout layout = new LinearLayout(this); local 55 layout.setOrientation(LinearLayout.VERTICAL); 56 setContentView(layout); 62 layout.addView(launchPreferences, new LayoutParams(LayoutParams.MATCH_PARENT, 66 layout.addView(mCounterText, new LayoutParams(LayoutParams.MATCH_PARENT,
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
Spinner1.java | 42 setContentView(R.layout.spinner_1); 46 this, R.array.colors, android.R.layout.simple_spinner_item); 47 adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item); 63 android.R.layout.simple_spinner_item); 64 adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
|
/frameworks/base/tests/ImfTest/src/com/android/imftest/samples/ |
DialogActivity.java | 96 LinearLayout layout; local 97 layout = new LinearLayout(this); 98 layout.setOrientation(LinearLayout.VERTICAL); 104 layout.addView(editText); 110 d.setContentView(layout);
|
/frameworks/minikin/sample/ |
example.cpp | 17 // This is a test program that uses Minikin to layout and draw some text. 28 #include <minikin/Layout.h> 81 Layout::init(); 84 Layout layout; local 85 layout.setFontCollection(collection); 92 layout.doLayout(icuText.getBuffer(), 0, icuText.length(), icuText.length(), bidiFlags, fontStyle, paint); 93 layout.dump(); 95 layout.draw(&bitmap, 10, 40, 32);
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/tests/ |
TestsDvorakEmail.java | 17 package com.android.inputmethod.keyboard.layout.tests; 26 import com.android.inputmethod.keyboard.layout.Dvorak; 27 import com.android.inputmethod.keyboard.layout.LayoutBase; 28 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey; 29 import com.android.inputmethod.keyboard.layout.tests.TestsEnglishDvorak.EnglishDvorakCustomizer; 39 private static final LayoutBase LAYOUT = new DvorakEmail(new DvorakEmailCustomizer(LOCALE)); 42 LayoutBase getLayout() { return LAYOUT; }
|
TestsDvorakUrl.java | 17 package com.android.inputmethod.keyboard.layout.tests; 26 import com.android.inputmethod.keyboard.layout.Dvorak; 27 import com.android.inputmethod.keyboard.layout.LayoutBase; 28 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey; 29 import com.android.inputmethod.keyboard.layout.tests.TestsEnglishDvorak.EnglishDvorakCustomizer; 39 private static final LayoutBase LAYOUT = new DvorakEmail(new DvorakUrlCustomizer(LOCALE)); 42 LayoutBase getLayout() { return LAYOUT; }
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/ |
NodeFactory.java | 17 package com.android.ide.eclipse.adt.internal.editors.layout.gre; 20 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.CanvasViewInfo; 21 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.LayoutCanvas; 22 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.SwtUtils; 23 import com.android.ide.eclipse.adt.internal.editors.layout.uimodel.UiViewElementNode; 54 * is not yet part of the canvas, typically those created by layout rules
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
LayoutMetadata.java | 16 package com.android.ide.eclipse.adt.internal.editors.layout.gle2; 35 import com.android.ide.eclipse.adt.internal.editors.layout.ProjectCallback; 36 import com.android.ide.eclipse.adt.internal.editors.layout.uimodel.UiViewElementNode; 60 /** The default layout to use for list items in expandable list views */ 62 /** The default layout to use for list items in plain list views */ 64 /** The default layout to use for list items in spinners */ 69 /** The property key, included in comments, which references a list item layout */ 71 /** The property key, included in comments, which references a list header layout */ 73 /** The property key, included in comments, which references a list footer layout */ 75 /** The property key, included in comments, which references a fragment layout to show * 309 String layout = map.get(KEY_LV_ITEM); local 334 String layout = getProperty(xmlNode, KEY_LV_ITEM); local [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
ResourceCursorAdapterTest.java | 51 mParent = (ViewGroup) layoutInflater.inflate(R.layout.cursoradapter_host, null); 62 adapter = new MockResourceCursorAdapter(mContext, R.layout.cursoradapter_item0, mCursor); 68 R.layout.cursoradapter_item0, mCursor, false); 76 R.layout.cursoradapter_item0, mCursor); 83 mResourceCursorAdapter.setViewResource(R.layout.cursoradapter_item1); 92 R.layout.cursoradapter_item0, mCursor); 96 // the original dropdown'layout is set in constructor 99 // set the dropdown to new layout 100 mResourceCursorAdapter.setDropDownViewResource(R.layout.cursoradapter_item1); 117 R.layout.cursoradapter_item0, mCursor) [all...] |
/external/chromium_org/chrome/browser/ui/views/translate/ |
translate_bubble_view.cc | 36 #include "ui/views/layout/box_layout.h" 37 #include "ui/views/layout/grid_layout.h" 38 #include "ui/views/layout/layout_constants.h" 451 views::GridLayout* layout = new views::GridLayout(view); local 452 view->SetLayoutManager(layout); 461 views::ColumnSet* cs = layout->AddColumnSet(COLUMN_SET_ID_MESSAGE); 469 cs = layout->AddColumnSet(COLUMN_SET_ID_CONTENT); 477 layout->StartRow(0, COLUMN_SET_ID_MESSAGE); 478 layout->AddView(message_label); 479 layout->AddView(CreateLink(this 502 views::GridLayout* layout = new views::GridLayout(view); local 543 views::GridLayout* layout = new views::GridLayout(view); local 588 views::GridLayout* layout = new views::GridLayout(view); local 663 views::GridLayout* layout = new views::GridLayout(view); local [all...] |
/external/chromium_org/ui/gfx/ |
pango_util.cc | 112 PangoLayout* layout, 129 pango_layout_get_context(layout), cairo_font_options); 134 pango_layout_set_auto_dir(layout, FALSE); 135 pango_context_set_base_dir(pango_layout_get_context(layout), 142 pango_layout_set_alignment(layout, PANGO_ALIGN_CENTER); 144 pango_layout_set_alignment(layout, PANGO_ALIGN_RIGHT); 148 pango_layout_set_ellipsize(layout, PANGO_ELLIPSIZE_NONE); 150 pango_layout_set_wrap(layout, 155 pango_layout_set_ellipsize(layout, PANGO_ELLIPSIZE_END); 159 pango_layout_set_ellipsize(layout, PANGO_ELLIPSIZE_NONE) [all...] |
/external/chromium_org/ui/views/controls/ |
message_box_view.cc | 19 #include "ui/views/layout/box_layout.h" 20 #include "ui/views/layout/grid_layout.h" 21 #include "ui/views/layout/layout_constants.h" 195 // Initialize the Grid Layout Manager used for this dialog box. 196 GridLayout* layout = GridLayout::CreatePanel(this); local 197 SetLayoutManager(layout); 201 ColumnSet* column_set = layout->AddColumnSet(message_column_view_set_id); 208 column_set = layout->AddColumnSet(extra_column_view_set_id); 222 layout->StartRow(0, message_column_view_set_id); 223 layout->AddView(scroll_view) [all...] |