/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/ |
LLOfButtons2.java | 17 package android.widget.layout.linear;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
DatePickerRule.java | 17 package com.android.ide.common.layout;
|
AbsListViewRule.java | 17 package com.android.ide.common.layout;
|
TabWidgetRule.java | 17 package com.android.ide.common.layout;
|
TimePickerRule.java | 17 package com.android.ide.common.layout;
|
ViewRule.java | 17 package com.android.ide.common.layout;
|
ZoomControlsRule.java | 17 package com.android.ide.common.layout;
|
/external/compiler-rt/BlocksRuntime/tests/ |
blockimport.c | 40 struct Block_layout *layout = (struct Block_layout *)(void *)vv; 41 printf("isa %p\n", layout->isa); 42 printf("flags %x\n", layout->flags); 43 printf("descriptor %p\n", layout->descriptor); 44 printf("descriptor->size %d\n", layout->descriptor->size);
|
/cts/tests/tests/text/src/android/text/cts/ |
StaticLayoutLineBreakingTest.java | 24 import android.text.Layout.Alignment; 115 private static void layout(CharSequence source, int[] breaks) { method in class:StaticLayoutLineBreakingTest 117 layout(staticLayout, source, breaks); method 120 private static void layout(StaticLayout staticLayout, CharSequence source, int[] breaks) { method in class:StaticLayoutLineBreakingTest 196 layout("", NO_BREAK); 197 layout("I", NO_BREAK); 198 layout("V", NO_BREAK); 199 layout("X", NO_BREAK); 200 layout("L", NO_BREAK); 201 layout("I VILI", NO_BREAK) 319 layout(ssb, breaks); method 350 layout(ssb, breaks); method 401 layout(sl, text, breaks); method [all...] |
LayoutTest.java | 22 import android.text.Layout; 26 import android.text.Layout.Alignment; 36 private Layout.Alignment mAlign; 67 Layout layout = new MockLayout(text, mTextPaint, mWidth, local 69 assertEquals(text, layout.getText()); 71 layout = new MockLayout(null, mTextPaint, mWidth, mAlign, mSpacingmult, mSpacingadd); 72 assertNull(layout.getText()); 76 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth local 86 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, 10, local 95 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, 15, local 104 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, local 122 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, local 128 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, local 137 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, mAlign, -1, mSpacingadd); local 145 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, mAlign, mSpacingmult, -1); local 153 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, local 165 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, local 174 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, local 183 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, local 189 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, local 203 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, local 209 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, local 215 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, local 221 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, local 232 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, local 238 Layout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, local 244 MockLayout layout = new MockLayout(LAYOUT_TEXT, mTextPaint, mWidth, local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/ |
Perspective.java | 37 public void createInitialLayout(IPageLayout layout) { 38 // create a default layout that looks like the stand alone DDMS. 41 layout.setEditorAreaVisible(false); 43 String editorArea = layout.getEditorArea(); 46 folder = layout.createFolder("logcat", IPageLayout.BOTTOM, 0.8f, //$NON-NLS-1$ 51 folder = layout.createFolder("devices", IPageLayout.LEFT, 0.3f, //$NON-NLS-1$ 56 folder = layout.createFolder("ddms-detail", IPageLayout.RIGHT, 0.5f, //$NON-NLS-1$ 66 layout.addPerspectiveShortcut("org.eclipse.ui.resourcePerspective"); //$NON-NLS-1$ 67 layout.addPerspectiveShortcut("org.eclipse.debug.ui.DebugPerspective"); //$NON-NLS-1$ 68 layout.addPerspectiveShortcut("org.eclipse.jdt.ui.JavaPerspective"); //$NON-NLS-1 [all...] |
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/ |
stringquery.cpp | 19 QGridLayout *layout = new QGridLayout; local 20 layout->addWidget(new QLabel(label), 0, 0); 21 layout->addWidget(edit, 0, 1); 22 setLayout(layout);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/ |
GridLayoutRuleTest.java | 16 package com.android.ide.common.layout;
|
GravityHelperTest.java | 16 package com.android.ide.common.layout; 18 import static com.android.ide.common.layout.GravityHelper.GRAVITY_BOTTOM; 19 import static com.android.ide.common.layout.GravityHelper.GRAVITY_CENTER_HORIZ; 20 import static com.android.ide.common.layout.GravityHelper.GRAVITY_CENTER_VERT; 21 import static com.android.ide.common.layout.GravityHelper.GRAVITY_LEFT;
|
/frameworks/base/core/java/android/text/ |
Selection.java | 114 * Moving the selection within the layout 121 public static boolean moveUp(Spannable text, Layout layout) { 137 int line = layout.getLineForOffset(end); 142 if (layout.getParagraphDirection(line) == 143 layout.getParagraphDirection(line - 1)) { 144 float h = layout.getPrimaryHorizontal(end); 145 move = layout.getOffsetForHorizontal(line - 1, h); 147 move = layout.getLineStart(line - 1); 162 public static boolean moveDown(Spannable text, Layout layout) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.hierarchyviewer/src/com/android/ide/eclipse/hierarchyviewer/ |
TreeViewPerspective.java | 35 public void createInitialLayout(IPageLayout layout) { 36 layout.setEditorAreaVisible(false); 38 String editorArea = layout.getEditorArea(); 41 folder = layout.createFolder("properties", IPageLayout.LEFT, 0.10f, editorArea); //$NON-NLS-1$ 45 folder = layout.createFolder("main", IPageLayout.RIGHT, 0.24f, "properties"); //$NON-NLS-1$ //$NON-NLS-2$ 48 folder = layout.createFolder("panel-top", IPageLayout.RIGHT, 0.7f, "main"); //$NON-NLS-1$ //$NON-NLS-2$ 52 folder = layout.createFolder("panel-bottom", IPageLayout.BOTTOM, 0.5f, "panel-top"); //$NON-NLS-1$ //$NON-NLS-2$ 55 layout.addShowViewShortcut(DeviceSelectorView.ID); 56 layout.addShowViewShortcut(PropertyView.ID); 57 layout.addShowViewShortcut(TreeOverviewView.ID) [all...] |
PixelPerfectPespective.java | 35 public void createInitialLayout(IPageLayout layout) { 36 layout.setEditorAreaVisible(false); 38 String editorArea = layout.getEditorArea(); 41 folder = layout.createFolder("tree", IPageLayout.LEFT, 0.25f, editorArea); //$NON-NLS-1$ 45 folder = layout.createFolder("overview", IPageLayout.RIGHT, 0.4f, editorArea); //$NON-NLS-1$ 48 folder = layout.createFolder("main", IPageLayout.RIGHT, 0.35f, editorArea); //$NON-NLS-1$ 52 layout.addShowViewShortcut(DeviceSelectorView.ID); 53 layout.addShowViewShortcut(PixelPerfectTreeView.ID); 54 layout.addShowViewShortcut(PixelPerfectLoupeView.ID); 55 layout.addShowViewShortcut(PixelPerfectView.ID) [all...] |
/cts/tests/tests/holo/src/android/holo/cts/ |
LayoutAdapter.java | 64 private LayoutInfo(int displayName, String fileName, int layout, LayoutModifier modifier, 68 mLayout = layout; 78 /** @return layout that will be inflated and captured to a bitmap */ 83 /** @return whether or non the layout has a layout modifier */ 88 /** @return null or modifier that will manipulate the layout after it is inflated */ 93 /** @return timeout before taking a snapshot of the layout */ 109 R.layout.button, null, NO_TIMEOUT_MS); 112 R.layout.button, new ViewPressedModifier(), LONG_TIMEOUT_MS); 117 R.layout.checkbox, null, NO_TIMEOUT_MS) [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 | 85 LinearLayout layout = new LinearLayout(this); local 86 addBitmapDrawable(layout, R.drawable.logo120dpi, true); 87 addBitmapDrawable(layout, R.drawable.logo160dpi, true); 88 addBitmapDrawable(layout, R.drawable.logo240dpi, true); 90 addChildToRoot(root, layout); 92 layout = new LinearLayout(this); 93 addBitmapDrawable(layout, R.drawable.logo120dpi, false); 94 addBitmapDrawable(layout, R.drawable.logo160dpi, false); 95 addBitmapDrawable(layout, R.drawable.logo240dpi, false); 97 addChildToRoot(root, layout); [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
MultiLineTexture.java | 21 import android.text.Layout; 30 private final Layout mLayout; 32 private MultiLineTexture(Layout layout) { 33 super(layout.getWidth(), layout.getHeight()); 34 mLayout = layout; 39 Layout.Alignment alignment) { 41 Layout layout = new StaticLayout(text, 0, text.length(), paint local [all...] |
/external/clang/test/CodeGen/ |
blockstret.c | 48 const char *layout; // conditional on BLOCK_HAS_OBJC member in struct:block_descriptor_big 54 const char *layout; // conditional on BLOCK_HAS_OBJC member in struct:block_descriptor_small 66 struct block_layout_abi *layout = (struct block_layout_abi *)block; local 67 if ((layout->flags & BLOCK_HAS_OBJC_TYPE) != BLOCK_HAS_OBJC_TYPE) return 0; 68 if (layout->flags & BLOCK_HAS_COPY_DISPOSE) 69 return layout->descriptor->signature; 71 return ((struct block_descriptor_small *)layout->descriptor)->signature; 75 struct block_layout_abi *layout = (struct block_layout_abi *)block; local 77 return (layout->flags & want) == want;
|
/external/jmonkeyengine/engine/src/android/com/jme3/app/ |
R.java | 13 public static final class layout {
class in class:R
|
/external/skia/src/views/ |
SkViewPriv.h | 15 SkView::Layout* fLayout; 17 Layout_SkTagList(SkView::Layout* layout) 18 : SkTagList(kViewLayout_SkTagList), fLayout(layout) 20 SkASSERT(layout); 21 layout->ref();
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
NinePatchesActivity.java | 31 FrameLayout layout = new FrameLayout(this); local 36 layout.addView(b); 37 layout.setBackgroundColor(0xffffffff); 39 setContentView(layout);
|