/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
ListViewTypeMenu.java | 16 package com.android.ide.eclipse.adt.internal.editors.layout.gle2; 19 import static com.android.ide.eclipse.adt.internal.editors.layout.gle2.LayoutMetadata.KEY_LV_FOOTER; 20 import static com.android.ide.eclipse.adt.internal.editors.layout.gle2.LayoutMetadata.KEY_LV_HEADER; 21 import static com.android.ide.eclipse.adt.internal.editors.layout.gle2.LayoutMetadata.KEY_LV_ITEM; 26 import com.android.ide.eclipse.adt.internal.editors.layout.LayoutEditorDelegate; 27 import com.android.ide.eclipse.adt.internal.editors.layout.uimodel.UiViewElementNode; 61 super(isGrid ? "Preview Grid Content" : isSpinner ? "Preview Spinner Layout" 72 IAction action = new PickLayoutAction("Choose Layout...", KEY_LV_ITEM); 137 public SetListTypeAction(String title, String layout, String selected) { 139 mLayout = layout; 187 String layout = null; local 212 LayoutMetadata.setProperty(delegate.getEditor(), xmlNode, type, layout); local [all...] |
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/chromeos/login/ui/ |
simple_web_view_dialog.cc | 34 #include "ui/views/layout/grid_layout.h" 35 #include "ui/views/layout/layout_constants.h" 66 GridLayout* layout = new GridLayout(this); local 67 SetLayoutManager(layout); 70 views::ColumnSet* column_set = layout->AddColumnSet(0); 87 layout->StartRow(0, 0); 88 layout->AddView(back); 89 layout->AddView(forward); 90 layout->AddView(reload); 91 layout->AddView(location_bar) 206 GridLayout* layout = new GridLayout(this); local [all...] |
/external/deqp/framework/opengl/ |
gluVarType.cpp | 183 const char* getFormatLayoutName (FormatLayout layout) 202 return de::getSizedArrayElement<FORMATLAYOUT_LAST>(s_names, layout); 231 // Layout Implementation 233 Layout::Layout (int location_, int binding_, int offset_, FormatLayout format_, MatrixOrder matrixOrder_) 242 bool Layout::operator== (const Layout& other) const 251 bool Layout::operator!= (const Layout& other) const 258 VariableDeclaration::VariableDeclaration (const VarType& varType_, const std::string& name_, Storage storage_, Interpolation interpolation_, const Layout& layout_, deUint32 memoryAccessQualifierBits_ [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...] |
/external/chromium_org/ui/android/java/src/org/chromium/ui/ |
ColorSuggestionListAdapter.java | 97 LinearLayout layout; local 99 layout = (LinearLayout) convertView; 101 layout = new LinearLayout(mContext); 102 layout.setLayoutParams(new AbsListView.LayoutParams( 105 layout.setOrientation(LinearLayout.HORIZONTAL); 106 layout.setBackgroundColor(Color.WHITE); 119 layout.addView(button); 123 setUpColorButton(layout.getChildAt(i), position * COLORS_PER_ROW + i); 125 return layout;
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
FocusHelper.java | 247 final CellLayout layout = (CellLayout) parent.getParent(); local 258 ArrayList<View> views = getCellLayoutChildrenSortedSpatially(layout, parent); 270 ArrayList<View> views = getCellLayoutChildrenSortedSpatially(layout, parent); 288 final View newIcon = getIconInDirection(layout, children, -1, 1); 322 private static ArrayList<View> getCellLayoutChildrenSortedSpatially(CellLayout layout, 325 final int cellCountX = layout.getCountX(); 362 private static View getIconInDirection(CellLayout layout, ViewGroup parent, int i, 364 final ArrayList<View> views = getCellLayoutChildrenSortedSpatially(layout, parent); 367 private static View getIconInDirection(CellLayout layout, ViewGroup parent, View v, 369 final ArrayList<View> views = getCellLayoutChildrenSortedSpatially(layout, parent) 421 final CellLayout layout = (CellLayout) parent.getParent(); local 589 final CellLayout layout = (CellLayout) parent.getParent(); local [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/ |
critical_notification_bubble_view.cc | 26 #include "ui/views/layout/grid_layout.h" 27 #include "ui/views/layout/layout_constants.h" 34 // Layout constants. 160 views::GridLayout* layout = views::GridLayout::CreatePanel(this); local 161 layout->SetInsets(0, kInset, kInset, kInset); 162 SetLayoutManager(layout); 165 views::ColumnSet* top_columns = layout->AddColumnSet(top_column_set_id); 172 layout->StartRow(0, top_column_set_id); 176 layout->AddView(image); 181 layout->AddView(headline_) [all...] |
content_setting_bubble_contents.cc | 39 #include "ui/views/layout/grid_layout.h" 40 #include "ui/views/layout/layout_constants.h" 187 GridLayout* layout = new views::GridLayout(this); 188 SetLayoutManager(layout); 191 views::ColumnSet* column_set = layout->AddColumnSet(kSingleColumnSetId); 207 layout->StartRow(0, kSingleColumnSetId); 208 layout->AddView(title_label); 217 layout->AddView(learn_more_link_); 225 layout->AddColumnSet(kPopupColumnSetId); 237 layout->AddPaddingRow(0, views::kRelatedControlVerticalSpacing) [all...] |
/external/chromium_org/chrome/browser/ui/views/website_settings/ |
website_settings_popup_view.cc | 46 #include "ui/views/layout/box_layout.h" 47 #include "ui/views/layout/grid_layout.h" 48 #include "ui/views/layout/layout_manager.h" 164 views::GridLayout* layout = new views::GridLayout(this); local 165 SetLayoutManager(layout); 168 views::ColumnSet* column_set = layout->AddColumnSet(label_column); 185 layout->AddPaddingRow(0, kHeaderPaddingTop); 187 layout->StartRow(0, label_column); 191 layout->AddView(name_, 1, 1, views::GridLayout::LEADING, 201 layout->AddView(close_button, 1, 1, views::GridLayout::TRAILING 323 views::GridLayout* layout = new views::GridLayout(this); local 443 views::GridLayout* layout = new views::GridLayout(site_data_content_); local 496 views::GridLayout* layout = local 692 views::GridLayout* layout = new views::GridLayout(container); local 738 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.widget.R.array.string, android.R.layout.simple_spinner_item); 82 adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item); 104 com.android.cts.widget.R.array.string, android.R.layout.simple_spinner_item); 105 adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item); 126 com.android.cts.widget.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. 145 absSpinner.layout(0, 0, 200, 300); 162 com.android.cts.widget.R.array.string, android.R.layout.simple_spinner_item) 194 absSpinner.getChildAt(0).layout(rcChild0.left, rcChild0.top, method 196 absSpinner.getChildAt(1).layout(rcChild1.left, rcChild1.top, method 198 absSpinner.getChildAt(2).layout(rcChild2.left, rcChild2.top, method [all...] |
/external/chromium_org/third_party/polymer/components/core-drawer-panel/ |
core-drawer-panel.css | 95 narrow layout 97 .narrow-layout > #drawer.core-selected { 101 .right-drawer.narrow-layout > #drawer.core-selected { 105 polyfill-next-selector { content: ':host .narrow-layout > #drawer > [drawer]'; } 106 .narrow-layout > #drawer > ::content[select="[drawer]"] > * { 110 .narrow-layout > #drawer:not(.core-selected) { 115 .right-drawer.narrow-layout > #drawer:not(.core-selected) { 121 .narrow-layout > #main { 126 .right-drawer.narrow-layout > #main { 132 .narrow-layout > #main:not(.core-selected) #scrim [all...] |
/external/chromium_org/third_party/polymer/components-chromium/core-drawer-panel/ |
core-drawer-panel.css | 95 narrow layout 97 .narrow-layout > #drawer.core-selected { 101 .right-drawer.narrow-layout > #drawer.core-selected { 105 polyfill-next-selector { content: ':host .narrow-layout > #drawer > [drawer]'; } 106 .narrow-layout > #drawer > ::content[select="[drawer]"] > * { 110 .narrow-layout > #drawer:not(.core-selected) { 115 .right-drawer.narrow-layout > #drawer:not(.core-selected) { 121 .narrow-layout > #main { 126 .right-drawer.narrow-layout > #main { 132 .narrow-layout > #main:not(.core-selected) #scrim [all...] |
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
ViewClippingTests.java | 20 * Since the layout is blue on a white background, this is always done with a RectVerifier. 71 .addLayout(R.layout.blue_padded_layout, null) 77 .addLayout(R.layout.blue_padded_layout, BOUNDS_CLIP_INIT) 83 .addLayout(R.layout.blue_padded_layout, CLIP_BOUNDS_CLIP_INIT) 89 .addLayout(R.layout.blue_padded_layout, PADDING_CLIP_INIT) 96 .addLayout(R.layout.blue_padded_layout, OUTLINE_CLIP_INIT, true) 101 .addLayout(R.layout.blue_padded_layout, OUTLINE_CLIP_INIT, false)
|
/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, 81 * Sets wallpaper to online wallpaper specified by url and layout 83 * @param {string} layout The layout of online wallpaper. 87 WallpaperUtil.setOnlineWallpaper = function(url, layout, onSuccess, onFailure) { 89 chrome.wallpaperPrivate.setWallpaperIfExists(url, layout, function(exists) [all...] |
/external/qemu/android/skin/ |
file.h | 19 /** Layout 88 #define SKIN_LAYOUT_LOOP_LOCS(layout,loc) \ 90 SkinLocation* __loc = (layout)->locations; \ 100 extern SkinDisplay* skin_layout_get_display( SkinLayout* layout ); 102 extern SkinRotation skin_layout_get_dpad_rotation( SkinLayout* layout ); 112 #define SKIN_FILE_LOOP_LAYOUTS(file,layout) \ 117 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) -
|
/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...] |
/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,
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/ |
HindiCompact.java | 17 package com.android.inputmethod.keyboard.layout; 19 import static com.android.inputmethod.keyboard.layout.DevanagariLetterConstants.*; 21 import com.android.inputmethod.keyboard.layout.Hindi.HindiCustomizer; 22 import com.android.inputmethod.keyboard.layout.Hindi.HindiSymbols; 23 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey; 24 import com.android.inputmethod.keyboard.layout.expected.ExpectedKeyboardBuilder;
|
NepaliRomanized.java | 17 package com.android.inputmethod.keyboard.layout; 19 import static com.android.inputmethod.keyboard.layout.DevanagariLetterConstants.*; 22 import com.android.inputmethod.keyboard.layout.Hindi.HindiCustomizer; 23 import com.android.inputmethod.keyboard.layout.Hindi.HindiSymbols; 24 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey; 25 import com.android.inputmethod.keyboard.layout.expected.ExpectedKeyboardBuilder; 30 * The nepali_romanized layout
|
NepaliTraditional.java | 17 package com.android.inputmethod.keyboard.layout; 19 import static com.android.inputmethod.keyboard.layout.DevanagariLetterConstants.*; 22 import com.android.inputmethod.keyboard.layout.Hindi.HindiSymbols; 23 import com.android.inputmethod.keyboard.layout.NepaliRomanized.NepaliRomanizedCustomizer; 24 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey; 25 import com.android.inputmethod.keyboard.layout.expected.ExpectedKeyboardBuilder;
|
/external/chromium_org/chrome/browser/ui/views/extensions/ |
bookmark_app_bubble_view.cc | 30 #include "ui/views/layout/grid_layout.h" 31 #include "ui/views/layout/layout_constants.h" 114 GridLayout* layout = new GridLayout(this); local 115 SetLayoutManager(layout); 117 // Column sets used in the layout of the bubble. 124 // The column layout used for the title and checkbox. 125 ColumnSet* cs = layout->AddColumnSet(TITLE_COLUMN_SET_ID); 131 // The column layout used for the icon and text box. 132 cs = layout->AddColumnSet(TITLE_TEXT_COLUMN_SET_ID); 149 // The column layout used for the row with buttons [all...] |