/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
AccordionControl.java | 17 package com.android.ide.eclipse.adt.internal.editors.layout.gle2; 35 import org.eclipse.swt.layout.GridData; 36 import org.eclipse.swt.layout.GridLayout; 37 import org.eclipse.swt.layout.RowLayout; 82 * overridden to lay out the children with a different layout than the default 88 RowLayout layout = new RowLayout(SWT.HORIZONTAL); local 89 layout.center = true; 90 composite.setLayout(layout); 92 RowLayout layout = new RowLayout(SWT.VERTICAL); local 93 layout.spacing = ITEM_SPACING 164 layout(); method 182 layout(); method [all...] |
LintTooltip.java | 16 package com.android.ide.eclipse.adt.internal.editors.layout.gle2; 20 import com.android.ide.common.layout.BaseLayoutRule; 21 import com.android.ide.eclipse.adt.internal.editors.layout.LayoutEditorDelegate; 22 import com.android.ide.eclipse.adt.internal.editors.layout.uimodel.UiViewElementNode; 27 import org.eclipse.swt.layout.GridData; 28 import org.eclipse.swt.layout.GridLayout;
|
/external/chromium_org/chrome/browser/ui/views/ |
content_setting_bubble_contents.cc | 38 #include "ui/views/layout/grid_layout.h" 39 #include "ui/views/layout/layout_constants.h" 189 GridLayout* layout = new views::GridLayout(this); 190 SetLayoutManager(layout); 193 views::ColumnSet* column_set = layout->AddColumnSet(kSingleColumnSetId); 206 layout->StartRow(0, kSingleColumnSetId); 207 layout->AddView(title_label); 214 layout->AddPaddingRow(0, views::kRelatedControlVerticalSpacing); 219 layout->StartRow(0, kSingleColumnSetId); 220 layout->AddView(new views::Label(name)) [all...] |
critical_notification_bubble_view.cc | 26 #include "ui/views/layout/grid_layout.h" 27 #include "ui/views/layout/layout_constants.h" 34 // Layout constants. 161 views::GridLayout* layout = views::GridLayout::CreatePanel(this); local 162 layout->SetInsets(0, kInset, kInset, kInset); 163 SetLayoutManager(layout); 166 views::ColumnSet* top_columns = layout->AddColumnSet(top_column_set_id); 173 layout->StartRow(0, top_column_set_id); 177 layout->AddView(image); 182 layout->AddView(headline_) [all...] |
script_bubble_view.cc | 26 #include "ui/views/layout/grid_layout.h" 38 // Layout constants. 120 views::GridLayout* layout = new views::GridLayout(this); local 121 SetLayoutManager(layout); 122 layout->SetInsets(kInsetTop, kInsetLeft, 0, 0); 126 views::ColumnSet* columns = layout->AddColumnSet(0); 135 columns = layout->AddColumnSet(1); 153 layout->StartRow(0, 0); 156 layout->AddView(heading); 159 layout->AddPaddingRow(0, kPaddingBelowHeadline) [all...] |
/external/chromium_org/ash/system/tray/ |
tray_notification_view.cc | 15 #include "ui/views/layout/grid_layout.h" 32 views::GridLayout* layout = new views::GridLayout(this); local 33 SetLayoutManager(layout); 48 views::ColumnSet* columns = layout->AddColumnSet(0); 75 // Layout rows 76 layout->AddPaddingRow(0, kTrayPopupPaddingBetweenItems); 77 layout->StartRow(0, 0); 78 layout->AddView(icon_); 79 layout->AddView(contents); 80 layout->AddView(close_button) [all...] |
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/ |
SizeAdaptiveLayoutTest.java | 46 // inflate the layout 72 inflate(R.layout.size_adaptive); 80 inflate(R.layout.size_adaptive); 97 inflate(R.layout.size_adaptive); 114 inflate(R.layout.size_adaptive); 131 inflate(R.layout.size_adaptive); 150 inflate(R.layout.size_adaptive_text); 164 inflate(R.layout.size_adaptive_singleton); 165 assertNull("largeView should be NULL in the singleton layout", mLargeView); 180 inflate(R.layout.size_adaptive_singleton) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.hierarchyviewer/src/com/android/ide/eclipse/hierarchyviewer/views/ |
TreeViewView.java | 34 import org.eclipse.swt.layout.FillLayout; 35 import org.eclipse.swt.layout.GridData; 36 import org.eclipse.swt.layout.GridLayout; 50 GridLayout layout = new GridLayout(); local 51 layout.marginWidth = layout.marginHeight = 0; 52 layout.horizontalSpacing = layout.verticalSpacing = 0; 53 parent.setLayout(layout);
|
/external/chromium_org/chrome/browser/ui/views/website_settings/ |
website_settings_popup_view.cc | 42 #include "ui/views/layout/box_layout.h" 43 #include "ui/views/layout/grid_layout.h" 44 #include "ui/views/layout/layout_manager.h" 151 views::GridLayout* layout = new views::GridLayout(this); local 152 SetLayoutManager(layout); 155 views::ColumnSet* column_set = layout->AddColumnSet(label_column); 172 layout->AddPaddingRow(0, kHeaderPaddingTop); 174 layout->StartRow(0, label_column); 178 layout->AddView(name_, 1, 1, views::GridLayout::LEADING, 189 layout->AddView(close_button, 1, 1, views::GridLayout::TRAILING 298 views::GridLayout* layout = new views::GridLayout(this); local 417 views::GridLayout* layout = new views::GridLayout(site_data_content_); local 468 views::GridLayout* layout = local 640 views::GridLayout* layout = new views::GridLayout(container); local 683 views::GridLayout* layout = new views::GridLayout(section_container); local [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
AbsSpinnerTest.java | 67 XmlPullParser parser = mContext.getResources().getXml(R.layout.gallery_test); 81 com.android.cts.stub.R.array.string, android.R.layout.simple_spinner_item); 82 adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item); 104 com.android.cts.stub.R.array.string, android.R.layout.simple_spinner_item); 105 adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item); 126 com.android.cts.stub.R.array.string, android.R.layout.simple_spinner_item); 127 adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item); 138 // issue 1695243, if adapter is null, NullPointerException will be thrown when do layout. 144 absSpinner.layout(0, 0, 200, 300); 161 com.android.cts.stub.R.array.string, android.R.layout.simple_spinner_item) 192 absSpinner.getChildAt(0).layout(rcChild0.left, rcChild0.top, method 194 absSpinner.getChildAt(1).layout(rcChild1.left, rcChild1.top, method 196 absSpinner.getChildAt(2).layout(rcChild2.left, rcChild2.top, method [all...] |
/external/chromium_org/chrome/browser/resources/chromeos/wallpaper_manager/js/ |
util.js | 28 * @param {string} layout The wallpaper layout. 31 WallpaperUtil.saveWallpaperInfo = function(url, layout, source) { 34 layout: layout, 77 * Sets wallpaper to online wallpaper specified by url and layout 79 * @param {string} layout The layout of online wallpaper. 83 WallpaperUtil.setOnlineWallpaper = function(url, layout, onSuccess, onFailure) { 85 chrome.wallpaperPrivate.setWallpaperIfExists(url, layout, [all...] |
/external/qemu/android/skin/ |
file.h | 19 /** Layout 85 #define SKIN_LAYOUT_LOOP_LOCS(layout,loc) \ 87 SkinLocation* __loc = (layout)->locations; \ 97 extern SkinDisplay* skin_layout_get_display( SkinLayout* layout ); 99 extern SkinRotation skin_layout_get_dpad_rotation( SkinLayout* layout ); 109 #define SKIN_FILE_LOOP_LAYOUTS(file,layout) \ 114 SkinLayout* layout = __layout;
|
/frameworks/base/core/java/android/text/method/ |
ScrollingMovementMethod.java | 95 Layout layout = widget.getLayout(); local 97 if (layout != null && (dir & View.FOCUS_FORWARD) != 0) { 99 layout.getLineTop(0)); 101 if (layout != null && (dir & View.FOCUS_BACKWARD) != 0) { 104 int line = layout.getLineCount() - 1; 107 layout.getLineTop(line+1) -
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
ZoomControlBar.java | 28 * A view that contains camera zoom control and its layout. 119 // layout for the left-hand camera control 129 mBar.layout(mTotalIconWidth, 0, mWidth - mTotalIconWidth, height); 140 mZoomIn.layout(0, 0, mIconWidth, height); 141 mZoomOut.layout(mWidth - mIconWidth, 0, mWidth, height); 144 mZoomOut.layout(0, 0, mIconWidth, height); 145 mZoomIn.layout(mWidth - mIconWidth, 0, mWidth, height); 149 mZoomSlider.layout((pos - sliderWidth / 2), 0,
|
/cts/tests/tests/view/src/android/view/cts/ |
ViewTreeObserverTest.java | 58 layout(R.layout.viewtreeobserver_layout); 65 private void layout(final int layoutId) { method in class:ViewTreeObserverTest 76 final LinearLayout layout = (LinearLayout) mActivity.findViewById(R.id.linearlayout); local 87 mViewTreeObserver = layout.getViewTreeObserver(); 109 final LinearLayout layout = local 111 mViewTreeObserver = layout.getViewTreeObserver(); 121 final LinearLayout layout = (LinearLayout) mActivity.findViewById(R.id.linearlayout); local 122 mViewTreeObserver = layout.getViewTreeObserver(); 176 final LinearLayout layout = (LinearLayout) mActivity.findViewById(R.id.linearlayout) local 187 final LinearLayout layout = (LinearLayout) mActivity.findViewById(R.id.linearlayout); local 198 final LinearLayout layout = (LinearLayout) mActivity.findViewById(R.id.linearlayout); local 205 final LinearLayout layout = (LinearLayout) mActivity.findViewById(R.id.linearlayout); local 222 final LinearLayout layout = (LinearLayout) mActivity.findViewById(R.id.linearlayout); local 271 final LinearLayout layout = (LinearLayout) mActivity.findViewById(R.id.linearlayout); local [all...] |
/external/chromium_org/chrome/browser/ui/views/extensions/ |
extension_install_dialog_view.cc | 39 #include "ui/views/layout/box_layout.h" 40 #include "ui/views/layout/grid_layout.h" 41 #include "ui/views/layout/layout_constants.h" 119 virtual void Layout() OVERRIDE; 251 virtual void Layout() OVERRIDE; 273 void MaxSizeScrollView::Layout() { 275 views::ScrollView::Layout(); 342 views::GridLayout* layout = views::GridLayout::CreatePanel(scrollable_); local 343 scrollable_->SetLayoutManager(layout); 346 views::ColumnSet* column_set = layout->AddColumnSet(column_set_id) 751 views::GridLayout* layout = new views::GridLayout(this); local [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
AutoComplete1.java | 31 setContentView(R.layout.autocomplete_1); 34 android.R.layout.simple_dropdown_item_1line, COUNTRIES);
|
AutoComplete3.java | 32 setContentView(R.layout.autocomplete_3); 35 android.R.layout.simple_dropdown_item_1line,
|
AutoComplete6.java | 31 setContentView(R.layout.autocomplete_6); 34 android.R.layout.simple_dropdown_item_1line, COUNTRIES);
|
Focus1.java | 35 setContentView(R.layout.focus_1); 44 android.R.layout.simple_list_item_1,
|
/development/samples/devbytes/animation/ListViewDraggingAnimation/src/com/example/android/listviewdragginganimation/ |
ListViewDraggingAnimation.java | 38 setContentView(R.layout.activity_list_view); 45 StableArrayAdapter adapter = new StableArrayAdapter(this, R.layout.text_view, mCheeseList);
|
/external/chromium_org/ash/display/ |
display_layout.h | 25 // Layout options where the secondary display should be positioned. 41 // Returns an inverted display layout. 45 static bool ConvertFromValue(const base::Value& value, DisplayLayout* layout); 46 static bool ConvertToValue(const DisplayLayout& layout, base::Value* value); 65 // Returns string representation of the layout for debugging/testing.
|
/external/chromium_org/chrome/browser/chromeos/ui/ |
idle_logout_dialog_view.cc | 23 #include "ui/views/layout/grid_layout.h" 24 #include "ui/views/layout/layout_constants.h" 137 views::GridLayout* layout = views::GridLayout::CreatePanel(this); local 138 SetLayoutManager(layout); 140 views::ColumnSet* column_set = layout->AddColumnSet(0); 143 layout->StartRow(0, 0); 144 layout->AddPaddingRow(0, views::kRelatedControlHorizontalSpacing); 145 layout->StartRow(0, 0); 146 layout->AddView(restart_label_); 147 layout->AddPaddingRow(0, views::kRelatedControlHorizontalSpacing) [all...] |
/external/chromium_org/media/base/ |
channel_layout.h | 122 // mean the channel at that index is not used for that layout. Values range 124 MEDIA_EXPORT int ChannelOrder(ChannelLayout layout, Channels channel); 127 MEDIA_EXPORT int ChannelLayoutToChannelCount(ChannelLayout layout); 129 // Given the number of channels, return the best layout,
|
/external/chromium_org/third_party/mesa/src/src/mesa/program/ |
prog_parameter_layout.c | 26 * \brief Helper functions to layout storage for program parameters 119 struct gl_program_parameter_list *layout; local 123 layout = 136 copy_indirect_accessed_array(state->prog->Parameters, layout, 141 _mesa_free_parameter_list(layout); 190 _mesa_add_unnamed_constant(layout, v, p->Size, & swizzle); 199 _mesa_add_state_reference(layout, p->StateIndexes); 211 layout->StateFlags = state->prog->Parameters->StateFlags; 213 state->prog->Parameters = layout;
|