/external/chromium/chrome/browser/notifications/ |
balloon_collection_mac.mm | 26 int BalloonCollectionImpl::Layout::InterBalloonMargin() const { 30 int BalloonCollectionImpl::Layout::HorizontalEdgeMargin() const { 34 int BalloonCollectionImpl::Layout::VerticalEdgeMargin() const { 54 layout_.set_placement(Layout::VERTICALLY_FROM_BOTTOM_RIGHT); 56 layout_.set_placement(Layout::VERTICALLY_FROM_BOTTOM_LEFT); 58 layout_.set_placement(Layout::VERTICALLY_FROM_TOP_LEFT); 60 layout_.set_placement(Layout::VERTICALLY_FROM_TOP_RIGHT);
|
balloon_collection_win.cc | 20 int BalloonCollectionImpl::Layout::InterBalloonMargin() const { 24 int BalloonCollectionImpl::Layout::HorizontalEdgeMargin() const { 28 int BalloonCollectionImpl::Layout::VerticalEdgeMargin() const { 60 layout_.set_placement(Layout::VERTICALLY_FROM_TOP_RIGHT); 62 layout_.set_placement(Layout::VERTICALLY_FROM_TOP_LEFT); 64 layout_.set_placement(Layout::VERTICALLY_FROM_BOTTOM_LEFT); 66 layout_.set_placement(Layout::VERTICALLY_FROM_BOTTOM_RIGHT);
|
/external/skia/src/views/ |
SkBorderView.cpp | 71 //setup_views.cpp uses SkView::Layout instead of SkStackViewLayout 73 SkStackViewLayout* layout; local 77 layout = (SkStackViewLayout*)this->getLayout(); 78 layout->setMargin(fMargin); 82 layout = new SkStackViewLayout; 83 layout->setMargin(fMargin); 84 this->setLayout(layout)->unref();
|
/frameworks/base/docs/html/guide/tutorials/notepad/codelab/ |
NotepadCodeLab.zip | |
/external/chromium/chrome/browser/ui/views/ |
instant_confirm_view.cc | 18 #include "views/layout/grid_layout.h" 19 #include "views/layout/layout_constants.h" 33 views::GridLayout* layout = views::GridLayout::CreatePanel(this); local 34 SetLayoutManager(layout); 37 views::ColumnSet* column_set = layout->AddColumnSet(first_column_set); 40 layout->StartRow(0, first_column_set); 41 layout->AddView(description_label); 42 layout->StartRow(0, first_column_set); 43 layout->AddView(learn_more_link);
|
cookie_info_view.cc | 25 #include "views/layout/grid_layout.h" 26 #include "views/layout/layout_constants.h" 93 Layout(); 160 void CookieInfoView::AddLabelRow(int layout_id, views::GridLayout* layout, 162 layout->StartRow(0, layout_id); 163 layout->AddView(label); 164 layout->AddView(value, 2, 1, views::GridLayout::FILL, 166 layout->AddPaddingRow(0, views::kRelatedControlSmallVerticalSpacing); 169 void CookieInfoView::AddControlRow(int layout_id, views::GridLayout* layout, 171 layout->StartRow(0, layout_id) [all...] |
content_setting_bubble_contents.cc | 29 #include "views/layout/grid_layout.h" 30 #include "views/layout/layout_constants.h" 193 GridLayout* layout = new views::GridLayout(this); 194 SetLayoutManager(layout); 197 views::ColumnSet* column_set = layout->AddColumnSet(single_column_set_id); 208 layout->StartRow(0, single_column_set_id); 209 layout->AddView(title_label); 216 layout->AddPaddingRow(0, views::kRelatedControlVerticalSpacing); 223 layout->StartRow(0, single_column_set_id); 224 layout->AddView(new views::Label(name)) [all...] |
generic_info_view.cc | 13 #include "views/layout/grid_layout.h" 14 #include "views/layout/layout_constants.h" 67 GridLayout* layout = new GridLayout(this); 68 layout->SetInsets(kInfoViewInsetSize, kInfoViewInsetSize, 70 SetLayoutManager(layout); 72 views::ColumnSet* column_set = layout->AddColumnSet(kLayoutId); 84 layout->AddPaddingRow(0, views::kRelatedControlSmallVerticalSpacing); 87 AddRow(kLayoutId, layout, name_views_[i], value_views_[i]); 92 int layout_id, views::GridLayout* layout, views::Label* name, 95 layout->StartRow(0, layout_id) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/content/ |
_index.html | 12 <dt><a href="ResourcesLayoutReference.html">Resources Layout Reference</a></dt> 14 can be used to define multiple configurations for a layout resource that 15 reference the same layout XML.</dd> 18 <dd>Shows how you can vary a layout resource based on the device's smallest 22 <dd>Shows how you can vary a layout resource based on the device's current
|
/external/chromium/chrome/browser/chromeos/login/ |
captcha_view.cc | 23 #include "views/layout/grid_layout.h" 24 #include "views/layout/layout_constants.h" 140 Layout(); 158 views::GridLayout* layout = views::GridLayout::CreatePanel(this); local 159 SetLayoutManager(layout); 162 views::ColumnSet* column_set = layout->AddColumnSet(column_view_set_id); 165 layout->StartRow(0, column_view_set_id); 169 layout->AddView(label); 170 layout->AddPaddingRow(0, views::kRelatedControlVerticalSpacing); 172 layout->StartRow(0, column_view_set_id) [all...] |
/frameworks/base/core/tests/coretests/src/android/text/ |
TextLayoutTest.java | 21 import android.text.Layout; 40 Layout l = new StaticLayout(mString, mPaint, 200, 41 Layout.Alignment.ALIGN_NORMAL, 1, 0, 47 Layout l = new DynamicLayout(mString, mPaint, 200, 48 Layout.Alignment.ALIGN_NORMAL, 1, 0,
|
/cts/tests/tests/view/src/android/view/cts/ |
ViewTreeObserverTest.java | 52 layout(R.layout.viewtreeobserver_layout); 59 private void layout(final int layoutId) { method in class:ViewTreeObserverTest 70 final LinearLayout layout = (LinearLayout) mActivity.findViewById(R.id.linearlayout); local 74 mViewTreeObserver = layout.getViewTreeObserver(); 82 layout.requestChildFocus(lv1, lv2); 91 final LinearLayout layout = local 93 mViewTreeObserver = layout.getViewTreeObserver(); 103 final LinearLayout layout = (LinearLayout) mActivity.findViewById(R.id.linearlayout); local 104 mViewTreeObserver = layout.getViewTreeObserver() 153 final LinearLayout layout = (LinearLayout) mActivity.findViewById(R.id.linearlayout); local 164 final LinearLayout layout = (LinearLayout) mActivity.findViewById(R.id.linearlayout); local 175 final LinearLayout layout = (LinearLayout) mActivity.findViewById(R.id.linearlayout); local 182 final LinearLayout layout = (LinearLayout) mActivity.findViewById(R.id.linearlayout); local 199 final LinearLayout layout = (LinearLayout) mActivity.findViewById(R.id.linearlayout); local 230 final LinearLayout layout = (LinearLayout) mActivity.findViewById(R.id.linearlayout); local [all...] |
/cts/tests/tests/text/src/android/text/cts/ |
SelectionTest.java | 203 args = {android.text.Spannable.class, android.text.Layout.class} 208 StaticLayout layout = new StaticLayout(text, new TextPaint(), 50, null, 0, 0, false); local 213 assertTrue(Selection.moveLeft(builder, layout)); 217 assertTrue(Selection.moveLeft(builder, layout)); 222 assertFalse(Selection.moveLeft(builder, layout)); 227 assertTrue(Selection.moveLeft(builder, layout)); 235 args = {android.text.Spannable.class, android.text.Layout.class} 240 StaticLayout layout = new StaticLayout(text, new TextPaint(), 200, null, 0, 0, false); local 245 assertTrue(Selection.moveRight(builder, layout)); 249 assertTrue(Selection.moveRight(builder, layout)); 276 StaticLayout layout = new StaticLayout(text, new TextPaint(), 200, null, 0, 0, false); local 315 StaticLayout layout = new StaticLayout(text, new TextPaint(), 200, null, 0, 0, false); local 403 StaticLayout layout = new StaticLayout(text, new TextPaint(), 200, null, 0, 0, false); local 434 StaticLayout layout = new StaticLayout(text, new TextPaint(), 200, null, 0, 0, false); local 461 StaticLayout layout = new StaticLayout(text, new TextPaint(), 200, null, 0, 0, false); local 496 StaticLayout layout = new StaticLayout(text, new TextPaint(), 200, null, 0, 0, false); local 522 StaticLayout layout = new StaticLayout(text, new TextPaint(), 50, null, 0, 0, false); local 562 StaticLayout layout = new StaticLayout(text, new TextPaint(), 50, null, 0, 0, false); local 593 StaticLayout layout = new StaticLayout(text, new TextPaint(), 200, null, 0, 0, false); local 629 StaticLayout layout = new StaticLayout(text, new TextPaint(), 200, null, 0, 0,false); local [all...] |
/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...] |
/frameworks/base/core/java/android/widget/ |
ResourceCursorAdapter.java | 46 * @param layout resource identifier of a layout file that defines the views 51 public ResourceCursorAdapter(Context context, int layout, Cursor c) { 53 mLayout = mDropDownLayout = layout; 65 * @param layout resource identifier of a layout file that defines the views 73 public ResourceCursorAdapter(Context context, int layout, Cursor c, boolean autoRequery) { 75 mLayout = mDropDownLayout = layout; 83 * @param layout Resource identifier of a layout file that defines the view [all...] |
/frameworks/support/v4/java/android/support/v4/widget/ |
ResourceCursorAdapter.java | 48 * @param layout resource identifier of a layout file that defines the views 53 public ResourceCursorAdapter(Context context, int layout, Cursor c) { 55 mLayout = mDropDownLayout = layout; 67 * @param layout resource identifier of a layout file that defines the views 75 public ResourceCursorAdapter(Context context, int layout, Cursor c, boolean autoRequery) { 77 mLayout = mDropDownLayout = layout; 85 * @param layout Resource identifier of a layout file that defines the view [all...] |
/external/icu4c/samples/layout/ |
FontMap.h | 11 #include "layout/LETypes.h" 12 #include "layout/LEScripts.h" 13 #include "layout/LEFontInstance.h"
|
/frameworks/base/core/tests/coretests/src/android/widget/layout/table/ |
CellSpan.java | 17 package android.widget.layout.table; 25 * Exercise table layout with cells spanning. 31 setContentView(R.layout.table_layout_cell_span);
|
FixedWidth.java | 17 package android.widget.layout.table; 25 * Exercise table layout with cells having a fixed width and height. 31 setContentView(R.layout.table_layout_fixed_width);
|
HorizontalGravity.java | 17 package android.widget.layout.table; 25 * Exercise table layout with cells using a horizontal gravity. 31 setContentView(R.layout.table_layout_horizontal_gravity);
|
VerticalGravity.java | 17 package android.widget.layout.table; 25 * Exercise table layout with cells using a vertical gravity. 31 setContentView(R.layout.table_layout_vertical_gravity);
|
Weight.java | 17 package android.widget.layout.table; 25 * Exercise table layout with cells having a weight. 31 setContentView(R.layout.table_layout_weight);
|
/packages/apps/Mms/src/org/w3c/dom/smil/ |
SMILRootLayoutElement.java | 16 * Declares layout properties for the root-layout element. See the 17 * root-layout element definition .
|
SMILTopLayoutElement.java | 16 * Declares layout properties for the top-layout element. See the top-layout
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
ResizeState.java | 17 package com.android.ide.common.layout; 19 import static com.android.ide.common.layout.LayoutConstants.VALUE_N_DP; 20 import static com.android.ide.common.layout.LayoutConstants.VALUE_WRAP_CONTENT; 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) [all...] |