HomeSort by relevance Sort by last modified time
    Searched refs:layout (Results 1 - 25 of 1390) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
LLOfButtons2.java 17 package android.widget.layout.linear;
BaselineAlignmentCenterGravity.java 17 package android.widget.layout.linear;
29 setContentView(R.layout.baseline_center_gravity);
BaselineButtons.java 17 package android.widget.layout.linear;
29 setContentView(R.layout.baseline_buttons);
HorizontalOrientationVerticalAlignment.java 17 package android.widget.layout.linear;
29 setContentView(R.layout.linear_layout_spinner_then_button);
LinearLayoutEditTexts.java 17 package android.widget.layout.linear;
29 setContentView(R.layout.linear_layout_textviews);
Weight.java 17 package android.widget.layout.linear;
28 setContentView(R.layout.linear_layout_weight);
WeightSum.java 17 package android.widget.layout.linear;
29 setContentView(R.layout.weight_sum);
  /sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/
Perspective.java 32 public void createInitialLayout(IPageLayout layout) {
33 // create a default layout that looks like the stand alone DDMS.
36 layout.setEditorAreaVisible(false);
38 String editorArea = layout.getEditorArea();
41 folder = layout.createFolder("logcat", IPageLayout.BOTTOM, 0.8f, //$NON-NLS-1$
46 folder = layout.createFolder("devices", IPageLayout.LEFT, 0.3f, //$NON-NLS-1$
51 folder = layout.createFolder("emulator", IPageLayout.BOTTOM, 0.5f, //$NON-NLS-1$
56 folder = layout.createFolder("ddms-detail", IPageLayout.RIGHT, 0.5f, //$NON-NLS-1$
64 layout.addPerspectiveShortcut("org.eclipse.ui.resourcePerspective"); //$NON-NLS-1$
65 layout.addPerspectiveShortcut("org.eclipse.debug.ui.DebugPerspective"); //$NON-NLS-1
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/editors/layout/gscripts/
IColor.java 17 package com.android.ide.eclipse.adt.editors.layout.gscripts;
  /frameworks/base/core/java/android/text/
Selection.java 112 * Moving the selection within the layout
119 public static boolean moveUp(Spannable text, Layout layout) {
135 int line = layout.getLineForOffset(end);
140 if (layout.getParagraphDirection(line) ==
141 layout.getParagraphDirection(line - 1)) {
142 float h = layout.getPrimaryHorizontal(end);
143 move = layout.getOffsetForHorizontal(line - 1, h);
145 move = layout.getLineStart(line - 1);
160 public static boolean moveDown(Spannable text, Layout layout)
    [all...]
  /cts/tests/tests/text/src/android/text/cts/
LayoutTest.java 31 import android.text.Layout;
35 import android.text.Layout.Alignment;
38 @TestTargetClass(Layout.class)
46 private Layout.Alignment mAlign;
67 method = "Layout",
69 android.text.Layout.Alignment.class, float.class, float.class}
72 " of Layout constructor when the width is smaller than 0")
91 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, local
93 layout.draw(new Canvas())
111 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, local
137 Layout layout = new MockLayout(text, mTextPaint, mWidth, local
151 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, local
166 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, 10, local
180 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, 15, local
196 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, local
219 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, local
230 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, local
244 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, mAlign, -1, mSpacingadd); local
257 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, mAlign, mSpacingmult, -1); local
270 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, local
289 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, local
306 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, local
321 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, local
334 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, local
347 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, local
361 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, local
377 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, local
392 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, local
405 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, local
424 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, local
435 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, local
446 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, local
459 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, local
476 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, local
493 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, local
510 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, local
535 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, local
551 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, local
562 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, local
573 MockLayout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, local
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
DensityActivity.java 55 LinearLayout layout = new LinearLayout(this); local
56 addBitmapDrawable(layout, R.drawable.logo120dpi, true);
57 addBitmapDrawable(layout, R.drawable.logo160dpi, true);
58 addBitmapDrawable(layout, R.drawable.logo240dpi, true);
60 addChildToRoot(root, layout);
62 layout = new LinearLayout(this);
63 addBitmapDrawable(layout, R.drawable.logo120dpi, false);
64 addBitmapDrawable(layout, R.drawable.logo160dpi, false);
65 addBitmapDrawable(layout, R.drawable.logo240dpi, false);
67 addChildToRoot(root, layout);
    [all...]
  /frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/
DpiTestActivity.java 83 LinearLayout layout = new LinearLayout(this); local
84 addBitmapDrawable(layout, R.drawable.logo120dpi, true);
85 addBitmapDrawable(layout, R.drawable.logo160dpi, true);
86 addBitmapDrawable(layout, R.drawable.logo240dpi, true);
88 addChildToRoot(root, layout);
90 layout = new LinearLayout(this);
91 addBitmapDrawable(layout, R.drawable.logo120dpi, false);
92 addBitmapDrawable(layout, R.drawable.logo160dpi, false);
93 addBitmapDrawable(layout, R.drawable.logo240dpi, false);
95 addChildToRoot(root, layout);
    [all...]
  /external/skia/src/views/
SkViewPriv.h 8 SkView::Layout* fLayout;
10 Layout_SkTagList(SkView::Layout* layout)
11 : SkTagList(kViewLayout_SkTagList), fLayout(layout)
13 SkASSERT(layout);
14 layout->ref();
  /frameworks/base/core/tests/coretests/src/android/widget/layout/frame/
FrameLayoutGravity.java 17 package android.widget.layout.frame;
29 setContentView(R.layout.framelayout_gravity);
FrameLayoutMargin.java 17 package android.widget.layout.frame;
29 setContentView(R.layout.framelayout_margin);
  /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);
  /sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/ui/
GridDialog.java 22 import org.eclipse.swt.layout.GridData;
23 import org.eclipse.swt.layout.GridLayout;
64 GridLayout layout = new GridLayout(mNumColumns, mMakeColumnsEqualWidth); local
65 layout.marginHeight = convertVerticalDLUsToPixels(IDialogConstants.VERTICAL_MARGIN);
66 layout.marginWidth = convertHorizontalDLUsToPixels(IDialogConstants.HORIZONTAL_MARGIN);
67 layout.verticalSpacing = convertVerticalDLUsToPixels(IDialogConstants.VERTICAL_SPACING);
68 layout.horizontalSpacing = convertHorizontalDLUsToPixels(
70 top.setLayout(layout);
  /development/samples/ApiDemos/src/com/example/android/apis/view/
ScrollView2.java 29 * Demonstrates wrapping a layout in a ScrollView.
36 setContentView(R.layout.scroll_view_2);
38 LinearLayout layout = (LinearLayout) findViewById(R.id.layout); local
46 layout.addView(textView, p);
50 layout.addView(buttonView, p);
InternalSelectionFocus.java 46 final LinearLayout layout = new LinearLayout(this); local
47 layout.setOrientation(LinearLayout.HORIZONTAL);
48 layout.setLayoutParams(new ViewGroup.LayoutParams(
58 layout.addView(leftColumn);
63 layout.addView(middleColumn);
68 layout.addView(rightColumn);
70 setContentView(layout);
  /frameworks/base/core/tests/coretests/src/android/view/
InflateTest.java 44 // do an initial instantiation of the layout and then clear
45 // out the layout cache.
64 // Make sure this layout is in the cache.
72 inflateTest(R.layout.layout_one);
77 inflateTest(R.layout.layout_two);
82 inflateTest(R.layout.layout_three);
87 inflateTest(R.layout.layout_four);
92 inflateTest(R.layout.layout_five);
97 inflateTest(R.layout.layout_six);
102 inflateCachedTest(R.layout.layout_one)
    [all...]

Completed in 392 milliseconds

1 2 3 4 5 6 7 8 91011>>