/external/chromium/chrome/browser/ui/views/ |
default_search_view.cc | 25 #include "views/layout/grid_layout.h" 26 #include "views/layout/layout_constants.h" 220 GridLayout* layout = new views::GridLayout(this); local 221 layout->SetInsets(0, 0, views::kPanelVertMargin, 0); 222 SetLayoutManager(layout); 226 layout->AddColumnSet(kWholeDialogViewSetId); 235 layout->AddColumnSet(kPaddedWholeDialogViewSetId); 243 ColumnSet* choices_column_set = layout->AddColumnSet(kChoicesViewSetId); 255 layout->StartRow(0, kWholeDialogViewSetId); 263 layout->AddView(background_image_) [all...] |
/external/icu4c/samples/layout/ |
layout.vcxproj | 82 <TypeLibraryName>.\x86\Release/layout.tlb</TypeLibraryName>
86 <AdditionalIncludeDirectories>..\..\..\include;..\..\..\include\layout;..\..\common;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
94 <PrecompiledHeaderOutputFile>.\x86\Release/layout.pch</PrecompiledHeaderOutputFile>
108 <OutputFile>.\x86\Release/layout.exe</OutputFile>
110 <ProgramDatabaseFile>.\x86\Release/layout.pdb</ProgramDatabaseFile>
120 <TypeLibraryName>.\x64\Release/layout.tlb</TypeLibraryName>
124 <AdditionalIncludeDirectories>..\..\..\include;..\..\..\include\layout;..\..\common;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
132 <PrecompiledHeaderOutputFile>.\x64\Release/layout.pch</PrecompiledHeaderOutputFile>
146 <OutputFile>.\x64\Release/layout.exe</OutputFile>
148 <ProgramDatabaseFile>.\x64\Release/layout.pdb</ProgramDatabaseFile> [all...] |
readme.html | 15 <h2>What is the layout demo?</h2> 17 <p>The layout demo displays a paragraph of text that is laid out using the 18 LayoutEngine. There are two versions of this demo, "layout.exe" which runs on 23 <h2>How do I build the layout demo?</h2>First, you need to build ICU, 26 <p>On Windows, the layout project should be listed as a dependency of all, so 27 layout will build when you build all. If it doesn't for some reason, just 28 select the layout project in the project toolbar and build it.</p> 30 <p>On Linux systems, you need to add the "--enable-layout=yes" option when 31 you invoke the runConfigureICU script. When you've done that, layout should 34 <p>To build the demo on Windows, just open the layout project i [all...] |
/external/llvm/test/FrontendC++/ |
2008-10-29-WrongOffset.cpp | 207 template < class Layout2 > FieldEngine (const Centering < Dim > ¢ering, const Layout2 & layout, const Mesh & mesh, int materials = 1):num_materials_m (materials), centering_m (centering), 208 stride_m (centering.size ()), physicalCellDomain_m (layout.domain ()), 209 guards_m (layout.externalGuards ()), mesh_m (mesh) 271 const Layout2 & layout, 273 mesh):fieldEngine_m (centering, layout, 328 template < class Layout > 329 explicit NoMeshData (const Layout & 330 layout):physicalVertexDomain_m (layout. 333 totalVertexDomain_m (layout.domain ()) 482 Traits_t::Layout_t layout; local [all...] |
/external/clang/lib/CodeGen/ |
CGRecordLayoutBuilder.cpp | 110 /// LayoutUnionField - Will layout a field in an union and return the type 113 const ASTRecordLayout &Layout); 115 /// LayoutUnion - Will layout a union RecordDecl. 118 /// LayoutField - try to layout all fields in the record decl. 122 /// Layout a single base, virtual or non-virtual 127 /// LayoutVirtualBase - layout a single virtual base. 131 /// LayoutVirtualBases - layout the virtual bases of a record decl. 133 const ASTRecordLayout &Layout); 135 /// LayoutNonVirtualBase - layout a single non-virtual base. 139 /// LayoutNonVirtualBases - layout the virtual bases of a record decl 524 const ASTRecordLayout &layout = Types.getContext().getASTRecordLayout(D); local [all...] |
/external/clang/include/clang/AST/ |
RecordLayout.h | 1 //===--- RecordLayout.h - Layout information for a struct/union -*- C++ -*-===// 29 /// This class contains layout information for one RecordDecl, 32 /// This class is also used to contain layout information for one 51 /// CXXRecordLayoutInfo - Contains C++ specific layout information. 79 /// CXXInfo - If the record layout is for a C++ record, this will have 115 /// getFieldCount - Get the number of fields in the layout. 134 assert(CXXInfo && "Record layout does not have C++ specific info!"); 142 assert(CXXInfo && "Record layout does not have C++ specific info!"); 149 assert(CXXInfo && "Record layout does not have C++ specific info!"); 157 assert(CXXInfo && "Record layout does not have C++ specific info!") [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
LinearLayoutRule.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_BASELINE_ALIGNED; 21 import static com.android.ide.common.layout.LayoutConstants.ATTR_LAYOUT_GRAVITY; 22 import static com.android.ide.common.layout.LayoutConstants.ATTR_LAYOUT_HEIGHT; 23 import static com.android.ide.common.layout.LayoutConstants.ATTR_LAYOUT_WEIGHT; 24 import static com.android.ide.common.layout.LayoutConstants.ATTR_LAYOUT_WIDTH; 25 import static com.android.ide.common.layout.LayoutConstants.ATTR_ORIENTATION; 26 import static com.android.ide.common.layout.LayoutConstants.ATTR_WEIGHT_SUM; 27 import static com.android.ide.common.layout.LayoutConstants.VALUE_1 [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
GridLayoutConverter.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_BACKGROUND; 20 import static com.android.ide.common.layout.LayoutConstants.ATTR_COLUMN_COUNT; 21 import static com.android.ide.common.layout.LayoutConstants.ATTR_LAYOUT_ALIGN_BASELINE; 22 import static com.android.ide.common.layout.LayoutConstants.ATTR_LAYOUT_ALIGN_BOTTOM; 23 import static com.android.ide.common.layout.LayoutConstants.ATTR_LAYOUT_ALIGN_LEFT; 24 import static com.android.ide.common.layout.LayoutConstants.ATTR_LAYOUT_ALIGN_RIGHT; 25 import static com.android.ide.common.layout.LayoutConstants.ATTR_LAYOUT_ALIGN_TOP; 26 import static com.android.ide.common.layout.LayoutConstants.ATTR_LAYOUT_COLUMN [all...] |
/external/webkit/Source/WebCore/platform/graphics/gtk/ |
FontGtk.cpp | 170 static void setPangoAttributes(const Font* font, const TextRun& run, PangoLayout* layout) 175 pango_layout_set_font_description(layout, desc); 181 pango_layout_set_font_description(layout, desc); 186 pango_layout_set_auto_dir(layout, FALSE); 188 PangoContext* pangoContext = pango_layout_get_context(layout); 207 pango_layout_set_attributes(layout, list); 279 PangoLayout* layout = pango_cairo_create_layout(cr); local 280 setPangoAttributes(this, run, layout); 283 pango_layout_set_text(layout, utf8, -1); 286 PangoLayoutLine* layoutLine = pango_layout_get_line_readonly(layout, 0) 344 PangoLayout* layout = pango_layout_new(pangoContext); local 384 PangoLayout* layout = getDefaultPangoLayout(run); local [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
Spinner1.java | 42 setContentView(R.layout.spinner_1); 46 this, R.array.colors, android.R.layout.simple_spinner_item); 47 adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item); 63 android.R.layout.simple_spinner_item); 64 adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
|
/frameworks/base/core/java/android/text/style/ |
DrawableMarginSpan.java | 24 import android.text.Layout; 45 boolean first, Layout layout) { 48 int itop = (int)layout.getLineTop(layout.getLineForOffset(st));
|
/frameworks/base/docs/html/guide/topics/views/ |
ui-xml.jd | 2 parent.title=Views and Layout 31 href="{@docRoot}reference/available-resources.html#layoutresources">Layout Resources</a>.</p> 37 <p>Each layout file must contain exactly one root element, and the root element must be a View or ViewGroup object. Once you've defined the root element, you can add additional layout objects or controls as child elements of the root element, if needed. In the example below, the tree of XML elements evaluates to the outermost LinearLayout object. 39 <p>After you've declared your layout in XML, you must save the file, with the <code>.xml</code> extension, in the proper location, so that it will be compiled correctly. The proper location for storing layout files is in your application's <code>res/layout/</code> directory. </p> 41 <p>When you compile your application, each XML layout file is compiled into an 42 android.view.View resource. You can then load the layout resource from your application code, by calling <code>setContentView(R.layout.<em>layout_file_name</em>)</code> in your {@link android.app.Activity#onCreate(android.os.Bundle) (…) [all...] |
/frameworks/base/docs/html/resources/articles/ |
layout-tricks-merge.jd | 1 page.title=Layout Tricks: Merging Layouts 7 reuse and share your layout code. This article explains the <code><merge /></code> tag and how 13 following XML layout declares a layout that shows an image with its title on top 44 <p>This layout renders nicely and nothing seems wrong with it:</p> 54 <div style="text-align: center;"><img src="images/merge2.png" alt="A layout with only one child of same dimensions can be removed"></div> 66 parent. Confused? Let's rewrite our previous XML layout by replacing the 102 could not apply this trick if your layout was using a <code>LinearLayout</code> 139 <p>This new layout produces the following result on a device:</p> 146 layout <code>R.layout.okcancelbar</code> is inflated with th [all...] |
/frameworks/base/tests/ImfTest/src/com/android/imftest/samples/ |
DialogActivity.java | 96 LinearLayout layout; local 97 layout = new LinearLayout(this); 98 layout.setOrientation(LinearLayout.VERTICAL); 104 layout.addView(editText); 110 d.setContentView(layout);
|
/packages/apps/Email/src/com/android/email/ |
RecipientAdapter.java | 37 r.getDrawable(R.drawable.chip_delete), def, R.layout.more_item, 38 R.layout.chips_alternate_item, 42 R.layout.copy_chip_dialog_layout); 64 return R.layout.chips_recipient_dropdown_item; 69 return R.layout.chips_waiting_for_directory_search;
|
/packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/ |
EffectsMenu.java | 50 return R.layout.photoeditor_effects_menu; 54 setToggleRunnalbe(listener, R.id.exposure_button, R.layout.photoeditor_effects_exposure); 55 setToggleRunnalbe(listener, R.id.artistic_button, R.layout.photoeditor_effects_artistic); 56 setToggleRunnalbe(listener, R.id.color_button, R.layout.photoeditor_effects_color); 57 setToggleRunnalbe(listener, R.id.fix_button, R.layout.photoeditor_effects_fix);
|
/packages/apps/Phone/src/com/android/phone/ |
EditPinPreference.java | 32 * class, with a couple of modifications, including a different layout 58 * Overridden to setup the correct dialog layout, as well as setting up 63 // set the dialog layout 64 setDialogLayoutResource(R.layout.pref_dialog_editpin); 81 // If the layout does not contain an edittext, hide the buttons.
|
/external/qemu/android/skin/ |
window.c | 787 typedef struct Layout { 797 } Layout; 799 #define LAYOUT_LOOP_BUTTONS(layout,button) \ 801 Button* __button = (layout)->buttons; \ 802 Button* __button_end = __button + (layout)->num_buttons; \ 810 #define LAYOUT_LOOP_DISPLAYS(layout,display) \ 812 ADisplay* __display = (layout)->displays; \ 813 ADisplay* __display_end = __display + (layout)->num_displays; \ 823 layout_done( Layout* layout ) 929 Layout layout; member in struct:SkinWindow 1419 Layout layout; local 1549 Layout* layout = &window->layout; local [all...] |
/external/chromium/chrome/browser/chromeos/login/ |
message_bubble.cc | 15 #include "views/layout/grid_layout.h" 38 GridLayout* layout = new GridLayout(control_view); local 39 control_view->SetLayoutManager(layout); 40 views::ColumnSet* column_set = layout->AddColumnSet(0); 50 column_set = layout->AddColumnSet(1); 58 layout->StartRow(0, 0); 61 layout->AddView(icon_); 67 layout->AddView(text_); 76 layout->AddView(close_button_); 79 layout->StartRowWithPadding(0, 1, 0, kBorderSize) [all...] |
/external/chromium/chrome/browser/notifications/ |
balloon_collection_impl.h | 31 // a layout, and monitors for balloons being closed, which it reports 66 // Calculates layout values for the balloons including 68 class Layout { 70 Layout(); 109 // Returns the origin for the sequence of balloons depending on layout. 120 // Return a offscreen location which is offscreen for this layout, 124 // Returns true if the layout requires offsetting for keeping the close 129 // Layout parameters 142 DISALLOW_COPY_AND_ASSIGN(Layout); 169 // The layout parameters for balloons in this collection [all...] |
/frameworks/base/core/java/android/text/method/ |
LinkMovementMethod.java | 19 import android.text.Layout; 92 Layout layout = widget.getLayout(); local 99 int linetop = layout.getLineForVertical(areatop); 100 int linebot = layout.getLineForVertical(areabot); 102 int first = layout.getLineStart(linetop); 103 int last = layout.getLineEnd(linebot); 204 Layout layout = widget.getLayout(); local 205 int line = layout.getLineForVertical(y) [all...] |
/frameworks/base/docs/html/resources/tutorials/views/ |
hello-linearlayout.jd | 1 page.title=Linear Layout 15 <li>Open the <code>res/layout/main.xml</code> file and insert the following: 102 <code>res/layout/main.xml</code> layout in the 107 setContentView(R.layout.main); 111 layout file for the {@link android.app.Activity}, specified by the resource 112 ID — <code>R.layout.main</code> refers to the <code>res/layout/main.xml</code> layout 123 href="{@docRoot}guide/topics/ui/layout-objects.html#linearlayout">Common Layout Objects</a [all...] |
/packages/apps/Phone/res/layout/ |
manage_conference_panel.xml | 97 layout="@layout/caller_in_conference" 102 layout="@layout/caller_in_conference" 107 layout="@layout/caller_in_conference" 112 layout="@layout/caller_in_conference" 117 layout="@layout/caller_in_conference [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
HoverOverlay.java | 17 package com.android.ide.eclipse.adt.internal.editors.layout.gle2; 19 import static com.android.ide.eclipse.adt.internal.editors.layout.gle2.SwtDrawingStyle.HOVER; 20 import static com.android.ide.eclipse.adt.internal.editors.layout.gle2.SwtDrawingStyle.HOVER_SELECTION; 30 * The {@link HoverOverlay} paints an optional hover on top of the layout, 65 * @param hScale The {@link CanvasTransform} to use to transfer horizontal layout 67 * @param vScale The {@link CanvasTransform} to use to transfer vertical layout 119 * Sets the hover rectangle. The coordinates of the rectangle are in layout 127 * @param x The top left x coordinate, in layout coordinates, of the hover. 128 * @param y The top left y coordinate, in layout coordinates, of the hover. 129 * @param w The width of the hover (in layout coordinates) [all...] |
/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;
|