/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/extractstring/ |
ExtractStringInputPage.java | 39 import org.eclipse.swt.layout.GridData; 40 import org.eclipse.swt.layout.GridLayout; 129 GridLayout layout = new GridLayout(); local 130 content.setLayout(layout); 144 * @param content A composite with a 1-column grid layout 157 GridLayout layout = new GridLayout(); local 158 layout.numColumns = 2; 159 group.setLayout(layout); 206 * @param content A composite with a 1-column grid layout 216 GridLayout layout = new GridLayout() local [all...] |
/build/tools/droiddoc/templates-pdk/assets/ |
carousel.js | 86 var layout = droid.layout; 96 if (layout == "imgLeft") { 99 } else if (layout == "imgTop") { 102 } else if (layout == "imgRight") {
|
/cts/tests/tests/widget/src/android/widget/cts/ |
TableRowTest.java | 86 activity.setContentView(com.android.cts.stub.R.layout.table_layout_1); 99 activity.setContentView(com.android.cts.stub.R.layout.table_layout_2); 117 activity.setContentView(com.android.cts.stub.R.layout.table_layout_1); 124 activity.setContentView(com.android.cts.stub.R.layout.table_layout_2); 135 XmlResourceParser parser = resources.getLayout(R.layout.table_layout_1);
|
AdapterViewTest.java | 68 XmlPullParser parser = mActivity.getResources().getXml(R.layout.adapterview_layout); 174 mActivity, R.layout.adapterview_layout, new String[]{})); 216 mAdapterView.layout(0, 0, LAYOUT_WIDTH, bottom); 262 mAdapterView.layout(0, 0, LAYOUT_WIDTH, LAYOUT_HEIGHT); 273 // mAdapterView.layout(0, 0, LAYOUT_WIDTH, LAYOUT_HEIGHT); 295 * but to the layout parent ,it may still be the 1, 2 child for there always has 3,4 views there 297 * this means the position of item is same as position of the children in parent layout 301 mAdapterView.layout(0, 0, LAYOUT_WIDTH, LAYOUT_HEIGHT); 412 * whether this view can has animation layout 463 mActivity, R.layout.adapterview_layout, FRUIT)) [all...] |
/development/ndk/platforms/android-14/samples/native-media/src/com/example/nativemedia/ |
NativeMedia.java | 62 setContentView(R.layout.main); 147 this, R.array.source_array, android.R.layout.simple_spinner_item); 148 sourceAdapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item); 167 this, R.array.sink_array, android.R.layout.simple_spinner_item); 168 sinkAdapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
|
/development/samples/Home/src/com/example/android/home/ |
ApplicationsStackLayout.java | 34 * The ApplicationsStackLayout is a specialized layout used for the purpose of the home screen 35 * only. This layout stacks various icons in three distinct areas: the recents, the favorites 38 * This layout supports two different orientations: vertical and horizontal. When horizontal, 43 * When vertical, the layout is the following: 49 * The layout operates from the "bottom up" (or from right to left.) This means that the button 113 mButton = mInflater.inflate(R.layout.all_applications_button, this, false); 202 mButton.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight); 225 mButton.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight); 280 view.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight); 305 TextView textView = (TextView) inflater.inflate(R.layout.favorite, group, false) [all...] |
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/ |
NativeMedia.java | 69 setContentView(R.layout.main); 157 this, R.array.source_array, android.R.layout.simple_spinner_item); 158 sourceAdapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item); 177 this, R.array.sink_array, android.R.layout.simple_spinner_item); 178 sinkAdapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
FolderSelectorAdapter.java | 98 Set<String> initiallySelected, int layout, String header) { 100 mLayout = layout; 105 public FolderSelectorAdapter(Context context, Cursor folders, int layout, String header, 108 mLayout = layout; 336 (TextView) mInflater.inflate(R.layout.folder_header, parent, false);
|
/frameworks/base/core/java/com/android/internal/widget/ |
SlidingTab.java | 327 * Layout the given widgets within the parent. 335 void layout(int l, int t, int r, int b, int alignment) { method in class:SlidingTab.Slider 358 tab.layout(0, top, handleWidth, bottom); 359 text.layout(0 - parentWidth, top, 0, bottom); 361 target.layout(leftTarget, targetTop, leftTarget + targetWidth, targetBottom); 364 tab.layout(parentWidth - handleWidth, top, parentWidth, bottom); 365 text.layout(parentWidth, top, parentWidth + parentWidth, bottom); 366 target.layout(rightTarget, targetTop, rightTarget + targetWidth, targetBottom); 377 tab.layout(left, 0, right, handleHeight); 378 text.layout(left, 0 - parentHeight, right, 0) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
LayoutActionBar.java | 16 package com.android.ide.eclipse.adt.internal.editors.layout.gle2; 27 import com.android.ide.common.layout.BaseViewRule; 30 import com.android.ide.eclipse.adt.internal.editors.layout.configuration.Configuration; 31 import com.android.ide.eclipse.adt.internal.editors.layout.configuration.ConfigurationChooser; 32 import com.android.ide.eclipse.adt.internal.editors.layout.gre.NodeProxy; 33 import com.android.ide.eclipse.adt.internal.editors.layout.gre.RulesEngine; 50 import org.eclipse.swt.layout.GridData; 51 import org.eclipse.swt.layout.GridLayout; 69 * Toolbar shown at the top of the layout editor, which adds a number of context-sensitive 70 * layout actions (as well as zooming controls on the right) 96 GridLayout layout = new GridLayout(3, false); local 637 layout(); method [all...] |
PaletteControl.java | 17 package com.android.ide.eclipse.adt.internal.editors.layout.gle2; 40 import com.android.ide.eclipse.adt.internal.editors.layout.LayoutEditorDelegate; 41 import com.android.ide.eclipse.adt.internal.editors.layout.configuration.ConfigurationChooser; 42 import com.android.ide.eclipse.adt.internal.editors.layout.descriptors.CustomViewDescriptorService; 43 import com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor; 44 import com.android.ide.eclipse.adt.internal.editors.layout.gre.NodeFactory; 45 import com.android.ide.eclipse.adt.internal.editors.layout.gre.NodeProxy; 46 import com.android.ide.eclipse.adt.internal.editors.layout.gre.PaletteMetadataDescriptor; 47 import com.android.ide.eclipse.adt.internal.editors.layout.gre.ViewMetadataRepository; 48 import com.android.ide.eclipse.adt.internal.editors.layout.gre.ViewMetadataRepository.RenderMode [all...] |
DynamicContextMenu.java | 17 package com.android.ide.eclipse.adt.internal.editors.layout.gle2; 38 import com.android.ide.common.layout.BaseViewRule; 39 import com.android.ide.eclipse.adt.internal.editors.layout.LayoutEditorDelegate; 40 import com.android.ide.eclipse.adt.internal.editors.layout.gre.NodeFactory; 41 import com.android.ide.eclipse.adt.internal.editors.layout.gre.NodeProxy; 42 import com.android.ide.eclipse.adt.internal.editors.layout.refactoring.ChangeLayoutAction; 43 import com.android.ide.eclipse.adt.internal.editors.layout.refactoring.ChangeViewAction; 44 import com.android.ide.eclipse.adt.internal.editors.layout.refactoring.ExtractIncludeAction; 45 import com.android.ide.eclipse.adt.internal.editors.layout.refactoring.ExtractStyleAction; 46 import com.android.ide.eclipse.adt.internal.editors.layout.refactoring.UnwrapAction [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/ |
r300_blit.c | 441 return desc->layout == UTIL_FORMAT_LAYOUT_PLAIN || 442 desc->layout == UTIL_FORMAT_LAYOUT_S3TC || 443 desc->layout == UTIL_FORMAT_LAYOUT_RGTC; 463 unsigned layout; local 483 layout = util_format_description(dst_templ.format)->layout; 486 if (layout == UTIL_FORMAT_LAYOUT_PLAIN && 515 if (layout == UTIL_FORMAT_LAYOUT_S3TC || 516 layout == UTIL_FORMAT_LAYOUT_RGTC) {
|
/external/mesa3d/src/gallium/drivers/r300/ |
r300_blit.c | 441 return desc->layout == UTIL_FORMAT_LAYOUT_PLAIN || 442 desc->layout == UTIL_FORMAT_LAYOUT_S3TC || 443 desc->layout == UTIL_FORMAT_LAYOUT_RGTC; 463 unsigned layout; local 483 layout = util_format_description(dst_templ.format)->layout; 486 if (layout == UTIL_FORMAT_LAYOUT_PLAIN && 515 if (layout == UTIL_FORMAT_LAYOUT_S3TC || 516 layout == UTIL_FORMAT_LAYOUT_RGTC) {
|
/external/valgrind/main/coregrind/m_syswrap/ |
priv_types_n_macros.h | 80 /* Guest state layout info for syscall args. */ 228 SyscallArgLayout* layout, \ 250 SyscallArgLayout* layout, \ 374 pre-wrappers, and they refer to the layout parameter passed in. */ 429 layout->o_sysno, sizeof(UWord)); 446 Int here = layout->o_arg##n; \ 463 Int here = layout->o_arg##n; \ 464 Int next = layout->o_arg##n + sizeof(UWord); \ 497 Addr here = layout->s_arg##n + VG_(get_SP)(tid); \ 514 Addr next = layout->s_arg##n + sizeof(UWord) + [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
AdditionalSubtypeSettings.java | 100 super(context, android.R.layout.simple_spinner_item); 101 setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item); 118 // TODO: Should filter out already existing combinations of locale and layout. 147 super(context, android.R.layout.simple_spinner_item); 148 setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item); 150 // TODO: Should filter out already existing combinations of locale and layout. 151 for (final String layout : SubtypeLocaleUtils.getPredefinedKeyboardLayoutSet()) { 154 SubtypeLocaleUtils.NO_LANGUAGE, layout, null); 188 setDialogLayoutResource(R.layout.additional_subtype_dialog); 287 final KeyboardLayoutSetItem layout local [all...] |
/frameworks/base/core/java/android/widget/ |
Editor.java | 55 import android.text.Layout; 289 com.android.internal.R.layout.textview_hint, null); 567 Layout l = new StaticLayout(text, tv.getPaint(), defaultWidthInPixels, 568 Layout.Alignment.ALIGN_NORMAL, 1, 0, true); 802 Layout layout = mTextView.getLayout(); local 803 if (layout == null) return false; 805 final int line = layout.getLineForOffset(offset); 806 final int lineBottom = layout.getLineBottom(line); 807 final int primaryHorizontal = (int) layout.getPrimaryHorizontal(offset) 816 Layout layout = mTextView.getLayout(); local 1486 Layout layout = mTextView.getLayout(); local 2968 final Layout layout = mTextView.getLayout(); local 3157 Layout layout = mTextView.getLayout(); local 3801 final Layout layout = mTextView.getLayout(); local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/ |
GuidelineHandler.java | 16 package com.android.ide.common.layout.relative; 28 import static com.android.ide.common.layout.BaseLayoutRule.getMaxMatchDistance; 52 import static com.android.ide.common.layout.relative.ConstraintType.ALIGN_BASELINE; 65 import com.android.ide.common.layout.BaseLayoutRule; 66 import com.android.ide.common.layout.relative.DependencyGraph.Constraint; 67 import com.android.ide.common.layout.relative.DependencyGraph.ViewData; 82 * A dependency graph for the relative layout recording constraint relationships 87 public INode layout; field in class:GuidelineHandler 134 * All horizontal segments in the relative layout - top and bottom edges, baseline 140 * All vertical segments in the relative layout - left and right edges, and left an [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; 53 import static com.android.ide.common.layout.GravityHelper.GRAVITY_HORIZ_MASK; 54 import static com.android.ide.common.layout.GravityHelper.GRAVITY_VERT_MASK; 57 import com.android.ide.common.layout.BaseLayoutRule; 58 import com.android.ide.common.layout.GravityHelper; 59 import com.android.ide.common.layout.GridLayoutRule; 63 import com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor; 64 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.CanvasViewInfo; 65 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.DomUtilities; 66 import com.android.ide.eclipse.adt.internal.editors.layout.gre.ViewMetadataRepository [all...] |
/development/apps/Development/src/com/android/development/ |
PackageSummary.java | 65 setContentView(R.layout.package_summary); 176 R.layout.package_item, null, false); 193 R.layout.package_item, null, false); 207 R.layout.package_item, null, false); 220 R.layout.package_item, null, false); 233 R.layout.package_item, null, false);
|
/external/chromium_org/ui/base/ime/win/ |
imm32_manager.cc | 132 // Retrieve the current keyboard layout from Windows and determine whether 543 } layout = RTL_KEYBOARD_LAYOUT_NOT_INITIALIZED; local 546 if (layout != RTL_KEYBOARD_LAYOUT_NOT_INITIALIZED) 547 return layout == RTL_KEYBOARD_LAYOUT_INSTALLED; 552 layout = RTL_KEYBOARD_LAYOUT_ERROR; 557 // layout in it. 562 layout = RTL_KEYBOARD_LAYOUT_INSTALLED; 567 layout = RTL_KEYBOARD_LAYOUT_NOT_INSTALLED;
|
/external/chromium_org/ui/views/color_chooser/ |
color_chooser_view.cc | 19 #include "ui/views/layout/box_layout.h" 20 #include "ui/views/layout/grid_layout.h" 360 GridLayout* layout = new GridLayout(container2); local 361 container2->SetLayoutManager(layout); 362 ColumnSet* columns = layout->AddColumnSet(0); 368 layout->StartRow(0, 0); 372 layout->AddView(textfield_); 374 layout->AddView(selected_color_patch_);
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
CameraControls.java | 73 v.layout(l, t, r, b); 141 v.layout(result.left, result.top, result.right, result.bottom); 150 v.layout(cx - tw / 2 + lp.leftMargin, 193 v.layout(l, t, r, b); 229 v.layout(l, t, r, b); 233 // layout using the specific margins; the rotation code messes up the others 236 v.layout(r - v.getMeasuredWidth() - mr, t + mt, r - mr, t + mt + v.getMeasuredHeight());
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
ContactTileAdapter.java | 440 R.layout.contact_tile_starred_quick_contact : R.layout.contact_tile_starred; 443 R.layout.contact_tile_frequent_phone : R.layout.contact_tile_frequent; 445 return R.layout.contact_tile_phone_starred; 537 // We override onMeasure() for STARRED and we don't care the layout param there. 596 child.layout(childLeft, 0, childLeft + childWidth, child.getMeasuredHeight());
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/ |
LayoutEditorDelegate.java | 17 package com.android.ide.eclipse.adt.internal.editors.layout; 32 import com.android.ide.eclipse.adt.internal.editors.layout.descriptors.CustomViewDescriptorService; 33 import com.android.ide.eclipse.adt.internal.editors.layout.descriptors.LayoutDescriptors; 34 import com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor; 35 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.DomUtilities; 36 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.GraphicalEditorPart; 37 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.LayoutActionBar; 38 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.LayoutCanvas; 39 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.OutlinePage; 40 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.SelectionManager [all...] |