/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/ |
LayoutDevicesXsd.java | 32 * Public constants for the layout device description XML Schema.
36 /** The XML namespace of the layout-configs XML. */
38 "http://schemas.android.com/sdk/android/layout-devices/1"; //$NON-NLS-1$
41 * The "layout-devices" element is the root element of this schema.
46 * These definitions are used in the Graphical Layout Editor in the
49 public static final String NODE_LAYOUT_DEVICES = "layout-devices"; //$NON-NLS-1$
117 * Helper to get an input stream of the layout config XML schema.
120 return LayoutDevicesXsd.class.getResourceAsStream("layout-devices.xsd"); //$NON-NLS-1$
|
/sdk/hierarchyviewer2/libs/hierarchyviewerlib/src/com/android/hierarchyviewerlib/ui/ |
TreeViewControls.java | 30 import org.eclipse.swt.layout.GridData; 31 import org.eclipse.swt.layout.GridLayout; 46 GridLayout layout = new GridLayout(5, false); local 47 layout.marginWidth = layout.marginHeight = 2; 48 layout.verticalSpacing = layout.horizontalSpacing = 4; 49 setLayout(layout);
|
/sdk/lint/libs/lint_checks/tests/src/com/android/tools/lint/checks/ |
TooManyViewsDetectorTest.java | 32 lint("layout/too_many.xml")); 39 lint("layout/too_deep.xml"));
|
UselessViewDetectorTest.java | 30 "useless.xml:12: Warning: This LinearLayout layout or its FrameLayout parent " + 32 lint("layout/useless.xml"));
|
/external/chromium/chrome/browser/chromeos/login/ |
base_login_display_host.cc | 43 // and the OEM layout information, and saves it to "Locale State". 47 std::string layout; local 49 // If the OEM layout information is provided, use it. 50 layout = oem_layout; 59 // input_method_ids[0] now contains the most popular keyboard layout 61 layout = input_method_ids[0]; 65 if (!layout.empty()) { 67 prefs->SetString(prefs::kHardwareKeyboardLayout, layout); 185 // If kPreferredKeyboardLayout is not specified, use the hardware layout. 235 std::string layout = startup_manifest->keyboard_layout() local 237 << "keyboard layout " << layout; local [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
FragmentHideShow.java | 41 setContentView(R.layout.fragment_hide_show); 75 View v = inflater.inflate(R.layout.labeled_text_edit, container, false); 101 View v = inflater.inflate(R.layout.labeled_text_edit, container, false); 106 // Note that you will often set this in the layout XML, but since 107 // we are sharing our layout with the other fragment we will customize
|
/development/samples/ApiDemos/src/com/example/android/apis/content/ |
ClipboardSample.java | 60 // See res/any/layout/resources.xml for this view layout definition. 61 setContentView(R.layout.clipboard); 75 this, R.array.clip_data_types, android.R.layout.simple_spinner_item); 76 adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
|
/development/samples/Support4Demos/src/com/example/android/supportv4/app/ |
FragmentHideShowSupport.java | 42 setContentView(R.layout.fragment_hide_show_support); 76 View v = inflater.inflate(R.layout.labeled_text_edit, container, false); 102 View v = inflater.inflate(R.layout.labeled_text_edit, container, false); 107 // Note that you will often set this in the layout XML, but since 108 // we are sharing our layout with the other fragment we will customize
|
/frameworks/base/core/java/android/app/ |
ListFragment.java | 36 * holding query results. Binding, screen layout, and row layout are discussed 39 * <strong>Screen Layout</strong> 42 * ListFragment has a default layout that consists of a single list view. 43 * However, if you desire, you can customize the fragment layout by returning 53 * The following code demonstrates an (ugly) custom list layout. It has a list 82 * <strong>Row Layout</strong> 85 * You can specify the layout of individual rows in the list. You do this by 86 * specifying a layout resource in the ListAdapter object hosted by the fragment 89 * A ListAdapter constructor takes a parameter that specifies a layout resourc [all...] |
/frameworks/base/core/res/res/layout-sw600dp/ |
keyguard_screen_unlock_landscape.xml | 22 is the portrait layout. --> 44 layout="@layout/keyguard_transport_control" 54 <include layout="@layout/keyguard_screen_status_land"
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
ListViewTest.java | 38 * If a view in a ListView requests a layout it should be remeasured. 52 listView.layout(0, 0, 100, 100); 59 listView.layout(0, 0, 100, 100); 84 listView.layout(0, 0, 100, 100); 90 listView.layout(0, 0, 100, 100);
|
/frameworks/base/docs/html/guide/topics/resources/ |
available-resources.jd | 32 <dt><a href="{@docRoot}guide/topics/resources/layout-resource.html">Layout Resource</a></dt> 33 <dd>Define the layout for your application UI.<br/> 34 Saved in {@code res/layout/} and accessed from the {@code R.layout} class.</dd>
|
/frameworks/base/docs/html/guide/tutorials/views/ |
hello-tablelayout.jd | 12 <li>Open the layout file. 97 <li>Make sure your Activity loads this layout in the <code>onCreate()</code> method: 101 setContentView(R.layout.main); 104 <p><code>R.layout.main</code> refers to the <code>main.xml</code> layout file.</p>
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/ |
AbsoluteLayoutRuleTest.java | 17 package com.android.ide.common.layout; 19 import static com.android.ide.common.layout.LayoutConstants.ANDROID_URI; 30 INode layout = TestNode.create("android.widget.AbsoluteLayout").id("@+id/AbsoluteLayout01") local 41 return super.dragInto(new AbsoluteLayoutRule(), layout, dragBounds, dragPoint, null, 51 // Expected insert location: We just append in absolute layout
|
/sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/ui/ |
AuthenticationDialog.java | 22 import org.eclipse.swt.layout.GridData; 23 import org.eclipse.swt.layout.GridLayout; 70 GridLayout layout = new GridLayout(2, false); local 71 layout.verticalSpacing = 10; 72 upperComposite.setLayout(layout);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
ExtractIncludeRefactoring.java | 16 package com.android.ide.eclipse.adt.internal.editors.layout.refactoring; 19 import static com.android.ide.common.layout.LayoutConstants.ANDROID_NS_NAME; 20 import static com.android.ide.common.layout.LayoutConstants.ANDROID_URI; 21 import static com.android.ide.common.layout.LayoutConstants.ATTR_ID; 22 import static com.android.ide.common.layout.LayoutConstants.ATTR_LAYOUT_HEIGHT; 23 import static com.android.ide.common.layout.LayoutConstants.ATTR_LAYOUT_PREFIX; 24 import static com.android.ide.common.layout.LayoutConstants.ATTR_LAYOUT_WIDTH; 25 import static com.android.ide.common.layout.LayoutConstants.ID_PREFIX; 26 import static com.android.ide.common.layout.LayoutConstants.NEW_ID_PREFIX; 27 import static com.android.ide.common.layout.LayoutConstants.VALUE_WRAP_CONTENT [all...] |
/development/samples/Home/src/com/example/android/home/ |
ApplicationsStackLayout.java | 34 * The ApplicationsStackLayout is a specialized layout used for the purpose of the home screen 35 * only. This layout stacks various icons in three distinct areas: the recents, the favorites 38 * This layout supports two different orientations: vertical and horizontal. When horizontal, 43 * When vertical, the layout is the following: 49 * The layout operates from the "bottom up" (or from right to left.) This means that the button 113 mButton = mInflater.inflate(R.layout.all_applications_button, this, false); 202 mButton.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight); 225 mButton.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight); 280 view.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight); 305 TextView textView = (TextView) inflater.inflate(R.layout.favorite, group, false) [all...] |
/packages/apps/Mms/res/layout/ |
compose_message_activity.xml | 39 android:layout="@layout/recipients_editor" 98 android:layout="@layout/image_attachment_view" 103 android:layout="@layout/video_attachment_view" 108 android:layout="@layout/audio_attachment_view" 113 android:layout="@layout/slideshow_attachment_view [all...] |
/sdk/rule_api/src/com/android/ide/common/api/ |
IClientRulesEngine.java | 140 * layout tag. This is similar to {@link #displayResourceInput} for resource type 141 * "layout", but should also attempt to filter out layout resources that cannot be 144 * @return the layout resource to include 150 * layout tag. 169 * Triggers a layout refresh and redraw 171 void layout(); method in interface:IClientRulesEngine 190 * Converts an IDE screen pixel distance to the corresponding layout distance. This 196 * @return the corresponding pixel distance in the layout coordinate system 221 * layout library [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
GridLayoutRule.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_COLUMN; 21 import static com.android.ide.common.layout.LayoutConstants.ATTR_LAYOUT_GRAVITY; 22 import static com.android.ide.common.layout.LayoutConstants.ATTR_LAYOUT_ROW; 23 import static com.android.ide.common.layout.LayoutConstants.ATTR_ORIENTATION; 24 import static com.android.ide.common.layout.LayoutConstants.FQCN_SPACE; 25 import static com.android.ide.common.layout.LayoutConstants.GRAVITY_VALUE_FILL; 26 import static com.android.ide.common.layout.LayoutConstants.GRAVITY_VALUE_FILL_HORIZONTAL; 27 import static com.android.ide.common.layout.LayoutConstants.GRAVITY_VALUE_FILL_VERTICAL [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/descriptors/ |
LayoutDescriptors.java | 17 package com.android.ide.eclipse.adt.internal.editors.layout.descriptors; 19 import static com.android.ide.common.layout.LayoutConstants.ANDROID_URI; 20 import static com.android.ide.common.layout.LayoutConstants.ATTR_CLASS; 21 import static com.android.ide.common.layout.LayoutConstants.ATTR_NAME; 22 import static com.android.ide.common.layout.LayoutConstants.ATTR_TAG; 23 import static com.android.ide.common.layout.LayoutConstants.FQCN_GESTURE_OVERLAY_VIEW; 50 * Complete description of the layout structure. 55 * The XML name of the special {@code <include>} layout tag. 62 * The XML name of the special {@code <merge>} layout tag. 69 * The XML name of the special {@code <fragment>} layout tag [all...] |
/frameworks/base/docs/html/resources/tutorials/ |
hello-world.jd | 14 <li><a href="#upgrading">Upgrade the UI to an XML Layout</a></li> 188 setContentView(R.layout.main); 232 Views. A {@link android.view.View} is a drawable object used as an element in your UI layout, 291 <h2 id="upgrading">Upgrade the UI to an XML Layout</h2> 294 UI layout. This means that you constructed and built your application's UI 297 changes in layout can result in big source-code headaches. It's also 299 your layout and wasted time debugging your code.</p> 302 layout files. The easiest way to explain this concept is to show an 303 example. Here's an XML layout file that is identical in behavior to the 313 <p>The general structure of an Android XML layout file is simple: it's a tre [all...] |
/external/chromium/chrome/browser/ui/cocoa/ |
nsmenuitem_additions_unittest.mm | 55 // russion keyboard layout, the copy won't fire a menu item that has cmd-a as 82 // below. This was done with a US layout, unless otherwise noted. In the 83 // comments, "z" always means the physical "z" key on a US layout no matter 158 // shift-f1 (with a layout that needs the fn key down for f1) 225 // Hitting the "a" key with a russian keyboard layout -- does not fire 231 // cmd-a on a russion layout -- fires for a menu item with cmd-a as key equiv. 236 // cmd-z on US layout 241 // cmd-y on german layout (has same keycode as cmd-z on us layout, shouldn't 247 // cmd-z on german layout [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/ |
GridLayoutPainter.java | 16 package com.android.ide.common.layout.grid; 18 import static com.android.ide.common.layout.GridLayoutRule.GRID_SIZE; 19 import static com.android.ide.common.layout.GridLayoutRule.MARGIN_SIZE; 20 import static com.android.ide.common.layout.grid.GridModel.UNDEFINED; 30 import com.android.ide.common.layout.GridLayoutRule; 55 * @param layout the grid layout node 59 public static void paintStructure(DrawingStyle style, INode layout, IGraphics gc, 61 Rect b = layout.getBounds(); 79 * @param layout the GridLayout nod [all...] |
/external/chromium/chrome/browser/chromeos/input_method/ |
xkeyboard.cc | 28 // The default keyboard layout name in the xorg config file. 30 // The command we use to set the current XKB layout and modifier key mapping. 139 // Sets the current keyboard layout to |layout_name|. This function does not 150 // layout. Returns true on success. 217 // We should not try to change a layout inside ui_tests. 231 DLOG(INFO) << "The requested layout is already set: " << layout_to_set; 243 LOG(WARNING) << "Set layout: " << layout_to_set; 249 // layout name to the queue. setxkbmap command for the layout will be called 258 // Executes 'setxkbmap -layout ...' command asynchronously using a layout nam [all...] |