HomeSort by relevance Sort by last modified time
    Searched full:layout (Results 251 - 275 of 5312) sorted by null

<<11121314151617181920>>

  /frameworks/base/docs/html/guide/tutorials/views/
hello-linearlayout.jd 12 <li>Open the layout file.
99 <p>Carefully inspect the XML. You'll notice how this layout works a lot like
100 an HTML layout. There is one parent LinearLayout that is defined to lay
101 its child elements vertically. The first child is another LinearLayout that uses a horizontal layout
102 and the second uses a vertical layout. Each LinearLayout contains several {@link android.widget.TextView}
105 <li>Now open the HelloLinearLayout Activity and be sure it loads this layout in the <code>onCreate()</code> method:</p>
109 setContentView(R.layout.main);
112 <p><code>R.layout.main</code> refers to the <code>main.xml</code> layout file.</p>
  /sdk/eclipse/plugins/com.android.ide.eclipse.hierarchyviewer/src/com/android/ide/eclipse/hierarchyviewer/views/
TreeViewView.java 32 import org.eclipse.swt.layout.FillLayout;
33 import org.eclipse.swt.layout.GridData;
34 import org.eclipse.swt.layout.GridLayout;
48 GridLayout layout = new GridLayout(); local
49 layout.marginWidth = layout.marginHeight = 0;
50 layout.horizontalSpacing = layout.verticalSpacing = 0;
51 parent.setLayout(layout);
  /frameworks/base/core/java/android/text/method/
Touch.java 19 import android.text.Layout;
20 import android.text.Layout.Alignment;
37 public static void scrollTo(TextView widget, Layout layout, int x, int y) {
41 final int top = layout.getLineForVertical(y);
42 Alignment a = layout.getParagraphAlignment(top);
43 boolean ltr = layout.getParagraphDirection(top) > 0;
48 final int bottom = layout.getLineForVertical(y + widget.getHeight() - verticalPadding);
54 left = (int) Math.min(left, layout.getLineLeft(i));
55 right = (int) Math.max(right, layout.getLineRight(i))
154 Layout layout = widget.getLayout(); local
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/
ConstraintType.java 16 package com.android.ide.common.layout.relative;
26 import static com.android.ide.common.layout.LayoutConstants.ATTR_LAYOUT_ABOVE;
27 import static com.android.ide.common.layout.LayoutConstants.ATTR_LAYOUT_ALIGN_BASELINE;
28 import static com.android.ide.common.layout.LayoutConstants.ATTR_LAYOUT_ALIGN_BOTTOM;
29 import static com.android.ide.common.layout.LayoutConstants.ATTR_LAYOUT_ALIGN_LEFT;
30 import static com.android.ide.common.layout.LayoutConstants.ATTR_LAYOUT_ALIGN_PARENT_BOTTOM;
31 import static com.android.ide.common.layout.LayoutConstants.ATTR_LAYOUT_ALIGN_PARENT_LEFT;
32 import static com.android.ide.common.layout.LayoutConstants.ATTR_LAYOUT_ALIGN_PARENT_RIGHT;
33 import static com.android.ide.common.layout.LayoutConstants.ATTR_LAYOUT_ALIGN_PARENT_TOP;
34 import static com.android.ide.common.layout.LayoutConstants.ATTR_LAYOUT_ALIGN_RIGHT
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
ChangeLayoutWizard.java 17 package com.android.ide.eclipse.adt.internal.editors.layout.refactoring;
19 import static com.android.ide.common.layout.LayoutConstants.FQCN_GRID_LAYOUT;
20 import static com.android.ide.common.layout.LayoutConstants.FQCN_RELATIVE_LAYOUT;
21 import static com.android.ide.common.layout.LayoutConstants.GRID_LAYOUT;
22 import static com.android.ide.common.layout.LayoutConstants.RELATIVE_LAYOUT;
23 import static com.android.ide.eclipse.adt.internal.editors.layout.descriptors.LayoutDescriptors.VIEW_FRAGMENT;
24 import static com.android.ide.eclipse.adt.internal.editors.layout.descriptors.LayoutDescriptors.VIEW_INCLUDE;
25 import static com.android.ide.eclipse.adt.internal.editors.layout.descriptors.LayoutDescriptors.VIEW_MERGE;
27 import com.android.ide.eclipse.adt.internal.editors.layout.LayoutEditor;
28 import com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor
    [all...]
  /external/webkit/Source/WebKit/qt/tests/qwebframe/resources/
testiframe.html 45 <div id="content1">You can use the overflow property when you want to have better control of the layout. Try to change the overflow property to: visible, hidden, auto, or inherit and see what happens. The default value is visible.
46 You can use the overflow property when you want to have better control of the layout. Try to change the overflow property to: visible, hidden, auto, or inherit and see what happens. The default value is visible.
47 You can use the overflow property when you want to have better control of the layout. Try to change the overflow property to: visible, hidden, auto, or inherit and see what happens. The default value is visible.
48 You can use the overflow property when you want to have better control of the layout. Try to change the overflow property to: visible, hidden, auto, or inherit and see what happens. The default value is visible.
49 You can use the overflow property when you want to have better control of the layout. Try to change the overflow property to: visible, hidden, auto, or inherit and see what happens. The default value is visible.
50 You can use the overflow property when you want to have better control of the layout. Try to change the overflow property to: visible, hidden, auto, or inherit and see what happens. The default value is visible.</div>
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
ViewFlipperActivity.java 36 final View widget = inflater.inflate(R.layout.widget, null);
41 View view = inflater.inflate(R.layout.flipper_item, flipper, false);
47 view = inflater.inflate(R.layout.flipper_item, flipper, false);
53 FrameLayout layout = new FrameLayout(this); local
54 layout.addView(widget);
56 setContentView(layout);
  /frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
TrackerListHelper.java 47 * @param layout - layout to populate data
49 public void bindListUI(int layout) {
53 TrackerAdapter adapter = new TrackerAdapter(mActivity, layout, cursor);
62 public TrackerAdapter(Context context, int layout, Cursor c) {
63 super(context, layout, c);
  /packages/apps/Camera/res/layout-sw600dp/
camera_control.xml 29 <include layout="@layout/review_thumbnail" />
30 <include layout="@layout/review_control" />
53 <include layout="@layout/mode_picker" />
  /packages/apps/Settings/res/layout/
data_usage_header.xml 37 <include layout="@layout/data_usage_cycles" />
38 <include layout="@layout/data_usage_chart" />
72 <include layout="@layout/data_usage_detail" />
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/
NodeFactory.java 17 package com.android.ide.eclipse.adt.internal.editors.layout.gre;
20 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.CanvasViewInfo;
21 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.LayoutCanvas;
22 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.SwtUtils;
23 import com.android.ide.eclipse.adt.internal.editors.layout.uimodel.UiViewElementNode;
53 * is not yet part of the canvas, typically those created by layout rules
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/grid/
GridModelTest.java 16 package com.android.ide.common.layout.grid;
18 import static com.android.ide.common.layout.LayoutConstants.ANDROID_URI;
19 import static com.android.ide.common.layout.LayoutConstants.ATTR_COLUMN_COUNT;
20 import static com.android.ide.common.layout.LayoutConstants.FQCN_BUTTON;
23 import com.android.ide.common.layout.LayoutTestBase;
24 import com.android.ide.common.layout.TestNode;
  /sdk/layoutlib_api/src/com/android/layoutlib/api/
ILayoutBridge.java 24 * Entry point of the Layout Lib. Implementations of this interface provide a method to compute
25 * and render a layout.
57 * Returns the API level of the layout library.
80 * Starts a layout session by inflating and rendering it. The method returns a
84 * layout file.
89 * layout. This size is never smaller than <var>screenWidth</var> x <var>screenHeight</var>.
96 * where the string is the type of the resource reference used in the layout file, and the
100 * where the string is the type of the resource reference used in the layout file, and the map
106 * @return a new {@link ILayoutResult} object that contains the result of the layout.
121 * Computes and renders a layout
    [all...]
  /frameworks/base/docs/html/resources/articles/
layout-tricks-stubs.jd 1 page.title=Layout Tricks: Using ViewStubs
7 href="layout-tricks-reuse.html">&lt;include /&gt;</a> tag. Sometimes it's so
15 it does not draw anything and does not participate in the layout in any way.
18 <em>lazy include</em>. The layout referenced by a <code>ViewStub</code> is
42 inflated and replaced by the content of the layout file it references:</p>
48 <code>android:layout</code> attribute, to reference what layout file
51 <code>id</code> of the root of the included file. Finally, the layout
53 included layout. Here is an example:</p>
59 android:layout="&#64;layout/progress_overlay
    [all...]
  /development/samples/training/multiscreen/newsreader/res/values/
layouts.xml 19 <item name="main_layout" type="layout">@layout/onepane_with_bar</item>
  /development/samples/training/multiscreen/newsreader/res/values-sw600dp-land/
layouts.xml 19 <item name="main_layout" type="layout">@layout/twopanes</item>
  /development/samples/training/multiscreen/newsreader/res/values-sw600dp-port/
layouts.xml 19 <item name="main_layout" type="layout">@layout/onepane</item>
  /development/samples/training/multiscreen/newsreader/res/values-v11/
layouts.xml 19 <item name="main_layout" type="layout">@layout/onepane</item>
  /development/samples/training/multiscreen/newsreader/res/values-xlarge-land/
layouts.xml 19 <item name="main_layout" type="layout">@layout/twopanes</item>
  /development/samples/training/multiscreen/newsreader/res/values-xlarge-port/
layouts.xml 19 <item name="main_layout" type="layout">@layout/twopanes_narrow</item>
  /external/chromium/chrome/browser/chromeos/options/
wifi_config_view.cc 25 #include "views/layout/grid_layout.h"
26 #include "views/layout/layout_constants.h"
605 views::GridLayout* layout = views::GridLayout::CreatePanel(this); local
606 SetLayoutManager(layout);
609 views::ColumnSet* column_set = layout->AddColumnSet(column_view_set_id);
622 layout->StartRow(0, column_view_set_id);
623 layout->AddView(new views::Label(UTF16ToWide(l10n_util::GetStringUTF16(
630 layout->AddView(ssid_textfield_);
634 layout->AddView(label);
636 layout->AddPaddingRow(0, views::kRelatedControlVerticalSpacing)
    [all...]
  /external/chromium/chrome/browser/chromeos/
wm_overview_title.cc 19 #include "views/layout/grid_layout.h"
79 GridLayout* layout = new GridLayout(view); local
80 view->SetLayoutManager(layout);
83 ColumnSet* columns = layout->AddColumnSet(title_cs_id);
87 layout->StartRow(0, title_cs_id);
88 layout->AddView(title_label_);
89 layout->StartRowWithPadding(1, title_cs_id, 0, kVerticalPadding);
90 layout->AddView(url_label_);
  /external/chromium/chrome/browser/ui/views/download/
download_in_progress_dialog_view.cc 20 #include "views/layout/grid_layout.h"
58 views::GridLayout* layout = new views::GridLayout(this); local
59 SetLayoutManager(layout);
61 views::ColumnSet* column_set = layout->AddColumnSet(columnset_id);
72 layout->StartRow(0, columnset_id);
73 layout->AddView(warning_);
79 layout->StartRow(0, columnset_id);
80 layout->AddView(explanation_);
  /external/chromium/chrome/browser/ui/views/frame/
browser_view_layout.h 11 #include "views/layout/layout_manager.h"
31 // The layout manager used in chrome browser.
58 virtual void Layout(views::View* host);
65 // Layout the TabStrip, returns the coordinate of the bottom of the TabStrip,
69 // Layout the following controls, starting at |top|, returns the coordinate
85 // Layout the TabContents container, between the coordinates |top| and
94 // Layout the Download Shelf, returns the coordinate of the top of the
109 // Child views that the layout manager manages.
  /external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/
peers.ui 16 <layout class="QGridLayout">
36 </layout>

Completed in 645 milliseconds

<<11121314151617181920>>