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

<<11121314151617181920>>

  /packages/apps/Phone/src/com/android/phone/
EditPinPreference.java 32 * class, with a couple of modifications, including a different layout
58 * Overridden to setup the correct dialog layout, as well as setting up
63 // set the dialog layout
64 setDialogLayoutResource(R.layout.pref_dialog_editpin);
81 // If the layout does not contain an edittext, hide the buttons.
  /external/qemu/android/skin/
window.c 787 typedef struct Layout {
797 } Layout;
799 #define LAYOUT_LOOP_BUTTONS(layout,button) \
801 Button* __button = (layout)->buttons; \
802 Button* __button_end = __button + (layout)->num_buttons; \
810 #define LAYOUT_LOOP_DISPLAYS(layout,display) \
812 ADisplay* __display = (layout)->displays; \
813 ADisplay* __display_end = __display + (layout)->num_displays; \
823 layout_done( Layout* layout )
929 Layout layout; member in struct:SkinWindow
1419 Layout layout; local
1549 Layout* layout = &window->layout; local
    [all...]
  /external/chromium/chrome/browser/chromeos/login/
message_bubble.cc 15 #include "views/layout/grid_layout.h"
38 GridLayout* layout = new GridLayout(control_view); local
39 control_view->SetLayoutManager(layout);
40 views::ColumnSet* column_set = layout->AddColumnSet(0);
50 column_set = layout->AddColumnSet(1);
58 layout->StartRow(0, 0);
61 layout->AddView(icon_);
67 layout->AddView(text_);
76 layout->AddView(close_button_);
79 layout->StartRowWithPadding(0, 1, 0, kBorderSize)
    [all...]
  /external/chromium/chrome/browser/notifications/
balloon_collection_impl.h 31 // a layout, and monitors for balloons being closed, which it reports
66 // Calculates layout values for the balloons including
68 class Layout {
70 Layout();
109 // Returns the origin for the sequence of balloons depending on layout.
120 // Return a offscreen location which is offscreen for this layout,
124 // Returns true if the layout requires offsetting for keeping the close
129 // Layout parameters
142 DISALLOW_COPY_AND_ASSIGN(Layout);
169 // The layout parameters for balloons in this collection
    [all...]
  /frameworks/base/core/java/android/text/method/
LinkMovementMethod.java 19 import android.text.Layout;
92 Layout layout = widget.getLayout(); local
99 int linetop = layout.getLineForVertical(areatop);
100 int linebot = layout.getLineForVertical(areabot);
102 int first = layout.getLineStart(linetop);
103 int last = layout.getLineEnd(linebot);
204 Layout layout = widget.getLayout(); local
205 int line = layout.getLineForVertical(y)
    [all...]
BaseMovementMethod.java 19 import android.text.Layout;
423 final Layout layout = widget.getLayout(); local
431 final int lineLeft = (int) Math.floor(layout.getLineLeft(line));
440 final Layout layout = widget.getLayout(); local
448 final int lineRight = (int) Math.ceil(layout.getLineRight(line));
509 final Layout layout = widget.getLayout(); local
511 int topLine = layout.getLineForVertical(top)
536 final Layout layout = widget.getLayout(); local
566 final Layout layout = widget.getLayout(); local
586 final Layout layout = widget.getLayout(); local
608 final Layout layout = widget.getLayout(); local
626 final Layout layout = widget.getLayout(); local
    [all...]
  /frameworks/base/docs/html/resources/tutorials/views/
hello-linearlayout.jd 1 page.title=Linear Layout
15 <li>Open the <code>res/layout/main.xml</code> file and insert the following:
102 <code>res/layout/main.xml</code> layout in the
107 setContentView(R.layout.main);
111 layout file for the {@link android.app.Activity}, specified by the resource
112 ID &mdash; <code>R.layout.main</code> refers to the <code>res/layout/main.xml</code> layout
123 href="{@docRoot}guide/topics/ui/layout-objects.html#linearlayout">Common Layout Objects</a
    [all...]
  /packages/apps/Phone/res/layout/
manage_conference_panel.xml 97 layout="@layout/caller_in_conference"
102 layout="@layout/caller_in_conference"
107 layout="@layout/caller_in_conference"
112 layout="@layout/caller_in_conference"
117 layout="@layout/caller_in_conference
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
HoverOverlay.java 17 package com.android.ide.eclipse.adt.internal.editors.layout.gle2;
19 import static com.android.ide.eclipse.adt.internal.editors.layout.gle2.SwtDrawingStyle.HOVER;
20 import static com.android.ide.eclipse.adt.internal.editors.layout.gle2.SwtDrawingStyle.HOVER_SELECTION;
30 * The {@link HoverOverlay} paints an optional hover on top of the layout,
65 * @param hScale The {@link CanvasTransform} to use to transfer horizontal layout
67 * @param vScale The {@link CanvasTransform} to use to transfer vertical layout
119 * Sets the hover rectangle. The coordinates of the rectangle are in layout
127 * @param x The top left x coordinate, in layout coordinates, of the hover.
128 * @param y The top left y coordinate, in layout coordinates, of the hover.
129 * @param w The width of the hover (in layout coordinates)
    [all...]
  /external/clang/test/CodeGen/
blocksignature.c 46 const char *layout; // conditional on BLOCK_HAS_OBJC
52 const char *layout; // conditional on BLOCK_HAS_OBJC
64 struct block_layout_abi *layout = (struct block_layout_abi *)block;
65 if ((layout->flags & BLOCK_HAS_OBJC_TYPE) != BLOCK_HAS_OBJC_TYPE) return NULL;
66 if (layout->flags & BLOCK_HAS_COPY_DISPOSE)
67 return layout->descriptor->signature;
69 return ((struct block_descriptor_small *)layout->descriptor)->signature;
  /frameworks/base/docs/html/guide/tutorials/views/
hello-relativelayout.jd 6 <p>A {@link android.widget.RelativeLayout} is a ViewGroup that allows you to layout child elements
11 <li>Open the layout file. Make it like so:
50 usual width and height, which are required for all elements). When using relative layout,
55 <li>Make sure your Activity loads this layout in the <code>onCreate()</code> method:</p>
59 setContentView(R.layout.main);
62 <p><code>R.layout.main</code> refers to the <code>main.xml</code> layout file.</p>
  /frameworks/base/docs/html/shareables/training/
NewsReader.zip 
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/formatting/
XmlFormatStyle.java 26 * different preferred formats. For example, in layout files there is typically always a
30 * included on the same line whereas for other layout styles the children are typically
34 /** Layout formatting style: blank lines between elements, attributes on separate lines */
35 LAYOUT,
41 * Similar to layout style, but no newlines between related elements such as
70 return LAYOUT;
85 return LAYOUT;
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/uimodel/
UiViewElementNode.java 17 package com.android.ide.eclipse.adt.internal.editors.layout.uimodel;
19 import static com.android.ide.common.layout.LayoutConstants.FQCN_FRAME_LAYOUT;
21 import com.android.ide.common.layout.LayoutConstants;
24 import com.android.ide.eclipse.adt.internal.editors.layout.descriptors.LayoutDescriptors;
25 import com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor;
50 * The array merges both "direct" attributes with the descriptor layout attributes.
67 // Limitation: right now the layout behaves as if everything was
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
ChangeLayoutRefactoringTest.java 16 package com.android.ide.eclipse.adt.internal.editors.layout.refactoring;
18 import static com.android.ide.common.layout.LayoutConstants.FQCN_GRID_LAYOUT;
19 import static com.android.ide.common.layout.LayoutConstants.FQCN_LINEAR_LAYOUT;
20 import static com.android.ide.common.layout.LayoutConstants.FQCN_RELATIVE_LAYOUT;
22 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.CanvasViewInfo;
36 // Test a basic layout which performs some nesting -- tests basic grid layout conversion
  /sdk/lint/libs/lint_checks/src/com/android/tools/lint/checks/
DuplicateIdDetector.java 43 * Checks for duplicate ids within a layout and within an included layout
53 "Checks for duplicate ids within a single layout or within an include hierarchy",
55 "a single layout (including the case where two separate layouts are fused " +
72 return folderType == ResourceFolderType.LAYOUT || folderType == ResourceFolderType.MENU;
82 // TODO: Split this detector in half, since single-layout duplicates can be checked
104 // Store this layout's set of ids for full project analysis in afterCheckProject
132 // Record include graph such that we can look for inter-layout duplicates after the
135 String layout = element.getAttribute(ATTR_LAYOUT); // NOTE: Not in android: namespace local
136 if (layout.startsWith(VALUE_LAYOUT_PREFIX)) { // Ignore @android:layout/ layout
    [all...]
  /sdk/eclipse/
changes.txt 31 - Changes made by the layout editor are automatically run through
36 - Layout Editor
39 example, when dragging in a relative layout, the proposed
44 namespace and layout attributes if necessary.
49 view, and layout attributes only or all attributes alphabetically.
70 - Visual Layout Editor:
87 views with a new layout, and transfers namespace and layout
91 in the visual layout editor makes it easy to select siblings as
92 well as views anywhere in the layout that have the same type)
    [all...]
  /frameworks/base/docs/html/guide/topics/ui/
declaring-layout.jd 15 <li><a href="#layout-params">Layout Parameters</a></li>
31 <p>Your layout is the architecture for the user interface in an Activity.
32 It defines the layout structure and holds all the elements that appear to the user.
33 You can declare your layout in two ways:</p>
37 <li><strong>Instantiate layout elements at runtime</strong>. Your
47 Plugin for Eclipse</a> offers a layout preview of your XML &mdash;
48 with the XML file opened, select the <strong>Layout</strong> tab.</li>
51 for debugging layouts &mdash; it reveals layout property values,
59 <p>The advantage to declaring your UI in XML is that it enables you to better separate the presentation of your application from the code that controls its behavior. Your UI descriptions are external to your application code, which means that you can modify or adapt it without having to modify your source code and recompile. For example, you can create XML layouts for different screen orientations, different device screen sizes, and different languages. Additionally, declaring the layout in XML makes it easier to visualize the structure of your UI, so it's easier to debug problems. As (…)
    [all...]
  /external/chromium/chrome/browser/ui/views/
page_info_bubble_view.cc 23 #include "views/layout/grid_layout.h"
29 // Layout constants.
57 virtual void Layout();
63 // Calculate the layout if |compute_bounds_only|, otherwise does Layout also.
124 views::GridLayout* layout = new views::GridLayout(this); local
125 SetLayoutManager(layout);
126 views::ColumnSet* columns = layout->AddColumnSet(0);
135 columns = layout->AddColumnSet(1);
148 layout->StartRow(0, 0)
    [all...]
  /frameworks/base/docs/html/training/multiscreen/
adaptui.jd 19 <li><a href="#TaskDetermineCurLayout">Determine the Current Layout</a></li>
20 <li><a href="#TaskReactToLayout">React According to Current Layout</a></li>
44 <p>Depending on the layout that your application is currently showing, the UI
51 <h2 id="TaskDetermineCurLayout">Determine the Current Layout</h2>
53 <p>Since your implementation of each layout will be a little different, one of
54 the first things you will probably have to do is determine what layout the user is currently
66 setContentView(R.layout.main_layout);
76 which is much more flexible than hard-coding a query for a specific layout.</p>
94 <h2 id="TaskReactToLayout">React According to Current Layout</h2>
96 <p>Some actions may have a different result depending on the current layout
    [all...]
  /packages/apps/Mms/src/com/android/mms/ui/
SlideshowActivity.java 76 * @return whether the Smil has MMS conformance layout.
90 Node layout = children.item(0); local
91 if (layout == null || !"layout".equals(layout.getNodeName())) {
92 // The child is not layout element
95 NodeList layoutChildren = layout.getChildNodes();
97 // The 'layout' element has no child.
102 // The 'layout' element has no child.
108 // The 'layout' child is null
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/view/
_package.html 164 <td class="DescrColumn">Loads the linear_layout_1 layout resource</td>
167 <td class="LinkColumn"><a href="" onClick="findCode(this)">//device/samples/SampleCode/assets/res/any/layout/linear_layout_1.xml</a></td>
168 <td class="DescrColumn">Defines the layout</td>
192 <td class="DescrColumn">Loads the linear_layout_2 layout resource</td>
195 <td class="LinkColumn"><a href="" onClick="findCode(this)">//device/samples/SampleCode/assets/res/any/layout/linear_layout_2.xml</a></td>
196 <td class="DescrColumn">Defines the layout</td>
220 <td class="DescrColumn">Loads the linear_layout_3 layout resource</td>
223 <td class="LinkColumn"><a href="" onClick="findCode(this)">//device/samples/SampleCode/assets/res/any/layout/linear_layout_3.xml</a></td>
224 <td class="DescrColumn">Defines the layout</td>
250 <td class="DescrColumn">Loads the linear_layout_4 layout resource</td
    [all...]
  /external/chromium/chrome/browser/chromeos/input_method/
xkeyboard_unittest.cc 139 // CreateFullXkbLayoutName should accept a layout with a variant name.
155 // When the layout name is not "us", the second layout should be added.
173 const std::string layout = CreateFullXkbLayoutName( local
176 EXPECT_STREQ("us+", layout.substr(0, 3).c_str())
177 << "layout: " << layout;
179 EXPECT_TRUE(layouts.insert(layout).second) << "layout: " << layout;
    [all...]
  /frameworks/base/core/java/android/widget/
AbsoluteLayout.java 28 * A layout that lets you specify exact locations (x/y coordinates) of its
37 * or a custom layout instead.
96 * Returns a set of layout parameters with a width of
120 child.layout(childLeft, childTop,
150 * Per-child layout information associated with AbsoluteLayout.
152 * {@link android.R.styleable#AbsoluteLayout_Layout Absolute Layout Attributes}
166 * Creates a new set of layout parameters with the specified width,
183 * Creates a new set of layout parameters. The values are extracted from
185 * to this set of layout parameters are:
195 * @param attrs the set of attributes from which to extract the layout
    [all...]
  /frameworks/base/docs/html/resources/articles/
ui-1.6.jd 12 <p>RelativeLayout is the most versatile layout offered by the Android UI toolkit
14 applications. This layout used to suffer from various bugs and limitations,
22 XML layout:</p>
65 <p>This code builds a very simple layout?an image on the left with two lines of
66 text stacked vertically. This XML layout is perfectly fine and contains no
72 <p>The problem is that this layout uses forward references. For instance, the
75 this case. Now look at the exact same layout running on Android 1.6:</p>
81 layout.</p>
97 requires giving each button an id in your XML layout file:</p>
123 <p>And then reference this method from your XML layout:</p
    [all...]

Completed in 531 milliseconds

<<11121314151617181920>>