/external/chromium_org/chrome/browser/ui/views/ |
edit_search_engine_dialog.cc | 22 #include "ui/views/layout/grid_layout.h" 23 #include "ui/views/layout/layout_constants.h" 141 GridLayout* layout = GridLayout::CreatePanel(this); local 142 SetLayoutManager(layout); 144 // Define the structure of the layout. 147 views::ColumnSet* column_set = layout->AddColumnSet(0); 157 column_set = layout->AddColumnSet(1); 168 column_set = layout->AddColumnSet(2); 173 layout->StartRow(0, 1); 174 layout->AddView(CreateLabel(IDS_SEARCH_ENGINES_EDITOR_DESCRIPTION_LABEL)) [all...] |
/external/chromium_org/ui/views/examples/ |
double_split_view_example.cc | 8 #include "ui/views/layout/grid_layout.h" 69 GridLayout* layout = new GridLayout(container); local 70 container->SetLayoutManager(layout); 73 ColumnSet* column_set = layout->AddColumnSet(0); 76 layout->StartRow(1, 0); 77 layout->AddView(outer_single_split_view_);
|
single_split_view_example.cc | 8 #include "ui/views/layout/grid_layout.h" 26 virtual void Layout() OVERRIDE; 50 void SplittedView::Layout() { 74 GridLayout* layout = new GridLayout(container); local 75 container->SetLayoutManager(layout); 77 ColumnSet* column_set = layout->AddColumnSet(0); 80 layout->StartRow(1, 0); 81 layout->AddView(single_split_view_);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
GlyphCacheActivity.java | 42 LinearLayout layout = new LinearLayout(this); local 43 layout.setOrientation(LinearLayout.VERTICAL); 44 layout.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT, 46 scrollView.addView(layout); 49 layout.addView(createTextView());
|
Rotate3dTextActivity.java | 35 final LinearLayout layout = new LinearLayout(this); local 36 layout.setOrientation(LinearLayout.VERTICAL); 39 layout.addView(view, makeLayoutParams()); 47 layout.addView(container, makeLayoutParams()); 49 setContentView(layout);
|
SmallCircleActivity.java | 34 final LinearLayout layout = new LinearLayout(this); local 35 layout.setOrientation(LinearLayout.VERTICAL); 38 layout.addView(view, new LinearLayout.LayoutParams(PathView.SIZE, PathView.SIZE)); 41 layout.addView(view, new LinearLayout.LayoutParams(PathView.SIZE, PathView.SIZE)); 43 setContentView(layout);
|
TimeDialogActivity.java | 33 FrameLayout layout = new FrameLayout(this); local 44 layout.addView(b); 46 setContentView(layout);
|
/frameworks/base/tests/ImfTest/src/com/android/imftest/samples/ |
ButtonActivity.java | 68 LinearLayout layout = new LinearLayout(this); local 69 layout.setOrientation(LinearLayout.VERTICAL); 70 layout.addView(myButton); 71 setContentView(layout); 72 mRootView = layout;
|
OneEditTextActivityNotSelected.java | 48 LinearLayout layout = new LinearLayout(this); local 49 layout.setOrientation(LinearLayout.VERTICAL); 58 layout.addView(button); 59 layout.addView(editText); 61 ((ScrollView) mRootView).addView(layout);
|
/packages/apps/Gallery/src/com/android/camera/ |
ActionMenuButton.java | 25 import android.text.Layout; 75 final Layout layout = getLayout(); local 80 rect.set(left + layout.getLineLeft(0) - PADDING_H, 81 top + layout.getLineTop(0) - PADDING_V, 82 Math.min(left + layout.getLineRight(0) + PADDING_H, 84 top + layout.getLineBottom(0) + PADDING_V);
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
ConversationListHelper.java | 38 .inflate(R.layout.conversation_sync_disabled_tip_view, null); 43 .inflate(R.layout.conversation_outbox_tip_view, null); 49 .inflate(R.layout.conversation_photo_teaser_view, null); 54 .inflate(R.layout.conversation_long_press_to_select_tip_view, null); 58 .inflate(R.layout.nested_folder_teaser_view, null);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
ResizeState.java | 17 package com.android.ide.common.layout; 40 * The layout containing the resized node 42 public final INode layout; field in class:ResizeState 81 * The actual view object for the layout containing the resizing operation, 90 * @param layout the parent layout containing the resized node 91 * @param layoutView the actual View instance for the layout, or null if not known 94 ResizeState(BaseLayoutRule rule, INode layout, Object layoutView, INode node) { 97 this.layout = layout; [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/ |
GLTracePerspective.java | 33 public void createInitialLayout(IPageLayout layout) { 34 // Create a 3 column layout 40 IFolderLayout column2 = layout.createFolder(STATE_FOLDER_ID, IPageLayout.RIGHT, 0.65f, 41 layout.getEditorArea()); 45 IFolderLayout column3 = layout.createFolder(FB_FOLDER_ID, IPageLayout.RIGHT, 0.6f, 50 IFolderLayout column3bottom = layout.createFolder(TEXTURE_VIEW_FOLDER_ID,
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/ |
ExplodeRenderingHelperTest.java | 17 package com.android.ide.eclipse.adt.internal.editors.layout; 41 // Single layout, horizontal, 2 buttons. 42 MockXmlNode layout = createLinearLayout(true /*horizontal*/, local 45 ExplodedRenderingHelper helper = new ExplodedRenderingHelper(layout, mLayoutNames); 51 // Single layout, horizontal, with 2 buttons. 53 MockXmlNode layout = createLinearLayout(false /*horizontal*/, local 56 ExplodedRenderingHelper helper = new ExplodedRenderingHelper(layout, mLayoutNames); 69 MockXmlNode layout = createLinearLayout(false /*horizontal*/, local 77 ExplodedRenderingHelper helper = new ExplodedRenderingHelper(layout, mLayoutNames); 89 MockXmlNode layout = createRelativeLayout local 126 MockXmlNode layout = createRelativeLayout(new MockXmlNode[] { linear1, linear2 } ); local 159 MockXmlNode layout = createRelativeLayout(new MockXmlNode[] { linear1, linear2 } ); local 226 MockXmlNode layout = createRelativeLayout( local 243 MockXmlNode layout = new MockXmlNode(null, "LinearLayout", Node.ELEMENT_NODE, children); local 252 MockXmlNode layout = new MockXmlNode(null, "RelativeLayout", Node.ELEMENT_NODE, children); local [all...] |
/external/chromium_org/chrome/browser/first_run/ |
try_chrome_dialog_view.cc | 29 #include "ui/views/layout/grid_layout.h" 30 #include "ui/views/layout/layout_constants.h" 94 // An approximate window size. After Layout() we'll get better bounds. 105 views::GridLayout* layout = views::GridLayout::CreatePanel(root_view); local 106 if (!layout) { 110 root_view->SetLayoutManager(layout); 114 columns = layout->AddColumnSet(0); 126 columns = layout->AddColumnSet(1); 133 columns = layout->AddColumnSet(2); 140 columns = layout->AddColumnSet(3) [all...] |
/external/chromium/chrome/browser/chromeos/login/ |
eula_view.cc | 45 #include "views/layout/grid_layout.h" 46 #include "views/layout/layout_constants.h" 47 #include "views/layout/layout_manager.h" 107 virtual void Layout(views::View* host) { 165 views::GridLayout* layout = views::GridLayout::CreatePanel(this); local 166 SetLayoutManager(layout); 167 views::ColumnSet* column_set = layout->AddColumnSet(0); 170 layout->StartRow(0, 0); 175 layout->AddView(label); 176 layout->AddPaddingRow(0, views::kRelatedControlVerticalSpacing) 354 views::GridLayout* layout = new views::GridLayout(this); local [all...] |
/cts/tests/tests/animation/src/android/animation/cts/ |
LayoutAnimationActivity.java | 33 setContentView(R.layout.animation_two); 40 LinearLayout layout = (LinearLayout) findViewById(R.id.container); 41 layout.addView(newButton);
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
Controls1.java | 39 setContentView(R.layout.controls_1); 46 android.R.layout.simple_spinner_item, mStrings); 47 adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
|
/external/chromium_org/ash/desktop_background/ |
wallpaper_resizer.h | 26 WallpaperLayout layout); 30 WallpaperLayout layout); 35 const WallpaperLayout layout() const { return layout_; } function in class:ash::WallpaperResizer
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/ |
vl_zscan.h | 63 struct pipe_sampler_view *src, *layout, *quant; member in struct:vl_zscan_buffer 72 vl_zscan_layout(struct pipe_context *pipe, const int layout[64], unsigned blocks_per_line); 91 vl_zscan_set_layout(struct vl_zscan_buffer *buffer, struct pipe_sampler_view *layout);
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
vl_zscan.h | 63 struct pipe_sampler_view *src, *layout, *quant; member in struct:vl_zscan_buffer 72 vl_zscan_layout(struct pipe_context *pipe, const int layout[64], unsigned blocks_per_line); 91 vl_zscan_set_layout(struct vl_zscan_buffer *buffer, struct pipe_sampler_view *layout);
|
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/ |
LLEditTextThenButton.java | 17 package android.widget.layout.linear; 37 setContentView(R.layout.linear_layout_edittext_then_button); 39 mLayout = (LinearLayout) findViewById(R.id.layout);
|
LLOfButtons1.java | 17 package android.widget.layout.linear; 39 setContentView(R.layout.linear_layout_buttons); 51 return (LinearLayout) findViewById(R.id.layout);
|
LinearLayoutEditTextsTest.java | 17 package android.widget.layout.linear; 19 import android.widget.layout.linear.LinearLayoutEditTexts; 41 mContainer = activity.findViewById(R.id.layout);
|
WeightTest.java | 17 package android.widget.layout.linear; 26 import android.widget.layout.linear.Weight; 42 mContainer = activity.findViewById(R.id.layout);
|