/external/chromium_org/ash/system/tray/ |
tray_notification_view.cc | 16 #include "ui/views/layout/grid_layout.h" 33 views::GridLayout* layout = new views::GridLayout(this); local 34 SetLayoutManager(layout); 49 views::ColumnSet* columns = layout->AddColumnSet(0); 76 // Layout rows 77 layout->AddPaddingRow(0, kTrayPopupPaddingBetweenItems); 78 layout->StartRow(0, 0); 79 layout->AddView(icon_); 80 layout->AddView(contents); 81 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;
|
/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 | 38 #include "ui/views/layout/grid_layout.h" 39 #include "ui/views/layout/layout_constants.h" 186 GridLayout* layout = new views::GridLayout(this); 187 SetLayoutManager(layout); 190 views::ColumnSet* column_set = layout->AddColumnSet(kSingleColumnSetId); 206 layout->StartRow(0, kSingleColumnSetId); 207 layout->AddView(title_label); 216 layout->AddView(learn_more_link_); 224 layout->AddColumnSet(kPopupColumnSetId); 236 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 322 views::GridLayout* layout = new views::GridLayout(this); local 428 views::GridLayout* layout = new views::GridLayout(site_data_content_); local 481 views::GridLayout* layout = local 666 views::GridLayout* layout = new views::GridLayout(container); local 711 views::GridLayout* layout = new views::GridLayout(section_container); local [all...] |
/external/chromium_org/chrome/browser/ui/views/profiles/ |
profile_chooser_view.cc | 57 #include "ui/views/layout/grid_layout.h" 58 #include "ui/views/layout/layout_constants.h" 77 views::GridLayout* layout = new views::GridLayout(view); local 78 view->SetLayoutManager(layout); 80 views::ColumnSet* columns = layout->AddColumnSet(0); 83 return layout; 344 virtual void Layout() OVERRIDE { 347 // This layout trick keeps the text left-aligned and the icon right-aligned. 349 views::LabelButton::Layout(); 395 views::GridLayout* layout = new views::GridLayout(titled_view) local 589 views::GridLayout* layout; local 814 views::GridLayout* layout = CreateSingleColumnLayout(view, kFixedMenuWidth); local 954 views::GridLayout* layout = CreateSingleColumnLayout(view, local 1040 views::GridLayout* layout = CreateSingleColumnLayout(view, column_width); local 1149 views::GridLayout* layout = CreateSingleColumnLayout(view, kFixedMenuWidth); local 1184 views::GridLayout* layout; local 1235 views::GridLayout* layout = CreateSingleColumnLayout( local 1259 views::GridLayout* layout = CreateSingleColumnLayout(view, kFixedMenuWidth); local 1384 views::GridLayout* layout = CreateSingleColumnLayout( local 1456 views::GridLayout* layout = CreateSingleColumnLayout( 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...] |
/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. 72 .addLayout(R.layout.blue_padded_layout, null) 78 .addLayout(R.layout.blue_padded_layout, BOUNDS_CLIP_INIT) 84 .addLayout(R.layout.blue_padded_layout, CLIP_BOUNDS_CLIP_INIT) 90 .addLayout(R.layout.blue_padded_layout, PADDING_CLIP_INIT) 97 .addLayout(R.layout.blue_padded_layout, OUTLINE_CLIP_INIT, true) 102 .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;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
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/android/java/src/org/chromium/chrome/browser/ |
JavascriptAppModalDialog.java | 85 ViewGroup layout = (ViewGroup) inflater.inflate(R.layout.js_modal_dialog, null); local 86 mSuppressCheckBox = (CheckBox) layout.findViewById(R.id.suppress_js_modal_dialogs); 87 mPromptTextView = (TextView) layout.findViewById(R.id.js_modal_dialog_prompt); 89 prepare(layout); 92 .setView(layout) 176 void prepare(final ViewGroup layout) { 178 layout.findViewById(R.id.suppress_js_modal_dialogs).setVisibility( 184 layout.findViewById(R.id.js_modal_dialog_scroll_view).setVisibility(View.GONE); 186 ((TextView) layout.findViewById(R.id.js_modal_dialog_message)).setText(mMessage) [all...] |
/cts/tests/tests/view/src/android/view/cts/ |
ViewTreeObserverTest.java | 57 layout(R.layout.viewtreeobserver_layout); 64 private void layout(final int layoutId) { method in class:ViewTreeObserverTest 75 final LinearLayout layout = (LinearLayout) mActivity.findViewById(R.id.linearlayout); local 86 mViewTreeObserver = layout.getViewTreeObserver(); 108 final LinearLayout layout = local 110 mViewTreeObserver = layout.getViewTreeObserver(); 120 final LinearLayout layout = (LinearLayout) mActivity.findViewById(R.id.linearlayout); local 121 mViewTreeObserver = layout.getViewTreeObserver(); 175 final LinearLayout layout = (LinearLayout) mActivity.findViewById(R.id.linearlayout) local 186 final LinearLayout layout = (LinearLayout) mActivity.findViewById(R.id.linearlayout); local 197 final LinearLayout layout = (LinearLayout) mActivity.findViewById(R.id.linearlayout); local 204 final LinearLayout layout = (LinearLayout) mActivity.findViewById(R.id.linearlayout); local 221 final LinearLayout layout = (LinearLayout) mActivity.findViewById(R.id.linearlayout); local 270 final LinearLayout layout = (LinearLayout) mActivity.findViewById(R.id.linearlayout); local [all...] |
/cts/tests/tests/uiautomation/src/android/app/uiautomation/cts/ |
UiAutomationTestFirstActivity.java | 34 setContentView(R.layout.ui_automation_test); 42 android.R.layout.simple_list_item_1, cheeses);
|
UiAutomationTestSecondActivity.java | 33 setContentView(R.layout.ui_automation_test); 41 android.R.layout.simple_list_item_1, cheeses);
|
/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);
|