/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/ |
SuggestionStripView.java | 91 inflater.inflate(R.layout.suggestions_strip, this); 95 final TextView word = (TextView)inflater.inflate(R.layout.suggestion_word, null); 99 final View divider = inflater.inflate(R.layout.suggestion_divider, null); 102 mDebugInfoViews.add((TextView)inflater.inflate(R.layout.suggestion_info, null)); 108 mMoreSuggestionsContainer = inflater.inflate(R.layout.more_suggestions, null); 132 mLayoutHelper.layout(mSuggestedWords, mSuggestionsStrip, this); 219 builder.layout(mSuggestedWords, layoutHelper.mSuggestionsCountInStrip, maxWidth,
|
/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; 29 import com.android.ide.common.layout.BaseLayoutRule; 40 * Data structure about relative layout relationships which makes it possible to: 61 /** Constructs a new {@link DependencyGraph} for the given relative layout */ 62 DependencyGraph(INode layout) { 63 INode[] nodes = layout.getChildren(); 66 String parentId = layout.getStringAttr(ANDROID_URI, ATTR_ID); 74 ViewData parentView = new ViewData(layout, parentId); 75 mNodeToView.put(layout, parentView); 266 * Info about a specific widget child of a relative layout and its constraints. Thi [all...] |
ResizeHandler.java | 16 package com.android.ide.common.layout.relative; 38 import com.android.ide.common.layout.BaseLayoutRule; 54 * @param layout the layout containing the resized node 60 public ResizeHandler(INode layout, INode resized, 63 super(layout, rulesEngine); 94 for (INode child : layout.getChildren()) { 103 addBounds(layout, layout.getStringAttr(ANDROID_URI, ATTR_ID), true, true);
|
/build/tools/droiddoc/templates-pdk/assets/design/ |
default.css | 2 /* 16 column layout */ 5 /* page layout + top-level styles */ 127 /* content layout */ 128 .layout-content-row { 131 .layout-content-row:after { 137 * html .layout-content-row { 140 .layout-content-col { 143 .layout-content-col:first-child { 146 .layout-content-col.span-1 { 149 .layout-content-col.span-2 [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/ |
GridLayoutPainter.java | 16 package com.android.ide.common.layout.grid; 18 import static com.android.ide.common.layout.GridLayoutRule.GRID_SIZE; 19 import static com.android.ide.common.layout.GridLayoutRule.MARGIN_SIZE; 20 import static com.android.ide.common.layout.grid.GridModel.UNDEFINED; 31 import com.android.ide.common.layout.GridLayoutRule; 56 * @param layout the grid layout node 60 public static void paintStructure(DrawingStyle style, INode layout, IGraphics gc, 62 Rect b = layout.getBounds(); 80 * @param layout the GridLayout nod [all...] |
GridDropHandler.java | 16 package com.android.ide.common.layout.grid; 24 import static com.android.ide.common.layout.GravityHelper.getGravity; 25 import static com.android.ide.common.layout.GridLayoutRule.GRID_SIZE; 26 import static com.android.ide.common.layout.GridLayoutRule.MARGIN_SIZE; 27 import static com.android.ide.common.layout.GridLayoutRule.MAX_CELL_DIFFERENCE; 28 import static com.android.ide.common.layout.GridLayoutRule.SHORT_GAP_DP; 29 import static com.android.ide.common.layout.grid.GridModel.UNDEFINED; 40 import com.android.ide.common.layout.BaseLayoutRule; 41 import com.android.ide.common.layout.GravityHelper; 42 import com.android.ide.common.layout.GridLayoutRule [all...] |
/external/chromium_org/chrome/browser/ui/views/ |
fullscreen_exit_bubble_views.cc | 28 #include "ui/views/layout/box_layout.h" 29 #include "ui/views/layout/grid_layout.h" 172 views::GridLayout* layout = new views::GridLayout(this); local 173 views::ColumnSet* columns = layout->AddColumnSet(0); 184 layout->StartRow(0, 0); 185 layout->AddView(message_label_); 186 layout->AddView(button_view_); 187 layout->AddView(mouse_lock_exit_instruction_); 188 layout->AddView(link_); 192 layout->SetInsets(padding) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/ |
UiElementPullParser.java | 17 package com.android.ide.eclipse.adt.internal.editors.layout; 40 import com.android.ide.eclipse.adt.internal.editors.layout.descriptors.LayoutDescriptors; 41 import com.android.ide.eclipse.adt.internal.editors.layout.descriptors.ViewElementDescriptor; 42 import com.android.ide.eclipse.adt.internal.editors.layout.gle2.FragmentMenu; 66 * It's designed to work on layout files, and will most likely not work on other resource files. 104 * parsing a layout resource files, and handling "exploded rendering" - adding padding on views 116 * @param project Project containing this layout. 127 // get the layout descriptor 368 String layout = FragmentMenu.getFragmentLayout(xmlNode); local 369 if (layout != null) 425 String layout = FragmentMenu.getFragmentLayout(getCurrentNode().getXmlNode()); local [all...] |
/cts/tests/tests/text/src/android/text/method/cts/ |
PasswordTransformationMethodTest.java | 82 LinearLayout layout = new LinearLayout(mActivity); 83 layout.setOrientation(LinearLayout.VERTICAL); 84 layout.addView(editText, new LayoutParams(LayoutParams.MATCH_PARENT, 86 layout.addView(button, new LayoutParams(LayoutParams.MATCH_PARENT, 88 mActivity.setContentView(layout);
|
/cts/tests/tests/widget/src/android/widget/cts/ |
ResourceCursorTreeAdapterTest.java | 41 private int mCollapsedGroupLayout = R.layout.cursoradapter_group0; 45 private int mExpandedGroupLayout = R.layout.cursoradapter_group1; 47 private int mNormalChildLayout = R.layout.cursoradapter_item0; 51 private int mLastChildLayout = R.layout.cursoradapter_item1; 71 mParent = (ViewGroup) layoutInflater.inflate(R.layout.cursoradapter_host, null);
|
RemoteViewsActivityTest.java | 47 RemoteViews orig = new RemoteViews(PACKAGE_NAME, R.layout.remote_view_test_good); 73 RemoteViews orig = new RemoteViews(PACKAGE_NAME, R.layout.remote_view_test_bad_1); 99 RemoteViews orig = new RemoteViews(PACKAGE_NAME, R.layout.remote_view_test_bad_2);
|
/external/chromium/chrome/browser/chromeos/input_method/ |
xkeyboard_unittest.cc | 139 // CreateFullXkbLayoutName should accept a layout with a variant name. 155 // When the layout name is not "us", the second layout should be added. 173 const std::string layout = CreateFullXkbLayoutName( local 176 EXPECT_STREQ("us+", layout.substr(0, 3).c_str()) 177 << "layout: " << layout; 179 EXPECT_TRUE(layouts.insert(layout).second) << "layout: " << layout; [all...] |
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
ProgrammaticScrollTest.cpp | 87 webView->layout(); 106 webView->layout(); 142 webView->layout(); 172 webView->layout(); 203 webView->layout();
|
/external/skia/bench/ |
tile_analyze.py | 130 def GetTileMatrix(layout, tile_size, values, viewport): 131 """For the given tile layout and per-tile bench values, returns a matrix of 134 layout, tile_size and viewport are given in string of format <w>x<h>, where 144 [tile_cols, tile_rows] = [int(i) for i in layout.split('x')] 197 bench_dic = {} # [bench][config] -> [layout, [values]] 229 [layout, value_li] = bench_dic[bench][config] 232 if (not re.search(DIMENSIONS_RE, layout) or 237 layout, tile_size, value_li, viewport)
|
/external/chromium_org/chrome/browser/resources/file_manager/js/photo/ |
mosaic_mode.js | 90 * Default layout delay in ms. 130 this.layoutModel_ = new Mosaic.Layout(); 161 * keep the layout up to date. 293 this.layout(); 329 * Layout the tiles in the order of their indices. 334 Mosaic.prototype.layout = function() { 345 break; // Next layout will try to restart from here. 352 * Schedule the layout. 360 this.layout(); 372 (Mosaic.Layout.PADDING_TOP + Mosaic.Layout.PADDING_BOTTOM)) [all...] |
/external/chromium_org/chrome/browser/resources/chromeos/wallpaper_manager/js/ |
wallpaper_manager.js | 66 * Retruns the current selected layout. 67 * @return {string} The selected layout. 70 var setWallpaperLayout = $('set-wallpaper-layout'); 228 $('set-wallpaper-layout').addEventListener( 283 $('set-wallpaper-layout').disabled = true; 450 * @param {{baseURL: string, layout: string, source: string, 474 selectedItem.layout, 490 selectedItem.layout, 496 WallpaperUtil.saveWallpaperInfo(wallpaperURL, selectedItem.layout, 510 chrome.wallpaperPrivate.setWallpaper(image, selectedItem.layout, [all...] |
/developers/samples/android/ui/actionbarcompat/ShareActionProvider/ShareActionProvider/src/main/src/com/example/android/actionbarcompat/shareactionprovider/ |
MainActivity.java | 62 setContentView(R.layout.activity_main); 125 // Inflate item layout for text 127 .inflate(R.layout.item_text, container, false); 137 // Inflate item layout for images 139 .inflate(R.layout.item_image, container, false);
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
SearchInvoke.java | 62 // Inflate our UI from its XML layout description. 63 setContentView(R.layout.search_invoke); 73 this, R.array.search_menuModes, android.R.layout.simple_spinner_item); 74 adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
|
/development/samples/BluetoothChat/src/com/example/android/BluetoothChat/ |
DeviceListActivity.java | 65 setContentView(R.layout.device_list); 81 mPairedDevicesArrayAdapter = new ArrayAdapter<String>(this, R.layout.device_name); 82 mNewDevicesArrayAdapter = new ArrayAdapter<String>(this, R.layout.device_name);
|
/development/samples/Support13Demos/src/com/example/android/supportv13/app/ |
FragmentPagerSupport.java | 51 setContentView(R.layout.fragment_pager); 123 View v = inflater.inflate(R.layout.fragment_pager_list, container, false); 133 android.R.layout.simple_list_item_1, Cheeses.sCheeseStrings));
|
FragmentStatePagerSupport.java | 51 setContentView(R.layout.fragment_pager); 123 View v = inflater.inflate(R.layout.fragment_pager_list, container, false); 133 android.R.layout.simple_list_item_1, Cheeses.sCheeseStrings));
|
/development/samples/Support4Demos/src/com/example/android/supportv4/app/ |
FragmentPagerSupport.java | 50 setContentView(R.layout.fragment_pager); 122 View v = inflater.inflate(R.layout.fragment_pager_list, container, false); 132 android.R.layout.simple_list_item_1, Cheeses.sCheeseStrings));
|
FragmentStatePagerSupport.java | 51 setContentView(R.layout.fragment_pager); 123 View v = inflater.inflate(R.layout.fragment_pager_list, container, false); 133 android.R.layout.simple_list_item_1, Cheeses.sCheeseStrings));
|
/development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/ |
DeviceListFragment.java | 53 this.setListAdapter(new WiFiPeerListAdapter(getActivity(), R.layout.row_devices, peers)); 59 mContentView = inflater.inflate(R.layout.device_list, null); 123 v = vi.inflate(R.layout.row_devices, null);
|
/development/samples/training/EffectiveNavigation/src/com/example/android/effectivenavigation/ |
MainActivity.java | 51 setContentView(R.layout.activity_main); 154 View rootView = inflater.inflate(R.layout.fragment_section_launchpad, container, false); 197 View rootView = inflater.inflate(R.layout.fragment_section_dummy, container, false);
|