Searched refs:layout (Results 201 - 225 of 441) sorted by relevance

1234567891011>>

/frameworks/base/core/tests/coretests/src/android/widget/focus/
H A DFocusAfterRemoval.java36 setContentView(R.layout.focus_after_removal);
40 // top left makes parent layout GONE
49 // bottom left makes parent layout INVISIBLE
50 // top left makes parent layout GONE
H A DListOfButtons.java30 * A layout with a ListView containing buttons.
39 setContentView(R.layout.list_with_button_above);
/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListManagedCursor.java44 android.R.layout.simple_list_item_1,
/frameworks/base/core/tests/coretests/src/android/widget/scroll/
H A DRequestRectangleVisibleWithInternalScroll.java54 setContentView(R.layout.scroll_to_rect_with_internal_scroll);
/frameworks/base/core/tests/coretests/src/android/widget/touchmode/
H A DTouchModeFocusChangeTest.java19 import android.widget.layout.linear.LLOfButtons1;
68 assertFalse("linear layout should not have focus",
H A DTouchModeFocusableTest.java19 import android.widget.layout.linear.LLEditTextThenButton;
88 assertFalse("layout should not have focus",
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
H A DBiDiTestCanvas.java40 currentView = inflater.inflate(R.layout.canvas, container, false);
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/
H A DGridLayoutTest.java17 package com.android.test.layout;
/frameworks/base/tests/ImfTest/src/com/android/imftest/samples/
H A DBigEditTextActivityNonScrollablePanScan.java46 R.layout.full_screen_edit_text, ((LinearLayout) mRootView), false);
H A DBigEditTextActivityNonScrollableResize.java46 R.layout.full_screen_edit_text, ((LinearLayout) mRootView), false);
H A DBigEditTextActivityScrollablePanScan.java54 R.layout.full_screen_edit_text, ((ScrollView) mRootView), false);
H A DBigEditTextActivityScrollableResize.java54 R.layout.full_screen_edit_text, ((ScrollView) mRootView), false);
H A DBottomEditTextActivityPanScan.java47 View view = getLayoutInflater().inflate(R.layout.one_edit_text_activity, ((LinearLayout) mRootView), false);
H A DBottomEditTextActivityResize.java47 View view = getLayoutInflater().inflate(R.layout.one_edit_text_activity, ((LinearLayout) mRootView), false);
/frameworks/base/tests/RenderScriptTests/ComputePerf/src/com/example/android/rs/computeperf/
H A DComputePerf.java36 setContentView(R.layout.main);
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
H A DTestActivity.java62 setListAdapter(new ArrayAdapter<String>(this, android.R.layout.simple_list_item_1, labels));
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/
H A DTestAppWidgetProvider.java58 RemoteViews views = new RemoteViews(context.getPackageName(), R.layout.test_appwidget);
/frameworks/base/tests/appwidgets/AppWidgetProviderTest/src/com/android/tests/appwidgetprovider/
H A DTestAppWidgetProvider.java50 RemoteViews views = new RemoteViews(context.getPackageName(), R.layout.test_appwidget);
/frameworks/base/core/java/com/android/internal/view/menu/
H A DIconMenuView.java112 * The layout to use for menu items. Each index is the row number (0 is the
116 * the current layout, instead use {@link #mLayoutNumRows}.
121 * The number of rows in the current layout.
177 * Figures out the layout for the menu items.
212 * Figures out the layout for the menu items by equally distributing, and
231 int[] layout = mLayout;
233 layout[i] = numBaseItemsPerRow;
237 layout[i]++;
246 * layout.
254 int[] layout
[all...]
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
H A DFrameworkPerfActivity.java160 // Set the layout for this activity. You can find it
161 // in res/layout/hello_activity.xml
162 setContentView(R.layout.main);
166 android.R.layout.simple_spinner_item, mAvailOpLabels);
167 adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
172 android.R.layout.simple_spinner_item, mAvailOpLabels);
173 adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
178 android.R.layout.simple_spinner_item, mLimitLabels);
179 adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
/frameworks/base/tests/TileBenchmark/src/com/test/tilebenchmark/
H A DProfileActivity.java242 setContentView(R.layout.main);
272 android.R.layout.simple_spinner_item);
274 android.R.layout.simple_spinner_dropdown_item);
287 android.R.layout.simple_spinner_item, content);
289 android.R.layout.simple_spinner_dropdown_item);
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/
H A DNativeMedia.java69 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);
/frameworks/base/core/java/com/android/internal/widget/
H A DSlidingTab.java335 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);
379 target.layout(targetLef
[all...]
/frameworks/base/core/java/android/widget/
H A DEditor.java271 com.android.internal.R.layout.textview_hint, null);
752 Layout layout = mTextView.getLayout();
753 final int line = layout.getLineForOffset(offset);
754 final int lineBottom = layout.getLineBottom(line);
755 final int primaryHorizontal = (int) layout.getPrimaryHorizontal(offset);
764 Layout layout = mTextView.getLayout();
765 if (layout == null) return false;
770 if (x < layout.getLineLeft(line)) return false;
771 if (x > layout.getLineRight(line)) return false;
1175 void onDraw(Canvas canvas, Layout layout, Pat argument
1245 drawHardwareAccelerated(Canvas canvas, Layout layout, Path highlight, Paint highlightPaint, int cursorOffsetVertical) argument
1381 invalidateTextDisplayList(Layout layout, int start, int end) argument
1446 getPrimaryHorizontal(Layout layout, Layout hintLayout, int offset) argument
[all...]
/frameworks/base/core/java/android/text/method/
H A DCharacterPickerDialog.java75 setContentView(R.layout.character_picker);
124 mInflater.inflate(R.layout.character_picker_button, null);

Completed in 256 milliseconds

1234567891011>>