HomeSort by relevance Sort by last modified time
    Searched refs:layout (Results 201 - 225 of 4825) sorted by null

1 2 3 4 5 6 7 891011>>

  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
ViewFlipperActivity.java 36 final View widget = inflater.inflate(R.layout.widget, null);
41 View view = inflater.inflate(R.layout.flipper_item, flipper, false);
47 view = inflater.inflate(R.layout.flipper_item, flipper, false);
53 FrameLayout layout = new FrameLayout(this); local
54 layout.addView(widget);
56 setContentView(layout);
GlyphCacheActivity.java 42 LinearLayout layout = new LinearLayout(this); local
43 layout.setOrientation(LinearLayout.VERTICAL);
44 layout.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT,
46 scrollView.addView(layout);
49 layout.addView(createTextView());
Rotate3dTextActivity.java 35 final LinearLayout layout = new LinearLayout(this); local
36 layout.setOrientation(LinearLayout.VERTICAL);
39 layout.addView(view, makeLayoutParams());
47 layout.addView(container, makeLayoutParams());
49 setContentView(layout);
SmallCircleActivity.java 34 final LinearLayout layout = new LinearLayout(this); local
35 layout.setOrientation(LinearLayout.VERTICAL);
38 layout.addView(view, new LinearLayout.LayoutParams(PathView.SIZE, PathView.SIZE));
41 layout.addView(view, new LinearLayout.LayoutParams(PathView.SIZE, PathView.SIZE));
43 setContentView(layout);
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/tests/
TestsCatalan.java 17 package com.android.inputmethod.keyboard.layout.tests;
21 import com.android.inputmethod.keyboard.layout.LayoutBase;
22 import com.android.inputmethod.keyboard.layout.LayoutBase.EuroCustomizer;
23 import com.android.inputmethod.keyboard.layout.Spanish;
24 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey;
25 import com.android.inputmethod.keyboard.layout.expected.ExpectedKeyboardBuilder;
35 private static final LayoutBase LAYOUT = new Spanish(new CatalanCustomizer(LOCALE));
38 LayoutBase getLayout() { return LAYOUT; }
TestsEnglishUK.java 17 package com.android.inputmethod.keyboard.layout.tests;
21 import com.android.inputmethod.keyboard.layout.LayoutBase;
22 import com.android.inputmethod.keyboard.layout.Qwerty;
23 import com.android.inputmethod.keyboard.layout.Symbols;
24 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey;
34 private static final LayoutBase LAYOUT = new Qwerty(new EnglishUKCustomizer(LOCALE));
37 LayoutBase getLayout() { return LAYOUT; }
TestsEsperanto.java 17 package com.android.inputmethod.keyboard.layout.tests;
21 import com.android.inputmethod.keyboard.layout.LayoutBase;
22 import com.android.inputmethod.keyboard.layout.LayoutBase.LayoutCustomizer;
23 import com.android.inputmethod.keyboard.layout.Spanish;
24 import com.android.inputmethod.keyboard.layout.expected.ExpectedKeyboardBuilder;
34 private static final LayoutBase LAYOUT = new Spanish(new EsperantoCustomizer(LOCALE));
37 LayoutBase getLayout() { return LAYOUT; }
TestsFinnish.java 17 package com.android.inputmethod.keyboard.layout.tests;
21 import com.android.inputmethod.keyboard.layout.LayoutBase;
22 import com.android.inputmethod.keyboard.layout.LayoutBase.EuroCustomizer;
23 import com.android.inputmethod.keyboard.layout.Nordic;
24 import com.android.inputmethod.keyboard.layout.expected.ExpectedKeyboardBuilder;
34 private static final LayoutBase LAYOUT = new Nordic(new FinnishCustomizer(LOCALE));
37 LayoutBase getLayout() { return LAYOUT; }
  /frameworks/base/core/java/android/text/method/
ArrowKeyMovementMethod.java 20 import android.text.Layout;
39 private static int getCurrentLineTop(Spannable buffer, Layout layout) {
40 return layout.getLineTop(layout.getLineForOffset(Selection.getSelectionEnd(buffer)));
71 final Layout layout = widget.getLayout(); local
73 return Selection.extendLeft(buffer, layout);
75 return Selection.moveLeft(buffer, layout);
81 final Layout layout = widget.getLayout() local
91 final Layout layout = widget.getLayout(); local
101 final Layout layout = widget.getLayout(); local
111 final Layout layout = widget.getLayout(); local
135 final Layout layout = widget.getLayout(); local
179 final Layout layout = widget.getLayout(); local
189 final Layout layout = widget.getLayout(); local
    [all...]
  /external/chromium_org/chrome/browser/ui/views/
uninstall_view.cc 21 #include "ui/views/layout/grid_layout.h"
22 #include "ui/views/layout/layout_constants.h"
48 GridLayout* layout = GridLayout::CreatePanel(this);
49 SetLayoutManager(layout);
53 ColumnSet* column_set = layout->AddColumnSet(column_set_id);
56 layout->StartRow(0, column_set_id);
60 layout->AddView(confirm_label_);
62 layout->AddPaddingRow(0, views::kUnrelatedControlVerticalSpacing);
66 column_set = layout->AddColumnSet(column_set_id);
70 layout->StartRow(0, column_set_id)
    [all...]
sad_tab_view.cc 30 #include "ui/views/layout/grid_layout.h"
91 views::GridLayout* layout = new views::GridLayout(this); local
92 SetLayoutManager(layout);
95 views::ColumnSet* columns = layout->AddColumnSet(column_set_id);
104 layout->StartRowWithPadding(0, column_set_id, 1, kPadding);
105 layout->AddView(image);
112 layout->StartRowWithPadding(0, column_set_id, 0, kPadding);
113 layout->AddView(title);
119 layout->StartRowWithPadding(0, column_set_id, 0, kPadding);
120 layout->AddView(message_)
    [all...]
first_run_bubble.cc 17 #include "ui/views/layout/grid_layout.h"
18 #include "ui/views/layout/layout_constants.h"
61 views::GridLayout* layout = views::GridLayout::CreatePanel(this); local
62 SetLayoutManager(layout);
63 layout->SetInsets(kTopInset, kLeftInset, kBottomInset, kRightInset);
65 views::ColumnSet* columns = layout->AddColumnSet(0);
73 layout->StartRow(0, 0);
74 layout->AddView(title);
75 layout->AddView(change);
76 layout->StartRowWithPadding(0, 0, 0
    [all...]
edit_search_engine_dialog.cc 23 #include "ui/views/layout/grid_layout.h"
24 #include "ui/views/layout/layout_constants.h"
151 GridLayout* layout = GridLayout::CreatePanel(this); local
152 SetLayoutManager(layout);
154 // Define the structure of the layout.
157 views::ColumnSet* column_set = layout->AddColumnSet(0);
167 column_set = layout->AddColumnSet(1);
178 column_set = layout->AddColumnSet(2);
183 layout->StartRow(0, 1);
184 layout->AddView(CreateLabel(IDS_SEARCH_ENGINES_EDITOR_DESCRIPTION_LABEL))
    [all...]
  /external/qemu/android/skin/
file.c 414 /** SKIN LAYOUT
418 skin_layout_free( SkinLayout* layout )
420 if (layout) {
421 SKIN_LAYOUT_LOOP_LOCS(layout,loc)
424 layout->locations = NULL;
425 if (layout->onion_image) {
426 skin_image_unref( &layout->onion_image );
428 AFREE(layout);
433 skin_layout_get_display( SkinLayout* layout )
435 SKIN_LAYOUT_LOOP_LOCS(layout,loc
505 SkinLayout* layout; local
583 SkinLayout* layout; local
685 SkinLayout* layout = skin_layout_create_from_v2( node, file->parts, basepath ); local
    [all...]
  /external/chromium_org/chrome/browser/chromeos/options/
wimax_config_view.cc 34 #include "ui/views/layout/grid_layout.h"
35 #include "ui/views/layout/layout_constants.h"
212 views::GridLayout* layout = views::GridLayout::CreatePanel(this); local
213 SetLayoutManager(layout);
216 views::ColumnSet* column_set = layout->AddColumnSet(column_view_set_id);
232 layout->StartRow(0, column_view_set_id);
233 layout->AddView(new views::Label(l10n_util::GetStringUTF16(
237 layout->AddView(label);
238 layout->AddPaddingRow(0, views::kRelatedControlVerticalSpacing);
241 layout->StartRow(0, column_view_set_id)
    [all...]
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
ResizingTextView.java 5 import android.text.Layout;
49 final Layout layout = getLayout(); local
50 if (layout != null) {
51 final int lineCount = layout.getLineCount();
53 final int ellipsisCount = layout.getEllipsisCount(lineCount - 1);
62 for (int line = 0; line < layout.getLineCount() - 1; line++) {
63 iter.following(layout.getLineStart(line));
64 if (breakIndex > layout.getLineVisibleEnd(line)) {
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/
GridMatch.java 16 package com.android.ide.common.layout.grid;
18 import static com.android.ide.common.layout.grid.GridModel.UNDEFINED;
85 * @param layout the GridLayout containing the match
88 public String getDisplayName(INode layout) {
104 return String.format("Align left at x=%1$d", matchedLine - layout.getBounds().x);
109 return String.format("Align right at x=%1$d", matchedLine - layout.getBounds().x);
120 return String.format("Align top at y=%1d", matchedLine - layout.getBounds().y);
125 return String.format("Align bottom at y=%1d", matchedLine - layout.getBounds().y);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
CursorAnchorInfoUtils.java 23 import android.text.Layout;
82 * @return the {@link CursorAnchorInfo} object based on the current layout. {@code null} if it
86 Layout layout = textView.getLayout(); local
87 if (layout == null) {
103 if (layout.getLineCount() == 0) {
108 layout.getLineBounds(0, lineBoundsWithoutOffset);
139 final int minLine = layout.getLineForOffset(composingTextStart);
140 final int maxLine = layout.getLineForOffset(composingTextEnd - 1);
142 final int lineStart = layout.getLineStart(line)
    [all...]
  /external/chromium_org/third_party/libaddressinput/src/java/src/com/android/i18n/addressinput/
AddressWidgetUiComponentProvider.java 56 TextView textView = (TextView) mInflater.inflate(R.layout.address_textview, null, false);
68 return (EditText) mInflater.inflate(R.layout.address_edittext, null, false);
78 return (Spinner) mInflater.inflate(R.layout.address_spinner, null, false);
90 new ArrayAdapter<String>(mContext, android.R.layout.simple_spinner_item);
91 adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
  /external/chromium_org/ui/views/examples/
double_split_view_example.cc 9 #include "ui/views/layout/grid_layout.h"
70 GridLayout* layout = new GridLayout(container); local
71 container->SetLayoutManager(layout);
74 ColumnSet* column_set = layout->AddColumnSet(0);
77 layout->StartRow(1, 0);
78 layout->AddView(outer_single_split_view_);
label_example.cc 15 #include "ui/views/layout/box_layout.h"
16 #include "ui/views/layout/grid_layout.h"
124 custom_label_->parent()->parent()->Layout();
141 custom_label_->parent()->parent()->Layout();
149 GridLayout* layout = GridLayout::CreatePanel(control_container); local
150 control_container->SetLayoutManager(layout);
152 ColumnSet* column_set = layout->AddColumnSet(0);
158 layout->StartRow(0, 0);
159 layout->AddView(new Label(ASCIIToUTF16("Content: ")));
165 layout->AddView(textfield_)
    [all...]
single_split_view_example.cc 9 #include "ui/views/layout/grid_layout.h"
27 virtual void Layout() OVERRIDE;
51 void SplittedView::Layout() {
75 GridLayout* layout = new GridLayout(container); local
76 container->SetLayoutManager(layout);
78 ColumnSet* column_set = layout->AddColumnSet(0);
81 layout->StartRow(1, 0);
82 layout->AddView(single_split_view_);
  /frameworks/base/tests/ImfTest/src/com/android/imftest/samples/
ButtonActivity.java 68 LinearLayout layout = new LinearLayout(this); local
69 layout.setOrientation(LinearLayout.VERTICAL);
70 layout.addView(myButton);
71 setContentView(layout);
72 mRootView = layout;
OneEditTextActivityNotSelected.java 48 LinearLayout layout = new LinearLayout(this); local
49 layout.setOrientation(LinearLayout.VERTICAL);
58 layout.addView(button);
59 layout.addView(editText);
61 ((ScrollView) mRootView).addView(layout);
  /packages/apps/Gallery/src/com/android/camera/
ActionMenuButton.java 25 import android.text.Layout;
75 final Layout layout = getLayout(); local
80 rect.set(left + layout.getLineLeft(0) - PADDING_H,
81 top + layout.getLineTop(0) - PADDING_V,
82 Math.min(left + layout.getLineRight(0) + PADDING_H,
84 top + layout.getLineBottom(0) + PADDING_V);

Completed in 1359 milliseconds

1 2 3 4 5 6 7 891011>>