/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
AccordionControl.java | 17 package com.android.ide.eclipse.adt.internal.editors.layout.gle2; 35 import org.eclipse.swt.layout.GridData; 36 import org.eclipse.swt.layout.GridLayout; 37 import org.eclipse.swt.layout.RowLayout; 82 * overridden to lay out the children with a different layout than the default 88 RowLayout layout = new RowLayout(SWT.HORIZONTAL); local 89 layout.center = true; 90 composite.setLayout(layout); 92 RowLayout layout = new RowLayout(SWT.VERTICAL); local 93 layout.spacing = ITEM_SPACING 164 layout(); method 182 layout(); method [all...] |
/external/chromium/chrome/browser/ui/views/ |
about_ipc_dialog.cc | 35 #include "views/layout/grid_layout.h" 36 #include "views/layout/layout_constants.h" 227 views::GridLayout* layout = views::GridLayout::CreatePanel(this); local 228 SetLayoutManager(layout); 237 views::ColumnSet* column_set = layout->AddColumnSet(first_column_set); 246 column_set = layout->AddColumnSet(table_column_set); 250 layout->StartRow(0, first_column_set); 251 layout->AddView(track_toggle_); 252 layout->AddView(clear_button_); 253 layout->AddView(filter_button_) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
ManageCachePage.java | 101 // Hack: our layout depends on other components on the screen. 110 mStaticBackground.layout(0, 0, right - left, bottom - top); 123 mAlbumSetView.layout(0, slotViewTop, right - left, slotViewBottom); 220 // We use different layout resources for different configs 222 FrameLayout layout = (FrameLayout) ((Activity) mActivity).findViewById(R.id.footer); local 223 if (layout.getVisibility() == View.VISIBLE) { 224 layout.removeAllViews(); 225 layout.addView(mFooterContent); 242 FrameLayout layout = (FrameLayout) ((Activity) mActivity).findViewById(R.id.footer); local 243 layout.removeAllViews() 266 FrameLayout layout = (FrameLayout) ((Activity) mActivity).findViewById(R.id.footer); local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/ |
DependencyGraph.java | 16 package com.android.ide.common.layout.relative; 18 import static com.android.ide.common.layout.LayoutConstants.ANDROID_URI; 19 import static com.android.ide.common.layout.LayoutConstants.ATTR_ID; 20 import static com.android.ide.common.layout.LayoutConstants.ATTR_LAYOUT_PREFIX; 21 import static com.android.ide.common.layout.LayoutConstants.VALUE_TRUE; 27 import com.android.ide.common.layout.BaseLayoutRule; 38 * Data structure about relative layout relationships which makes it possible to: 59 /** Constructs a new {@link DependencyGraph} for the given relative layout */ 60 DependencyGraph(INode layout) { 61 INode[] nodes = layout.getChildren() [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/descriptors/ |
ViewElementDescriptor.java | 17 package com.android.ide.eclipse.adt.internal.editors.layout.descriptors; 19 import static com.android.ide.common.layout.LayoutConstants.ANDROID_VIEW_PKG; 20 import static com.android.ide.common.layout.LayoutConstants.ANDROID_WEBKIT_PKG; 21 import static com.android.ide.common.layout.LayoutConstants.ANDROID_WIDGET_PREFIX; 28 import com.android.ide.eclipse.adt.internal.editors.layout.uimodel.UiViewElementNode; 38 * representing a class in an XML Layout file. 43 * can produce another set of XML elements. Because of the flat nature of Android's layout 63 /** The list of layout attributes. Can be empty but not null. */ 84 * @param layoutAttributes The list of layout attributes. Can be null or empty. 127 /** Returns the list of layout attributes. Can be empty but not null [all...] |
/cts/tests/tests/text/src/android/text/cts/ |
DynamicLayoutTest.java | 22 import android.text.Layout; 40 protected static final Layout.Alignment DEFAULT_ALIGN = Layout.Alignment.ALIGN_CENTER; 71 android.text.TextPaint.class, int.class, android.text.Layout.Alignment.class, 78 android.text.TextPaint.class, int.class, android.text.Layout.Alignment.class, 86 int.class, android.text.Layout.Alignment.class, 153 * Test whether include the padding to calculate the layout. 154 * 1. Include padding while calculate the layout. 155 * 2. Don't include padding while calculate the layout. 196 * Test the line count and whether include the Tab the layout [all...] |
/external/clang/lib/AST/ |
VTTBuilder.cpp | 1 //===--- VTTBuilder.cpp - C++ VTT layout builder --------------------------===// 10 // This contains code dealing with generation of the layout of virtual table 61 // Don't layout virtual bases. 68 const ASTRecordLayout &Layout = Ctx.getASTRecordLayout(RD); 70 Layout.getBaseClassOffset(BaseDecl); 72 // Layout the VTT for this base. 116 const ASTRecordLayout &Layout = Ctx.getASTRecordLayout(RD); 119 Layout.getBaseClassOffset(BaseDecl); 121 if (!Layout.isPrimaryBaseVirtual() && 122 Layout.getPrimaryBase() == BaseDecl [all...] |
/frameworks/base/docs/html/resources/tutorials/views/ |
hello-spinner.jd | 14 <li>Open the <code>res/layout/main.xml</code> file and insert the following: 62 android.widget.TextView} and {@link android.widget.Spinner} in the layout above. The {@code 73 setContentView(R.layout.main); 77 this, R.array.planets_array, android.R.layout.simple_spinner_item); 78 adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item); 82 <p>After the {@code main.xml} layout is set as the content view, the {@link 83 android.widget.Spinner} widget is captured from the layout with {@link 90 {@code android.R.layout.simple_spinner_item} ID references a layout for the standard spinner 94 another standard layout defined by the platform). Finally, the {@link android.widget.ArrayAdapter [all...] |
/frameworks/base/docs/html/sdk/api_diff/11/changes/ |
android.R.layout.html | 10 android.R.layout 74 Class android.<A HREF="../../../../reference/android/R.layout.html" target="_top"><font size="+2"><code>R.layout</code></font></A> 87 <A NAME="android.R.layout.list_content"></A> 88 <nobr><code>int</code> <A HREF="../../../../reference/android/R.layout.html#list_content" target="_top"><code>list_content</code></A></nobr> 94 <A NAME="android.R.layout.simple_list_item_activated_1"></A> 95 <nobr><code>int</code> <A HREF="../../../../reference/android/R.layout.html#simple_list_item_activated_1" target="_top"><code>simple_list_item_activated_1</code></A></nobr> 101 <A NAME="android.R.layout.simple_list_item_activated_2"></A> 102 <nobr><code>int</code> <A HREF="../../../../reference/android/R.layout.html#simple_list_item_activated_2" target="_top"><code>simple_list_item_activated_2</code></A></nobr> 108 <A NAME="android.R.layout.simple_selectable_list_item"></A [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
ChangeViewWizard.java | 17 package com.android.ide.eclipse.adt.internal.editors.layout.refactoring; 19 import static com.android.ide.eclipse.adt.internal.editors.layout.descriptors.LayoutDescriptors.REQUEST_FOCUS; 20 import static com.android.ide.eclipse.adt.internal.editors.layout.descriptors.LayoutDescriptors.VIEW_FRAGMENT; 21 import static com.android.ide.eclipse.adt.internal.editors.layout.descriptors.LayoutDescriptors.VIEW_INCLUDE; 23 import com.android.ide.eclipse.adt.internal.editors.layout.LayoutEditor; 24 import com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor; 25 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.CustomViewFinder; 26 import com.android.ide.eclipse.adt.internal.editors.layout.gre.ViewMetadataRepository; 34 import org.eclipse.swt.layout.GridData; 35 import org.eclipse.swt.layout.GridLayout [all...] |
UnwrapRefactoring.java | 16 package com.android.ide.eclipse.adt.internal.editors.layout.refactoring; 18 import static com.android.ide.common.layout.LayoutConstants.ANDROID_URI; 19 import static com.android.ide.common.layout.LayoutConstants.ATTR_LAYOUT_HEIGHT; 20 import static com.android.ide.common.layout.LayoutConstants.ATTR_LAYOUT_WIDTH; 25 import com.android.ide.eclipse.adt.internal.editors.layout.LayoutEditor; 26 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.DomUtilities; 51 * Removes the layout surrounding the current selection (or if the current selection has 52 * children, removes the current layout), and migrates namespace and layout attributes. 170 // (3) Transfer layout attributes [all...] |
/external/llvm/lib/MC/ |
MCExpr.cpp | 251 const MCAsmLayout &Layout) const { 252 return EvaluateAsAbsolute(Res, &Layout.getAssembler(), &Layout, 0); 256 const MCAsmLayout &Layout, 258 return EvaluateAsAbsolute(Res, &Layout.getAssembler(), &Layout, &Addrs); 266 const MCAsmLayout *Layout, 280 EvaluateAsRelocatableImpl(Value, Asm, Layout, Addrs, /*InSet*/ Addrs); 290 const MCAsmLayout *Layout, 325 if (!Layout) [all...] |
/external/llvm/lib/Target/X86/MCTargetDesc/ |
X86MachObjectWriter.cpp | 28 const MCAsmLayout &Layout, 36 const MCAsmLayout &Layout, 44 const MCAsmLayout &Layout, 51 const MCAsmLayout &Layout, 63 const MCAssembler &Asm, const MCAsmLayout &Layout, 67 RecordX86_64Relocation(Writer, Asm, Layout, Fragment, Fixup, Target, 70 RecordX86Relocation(Writer, Asm, Layout, Fragment, Fixup, Target, 101 const MCAsmLayout &Layout, 112 Layout.getFragmentOffset(Fragment) + Fixup.getOffset(); 114 Writer->getFragmentAddress(Fragment, Layout) + Fixup.getOffset() [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
AbsSpinnerTest.java | 62 "method layout(int, boolean) is package private, we can not extends it directly " + 96 XmlPullParser parser = mContext.getResources().getXml(R.layout.gallery_test); 120 com.android.cts.stub.R.array.string, android.R.layout.simple_spinner_item); 121 adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item); 153 com.android.cts.stub.R.array.string, android.R.layout.simple_spinner_item); 154 adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item); 191 com.android.cts.stub.R.array.string, android.R.layout.simple_spinner_item); 192 adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item); 203 // issue 1695243, if adapter is null, NullPointerException will be thrown when do layout. 215 absSpinner.layout(0, 0, 200, 300) 275 absSpinner.getChildAt(0).layout(rcChild0.left, rcChild0.top, method 277 absSpinner.getChildAt(1).layout(rcChild1.left, rcChild1.top, method 279 absSpinner.getChildAt(2).layout(rcChild2.left, rcChild2.top, method [all...] |
/cts/apps/CtsVerifier/res/layout/ |
bt_toggle.xml | 41 layout="@layout/pass_fail_buttons"
|
bu_main.xml | 42 <include layout="@layout/pass_fail_buttons" />
|
da_screen_lock_main.xml | 33 layout="@layout/pass_fail_buttons"
|
fs_main.xml | 39 <include layout="@layout/pass_fail_buttons" />
|
nfc_tag.xml | 36 <include layout="@layout/pass_fail_buttons" />
|
pass_fail_gl.xml | 27 layout="@layout/pass_fail_buttons" />
|
pass_fail_list.xml | 33 <include layout="@layout/pass_fail_buttons" />
|
pass_fail_text.xml | 33 <include layout="@layout/pass_fail_buttons" />
|
sv_play.xml | 33 <include layout="@layout/pass_fail_buttons" />
|
/cts/tests/res/layout/ |
viewstub_layout.xml | 24 android:layout="@layout/textview_layout"
|
/cts/tests/src/android/widget/cts/ |
FrameLayoutStubActivity.java | 24 * A minimal application for frame layout test. 33 setContentView(R.layout.framelayout_layout);
|