/frameworks/base/core/tests/coretests/src/android/widget/layout/table/ |
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);
|
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/ |
Activity0.java | 17 package com.android.test.layout; 25 setContentView(R.layout.grid0);
|
Activity4.java | 17 package com.android.test.layout; 25 setContentView(R.layout.grid4);
|
Activity5.java | 17 package com.android.test.layout; 25 setContentView(R.layout.grid5);
|
Activity6.java | 17 package com.android.test.layout; 25 setContentView(R.layout.grid6);
|
Activity7.java | 17 package com.android.test.layout; 25 setContentView(R.layout.grid7);
|
/frameworks/support/v4/java/android/support/v4/widget/ |
ResourceCursorAdapter.java | 48 * @param layout resource identifier of a layout file that defines the views 53 public ResourceCursorAdapter(Context context, int layout, Cursor c) { 55 mLayout = mDropDownLayout = layout; 67 * @param layout resource identifier of a layout file that defines the views 75 public ResourceCursorAdapter(Context context, int layout, Cursor c, boolean autoRequery) { 77 mLayout = mDropDownLayout = layout; 85 * @param layout Resource identifier of a layout file that defines the view [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
UnwrapWizard.java | 17 package com.android.ide.eclipse.adt.internal.editors.layout.refactoring; 19 import com.android.ide.eclipse.adt.internal.editors.layout.LayoutEditorDelegate;
|
UseCompoundDrawableWizard.java | 17 package com.android.ide.eclipse.adt.internal.editors.layout.refactoring; 19 import com.android.ide.eclipse.adt.internal.editors.layout.LayoutEditorDelegate;
|
/external/chromium_org/ui/views/layout/ |
grid_layout_unittest.cc | 5 #include "ui/views/layout/grid_layout.h" 56 GridLayoutTest() : layout(&host) {} 64 pref = layout.GetPreferredSize(&host); 70 GridLayout layout; member in class:views::GridLayoutTest 77 layout(&host) {} 85 ColumnSet* c1 = layout.AddColumnSet(0); 87 layout.StartRow(1, 0); 88 layout.AddView(&v1); 89 gfx::Size pref = layout.GetPreferredSize(&host); 92 layout.Layout(&host) 99 GridLayout layout; member in class:views::GridLayoutAlignmentTest [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
ScrollView2.java | 28 * Demonstrates wrapping a layout in a ScrollView. 35 setContentView(R.layout.scroll_view_2); 37 LinearLayout layout = (LinearLayout) findViewById(R.id.layout); local 45 layout.addView(textView, p); 49 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);
|
/external/chromium_org/ui/views/examples/ |
tabbed_pane_example.cc | 10 #include "ui/views/layout/grid_layout.h" 28 GridLayout* layout = new GridLayout(container); local 29 container->SetLayoutManager(layout); 32 ColumnSet* column_set = layout->AddColumnSet(tabbed_pane_column); 35 layout->StartRow(1 /* expand */, tabbed_pane_column); 36 layout->AddView(tabbed_pane_); 44 column_set = layout->AddColumnSet(button_column); 50 layout->StartRow(0 /* no expand */, button_column); 51 layout->AddView(add_); 52 layout->AddView(add_at_) [all...] |
progress_bar_example.cc | 12 #include "ui/views/layout/grid_layout.h" 40 GridLayout* layout = new GridLayout(container); local 41 container->SetLayoutManager(layout); 43 ColumnSet* column_set = layout->AddColumnSet(0); 53 layout->StartRow(0, 0); 55 layout->AddView(minus_button_); 57 layout->AddView(progress_bar_); 59 layout->AddView(plus_button_);
|
multiline_example.cc | 12 #include "ui/views/layout/grid_layout.h" 83 GridLayout* layout = new GridLayout(container); local 84 container->SetLayoutManager(layout); 86 ColumnSet* column_set = layout->AddColumnSet(0); 92 layout->StartRow(0, 0); 93 layout->AddView(new Label(ASCIIToUTF16("gfx::RenderText:"))); 94 layout->AddView(render_text_view_); 96 layout->StartRow(0, 0); 97 layout->AddView(new Label(ASCIIToUTF16("views::Label:"))); 98 layout->AddView(label_) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/relative/ |
DeletionHandlerTest.java | 16 package com.android.ide.common.layout.relative; 22 import com.android.ide.common.layout.BaseViewRule; 23 import com.android.ide.common.layout.TestNode; 72 INode layout = button2.getParent(); local 75 assertSame(layout, targetNode); 76 layout.removeChild(button2); 78 DeletionHandler handler = new DeletionHandler(deletedNodes, movedNodes, layout); 204 INode layout = button7.getParent(); local 207 assertSame(layout, targetNode); 208 layout.removeChild(button7) 324 INode layout = button1.getParent(); local 396 INode layout = button2.getParent(); local [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
TextGammaActivity.java | 37 final LinearLayout layout = new LinearLayout(this); local 38 layout.setOrientation(LinearLayout.VERTICAL); 41 layout.addView(gamma, new LinearLayout.LayoutParams( 45 setContentView(layout); 47 layout.post(new Runnable() { 58 layout.addView(image, new LinearLayout.LayoutParams( 77 inflater.inflate(R.layout.text_large, this, true); 78 inflater.inflate(R.layout.text_medium, this, true); 79 inflater.inflate(R.layout.text_small, this, true); 88 final LinearLayout layout = new LinearLayout(this) local [all...] |
/external/chromium/chrome/browser/ui/views/ |
database_info_view.cc | 16 #include "views/layout/grid_layout.h" 17 #include "views/layout/layout_constants.h" 103 GridLayout* layout = new GridLayout(this); 104 layout->SetInsets(kDatabaseInfoViewInsetSize, 108 SetLayoutManager(layout); 111 views::ColumnSet* column_set = layout->AddColumnSet(three_column_layout_id); 118 layout->StartRow(0, three_column_layout_id); 119 layout->AddView(name_label); 120 layout->AddView(name_value_field_); 121 layout->StartRow(0, three_column_layout_id) [all...] |
/external/chromium_org/ui/android/java/src/org/chromium/ui/autofill/ |
AutofillListAdapter.java | 28 super(context, R.layout.autofill_text, objects); 34 View layout = convertView; local 38 layout = inflater.inflate(R.layout.autofill_text, null); 40 TextView labelView = (TextView) layout.findViewById(R.id.autofill_label); 43 TextView sublabelView = (TextView) layout.findViewById(R.id.autofill_sublabel); 52 return layout;
|
/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;
|
/external/chromium_org/ash/system/ |
status_area_widget_delegate.cc | 19 #include "ui/views/layout/grid_layout.h" 77 SetLayoutManager(NULL); // Reset layout manager before adding a child. 79 // Set the layout manager with the new list of children. 84 // Use a grid layout so that the trays can be centered in each cell, and 86 views::GridLayout* layout = new views::GridLayout(this); local 87 SetLayoutManager(layout); 89 views::ColumnSet* columns = layout->AddColumnSet(0); 93 layout->SetInsets(kStatusTrayOffsetFromScreenEdge, 0, 0, 0); 95 layout->SetInsets(0, 0, kStatusTrayOffsetFromScreenEdge, 0); 108 layout->StartRow(0, 0) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
u_linkage.h | 50 * num_slots is the size of the layout array and hardware limit instead. 54 void util_semantic_layout_from_set(unsigned char *layout, const struct util_semantic_set *set, unsigned efficient_slots, unsigned num_slots); 57 util_semantic_table_from_layout(unsigned char *table, size_t table_size, unsigned char *layout, 64 table[layout[i]] = first_slot_value + i;
|