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

<<11121314151617181920>>

  /frameworks/base/docs/html/resources/tutorials/views/
hello-relativelayout.jd 1 page.title=Relative Layout
19 <li>Open the <code>res/layout/main.xml</code> file and insert the following:
61 <p>All of the available layout attributes are defined in {@link
64 <li>Make sure you load this layout in the
69 setContentView(R.layout.main);
73 layout file for the {@link android.app.Activity}, specified by the resource
74 ID &mdash; <code>R.layout.main</code> refers to the <code>res/layout/main.xml</code> layout
79 <p>You should see the following layout:</p
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/resources/
ResourceHelperTest.java 20 import static com.android.resources.ResourceType.LAYOUT;
126 assertEquals(LAYOUT, ResourceHelper.parseResource("@layout/foo").getFirst());
129 assertEquals("foo", ResourceHelper.parseResource("@layout/foo").getSecond());
137 assertTrue(ResourceHelper.isFileBasedResourceType(ResourceType.LAYOUT));
153 assertFalse(ResourceHelper.isValueBasedResourceType(ResourceType.LAYOUT));
161 assertTrue(ResourceHelper.canCreateResource("@layout/foo"));
167 assertFalse(ResourceHelper.canCreateResource("@layout/foo bar")); // space
168 assertFalse(ResourceHelper.canCreateResource("@layout/new")); // keyword
175 assertTrue(ResourceHelper.canCreateResourceType(ResourceType.LAYOUT));
    [all...]
  /external/chromium/chrome/browser/chromeos/login/
screen_lock_view.cc 28 #include "views/layout/grid_layout.h"
107 void ScreenLockView::Layout() {
155 GridLayout* layout = new GridLayout(main_); local
156 main_->SetLayoutManager(layout);
157 views::ColumnSet* column_set = layout->AddColumnSet(0);
163 column_set = layout->AddColumnSet(1);
169 layout->AddPaddingRow(0, kBorderSize);
170 layout->StartRow(0, 0);
171 layout->AddView(user_view_);
172 layout->AddPaddingRow(0, kBorderSize)
    [all...]
  /frameworks/base/docs/html/guide/topics/ui/
index.jd 10 <li><a href="#Layout">Layout</a></li>
38 which offer different kinds of layout architecture, like linear, tabular and relative.</p>
40 <p>A View object is a data structure whose properties store the layout parameters and content for a specific
41 rectangular area of the screen. A View object handles its own measurement, layout, drawing, focus change,
65 the elements of your layout in-order (from the top of the hierarchy tree), instantiating the Views and
73 <h2 id="Layout">Layout</h2>
75 <p>The most common way to define your layout and express the view hierarchy is with an XML layout file
    [all...]
  /frameworks/base/core/tests/coretests/src/android/text/
StaticLayoutTest.java 21 import android.text.Layout.Alignment;
22 import static android.text.Layout.Alignment.*;
49 Layout l = b.build();
55 assertEquals(Layout.DIR_LEFT_TO_RIGHT, l.getParagraphDirection(0));
57 assertEquals(Layout.DIRS_ALL_LEFT_TO_RIGHT, l.getLineDirections(0));
73 Layout l = b.build();
89 Layout l = b.build();
107 Layout l = b.build();
135 Layout l = b.build();
156 Layout l = b.build()
    [all...]
StaticLayoutBidiTest.java 29 public static final int REQ_DL = 2; // Layout.DIR_REQUEST_DEFAULT_LTR;
30 public static final int REQ_DR = -2; // Layout.DIR_REQUEST_DEFAULT_RTL;
31 public static final int REQ_L = 1; // Layout.DIR_REQUEST_LTR;
32 public static final int REQ_R = -1; // Layout.DIR_REQUEST_RTL;
33 public static final int L = Layout.DIR_LEFT_TO_RIGHT;
34 public static final int R = Layout.DIR_RIGHT_TO_LEFT;
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
WrapInWizard.java 17 package com.android.ide.eclipse.adt.internal.editors.layout.refactoring;
19 import static com.android.ide.common.layout.LayoutConstants.FQCN_GESTURE_OVERLAY_VIEW;
20 import static com.android.ide.common.layout.LayoutConstants.FQCN_LINEAR_LAYOUT;
21 import static com.android.ide.common.layout.LayoutConstants.FQCN_RADIO_BUTTON;
22 import static com.android.ide.common.layout.LayoutConstants.GESTURE_OVERLAY_VIEW;
23 import static com.android.ide.common.layout.LayoutConstants.RADIO_GROUP;
24 import static com.android.ide.eclipse.adt.internal.editors.layout.descriptors.LayoutDescriptors.VIEW_INCLUDE;
26 import com.android.ide.eclipse.adt.internal.editors.layout.LayoutEditor;
27 import com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor;
28 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.CustomViewFinder
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
IncludeFinder.java 17 package com.android.ide.eclipse.adt.internal.editors.layout.gle2;
23 import static com.android.resources.ResourceType.LAYOUT;
34 import com.android.ide.eclipse.adt.internal.editors.layout.descriptors.LayoutDescriptors;
90 /** Map from a layout resource name to a set of layouts included by the given resource */
154 * Gets the list of all other layouts that are including the given layout.
182 * Returns true if the given resource is included from some other layout in the
186 * @return true if the file is included by some other layout
231 * it strips out the @layout/ prefix, and eliminates the values for empty string
358 // hit this -- even with an average layout root name of 20 characters
408 * Scan the whole project for XML layout resources that are performing includes
    [all...]
  /cts/tests/tests/text/src/android/text/cts/
BoringLayoutTest.java 25 import android.text.Layout;
28 import android.text.Layout.Alignment;
48 private static final Layout.Alignment DEFAULT_ALIGN = Layout.Alignment.ALIGN_CENTER;
70 android.text.Layout.Alignment.class, float.class, float.class,
77 android.text.Layout.Alignment.class, float.class, float.class,
198 + " 1. One line text layout."
268 assertEquals(Layout.DIR_LEFT_TO_RIGHT, mBoringLayout.getParagraphDirection(0));
271 assertEquals(Layout.DIR_LEFT_TO_RIGHT, mBoringLayout.getParagraphDirection(0));
284 + " 1. Alignment is {@link android.text.Layout.Alignment#ALIGN_CENTER} and the
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/preference/
LaunchingPreferences.java 53 // Simple layout
54 LinearLayout layout = new LinearLayout(this); local
55 layout.setOrientation(LinearLayout.VERTICAL);
56 setContentView(layout);
62 layout.addView(launchPreferences, new LayoutParams(LayoutParams.MATCH_PARENT,
66 layout.addView(mCounterText, new LayoutParams(LayoutParams.MATCH_PARENT,
  /external/chromium/chrome/browser/ui/views/frame/
contents_container.cc 64 Layout();
79 Layout();
87 // Make sure we layout next time around. We need this in case our bounds
140 void ContentsContainer::Layout() {
149 // still need a layout.
150 views::View::Layout();
  /external/webkit/Source/WebCore/rendering/svg/
SVGMarkerLayoutInfo.cpp 90 MarkerLayout& layout = *it; local
92 RenderSVGResourceMarker* markerContent = layout.marker;
95 bounds.unite(markerContent->markerBoundaries(layout.matrix));
119 MarkerLayout& layout = *it; local
120 layout.marker->draw(paintInfo, layout.matrix);
  /packages/apps/Launcher2/res/layout/
apps_customize_pane.xml 44 layout="@layout/market_button"
81 layout="@layout/scroll_indicator"
88 <include layout="@layout/all_apps_cling"
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
ScrollViewRule.java 17 package com.android.ide.common.layout;
19 import static com.android.ide.common.layout.LayoutConstants.ANDROID_URI;
20 import static com.android.ide.common.layout.LayoutConstants.ATTR_LAYOUT_HEIGHT;
21 import static com.android.ide.common.layout.LayoutConstants.ATTR_LAYOUT_WIDTH;
22 import static com.android.ide.common.layout.LayoutConstants.FQCN_LINEAR_LAYOUT;
54 // Insert a default linear layout (which will in turn be registered as
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/
PaletteMetadataDescriptor.java 16 package com.android.ide.eclipse.adt.internal.editors.layout.gre;
18 import static com.android.ide.common.layout.LayoutConstants.ANDROID_NS_NAME_PREFIX;
19 import static com.android.ide.common.layout.LayoutConstants.ANDROID_URI;
22 import com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor;
23 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.SimpleAttribute;
24 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.SimpleElement;
  /development/samples/ApiDemos/res/layout/
linear_layout_8.xml 18 Demonstrates a simple linear layout. The layout fills the screen, with the
26 android:id="@+id/layout"
  /development/samples/ApiDemos/res/layout-land/
fragment_layout.xml 17 <!-- Top-level content view for the layout fragment sample. This version is
20 <!-- BEGIN_INCLUDE(layout) -->
34 <!-- END_INCLUDE(layout) -->
  /development/samples/ApiDemos/src/com/example/android/apis/app/
CustomDialogActivity.java 43 // See assets/res/any/layout/dialog_activity.xml for this
44 // view layout definition, which is being set here as
46 setContentView(R.layout.custom_dialog_activity);
TranslucentActivity.java 43 // See assets/res/any/layout/translucent_background.xml for this
44 // view layout definition, which is being set here as
46 setContentView(R.layout.translucent_background);
TranslucentBlurActivity.java 50 // See assets/res/any/layout/translucent_background.xml for this
51 // view layout definition, which is being set here as
53 setContentView(R.layout.translucent_background);
WallpaperActivity.java 43 // See assets/res/any/layout/translucent_background.xml for this
44 // view layout definition, which is being set here as
46 setContentView(R.layout.translucent_background);
  /development/samples/ApiDemos/src/com/example/android/apis/content/
StyledText.java 38 // See assets/res/any/layout/styled_text.xml for this
39 // view layout definition.
40 setContentView(R.layout.styled_text);
  /development/samples/ApiDemos/src/com/example/android/apis/view/
Controls1.java 39 setContentView(R.layout.controls_1);
46 android.R.layout.simple_spinner_item, mStrings);
47 adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
  /external/skia/include/views/
SkStackViewLayout.h 22 class SkStackViewLayout : public SkView::Layout {
79 class SkFillViewLayout : public SkView::Layout {
92 typedef SkView::Layout INHERITED;
  /external/webkit/Source/WebCore/
ChangeLog-2005-08-23 8 * layout-tests/fast/parser/comments-expected.txt: Added.
9 * layout-tests/fast/parser/comments.html: Added.
43 Test cases added: none, doesn't affect layout. I did execute run-layout-tests to verify that there
67 editing tests already do, but also required particular memory layout/cleanup state, which
184 * layout-tests/fast/dom/no-elements-expected.txt: Added.
185 * layout-tests/fast/dom/no-elements.html: Added.
199 * layout-tests/dom/html/level2/html/HTMLElement113-expected.txt:
200 * layout-tests/dom/html/level2/html/HTMLElement114-expected.txt:
201 * layout-tests/dom/html/level2/html/HTMLElement142-expected.txt
    [all...]

Completed in 2149 milliseconds

<<11121314151617181920>>