/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
DensityActivity.java | 30 import android.widget.LinearLayout; 52 LinearLayout root = new LinearLayout(this); 53 root.setOrientation(LinearLayout.VERTICAL); 55 LinearLayout layout = new LinearLayout(this); 62 layout = new LinearLayout(this); 69 layout = new LinearLayout(this); 76 layout = (LinearLayout)li.inflate(R.layout.density_image_views, null); 80 layout = (LinearLayout)li.inflate(R.layout.density_styled_image_views, null) [all...] |
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/ |
DpiTestActivity.java | 28 import android.widget.LinearLayout; 82 LinearLayout root = new LinearLayout(this); 83 root.setOrientation(LinearLayout.VERTICAL); 85 LinearLayout layout = new LinearLayout(this); 92 layout = new LinearLayout(this); 99 layout = new LinearLayout(this); 106 layout = (LinearLayout)li.inflate(R.layout.image_views, null); 110 layout = (LinearLayout)li.inflate(R.layout.styled_image_views, null) [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/ |
LLEditTextThenButton.java | 25 import android.widget.LinearLayout; 31 private LinearLayout mLayout; 39 mLayout = (LinearLayout) findViewById(R.id.layout); 44 public LinearLayout getLayout() {
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
ListSetSelection.java | 23 import android.widget.LinearLayout; 53 getListViewContainer().addView(mButton, new LinearLayout.LayoutParams( 54 LinearLayout.LayoutParams.MATCH_PARENT, 55 LinearLayout.LayoutParams.WRAP_CONTENT
|
/frameworks/base/tests/ImfTest/src/com/android/imftest/samples/ |
ManyEditTextActivityScrollResize.java | 23 import android.widget.LinearLayout; 42 LinearLayout layout = new LinearLayout(this); 43 layout.setOrientation(LinearLayout.VERTICAL);
|
BigEditTextActivityNonScrollablePanScan.java | 26 import android.widget.LinearLayout; 39 mRootView = new LinearLayout(this); 40 ((LinearLayout) mRootView).setOrientation(LinearLayout.VERTICAL); 46 R.layout.full_screen_edit_text, ((LinearLayout) mRootView), false); 48 ((LinearLayout) mRootView).addView(view);
|
BigEditTextActivityNonScrollableResize.java | 26 import android.widget.LinearLayout; 39 mRootView = new LinearLayout(this); 40 ((LinearLayout) mRootView).setOrientation(LinearLayout.VERTICAL); 46 R.layout.full_screen_edit_text, ((LinearLayout) mRootView), false); 48 ((LinearLayout) mRootView).addView(view);
|
BottomEditTextActivityPanScan.java | 24 import android.widget.LinearLayout; 44 mRootView = new LinearLayout(this); 45 ((LinearLayout) mRootView).setOrientation(LinearLayout.VERTICAL); 47 View view = getLayoutInflater().inflate(R.layout.one_edit_text_activity, ((LinearLayout) mRootView), false); 49 ((LinearLayout) mRootView).addView(view);
|
BottomEditTextActivityResize.java | 24 import android.widget.LinearLayout; 44 mRootView = new LinearLayout(this); 45 ((LinearLayout) mRootView).setOrientation(LinearLayout.VERTICAL); 47 View view = getLayoutInflater().inflate(R.layout.one_edit_text_activity, ((LinearLayout) mRootView), false); 49 ((LinearLayout) mRootView).addView(view);
|
DialogActivity.java | 23 import android.widget.LinearLayout; 34 private LinearLayout mLayout; 46 mLayout = new LinearLayout(this); 47 mLayout.setOrientation(LinearLayout.VERTICAL); 96 LinearLayout layout; 97 layout = new LinearLayout(this); 98 layout.setOrientation(LinearLayout.VERTICAL);
|
ManyEditTextActivityNoScrollPanScan.java | 25 import android.widget.LinearLayout; 48 mRootView = new LinearLayout(this); 49 ((LinearLayout) mRootView).setOrientation(LinearLayout.VERTICAL); 56 ((LinearLayout) mRootView).addView(editText);
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/util/ |
CustomView.java | 5 import android.widget.LinearLayout; 8 public class CustomView extends LinearLayout {
|
/frameworks/base/core/tests/coretests/src/android/widget/scroll/ |
ButtonsWithTallTextViewInBetween.java | 22 import android.widget.LinearLayout; 40 LinearLayout ll = getContentChildAt(2);
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
DontPressWithParentLayout.java | 22 import android.widget.LinearLayout; 29 public class DontPressWithParentLayout extends LinearLayout {
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
CallLogListItemView.java | 21 import android.widget.LinearLayout; 26 public class CallLogListItemView extends LinearLayout {
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
InternalSelectionFocus.java | 22 import android.widget.LinearLayout; 46 final LinearLayout layout = new LinearLayout(this); 47 layout.setOrientation(LinearLayout.HORIZONTAL); 52 LinearLayout.LayoutParams params = new LinearLayout.LayoutParams(0,
|
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/ |
VideoDumpActivity.java | 31 import android.widget.LinearLayout; 71 LinearLayout mainLayout = new LinearLayout(this); 72 mainLayout.addView(mVideoView, new LinearLayout.LayoutParams( 73 LinearLayout.LayoutParams.MATCH_PARENT, 74 LinearLayout.LayoutParams.MATCH_PARENT));
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
SmallCircleActivity.java | 26 import android.widget.LinearLayout; 34 final LinearLayout layout = new LinearLayout(this); 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));
|
DisplayListLayersActivity.java | 29 import android.widget.LinearLayout; 43 LinearLayout root = createContainer(); 53 private Button createButton(final LinearLayout root) { 71 private void addChild(LinearLayout root, View child, int width, int height) { 72 LinearLayout.LayoutParams params = new LinearLayout.LayoutParams(width, height); 82 private LinearLayout createContainer() { 83 LinearLayout layout = new LinearLayout(this); 84 layout.setOrientation(LinearLayout.VERTICAL) [all...] |
GlyphCacheActivity.java | 23 import android.widget.LinearLayout; 27 import static android.widget.LinearLayout.LayoutParams; 42 LinearLayout layout = new LinearLayout(this); 43 layout.setOrientation(LinearLayout.VERTICAL);
|
MaxBitmapSizeActivity.java | 25 import android.widget.LinearLayout; 33 final LinearLayout layout = new LinearLayout(this); 36 layout.addView(view, new LinearLayout.LayoutParams(200, 200)); 40 layout.addView(view, new LinearLayout.LayoutParams(200, 200));
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
ViewInnerTextTest.java | 6 import android.widget.LinearLayout; 27 LinearLayout top = new LinearLayout(activity); 32 LinearLayout innerLayout = new LinearLayout(activity); 48 LinearLayout top = new LinearLayout(activity); 58 LinearLayout top = new LinearLayout(activity);
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/ |
ListItemFocusablesCloseTest.java | 22 import android.widget.LinearLayout; 49 final LinearLayout first = (LinearLayout) mListView.getSelectedView(); 67 final LinearLayout first = (LinearLayout) mListView.getSelectedView(); 87 final LinearLayout first = (LinearLayout) mListView.getSelectedView(); 94 final LinearLayout selectedItem = (LinearLayout) mListView.getSelectedView();
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
DialogActivity.java | 30 import android.widget.LinearLayout; 69 LinearLayout layout = (LinearLayout)findViewById(R.id.inner_content); 79 LinearLayout layout = (LinearLayout)findViewById(R.id.inner_content);
|
/development/samples/devbytes/graphics/BitmapScaling/src/com/example/android/bitmapscaling/ |
BitmapScaling.java | 24 import android.widget.LinearLayout; 25 import android.widget.LinearLayout.LayoutParams; 43 LinearLayout container = (LinearLayout) findViewById(R.id.scaledImageContainer); 55 private void addScaledImageView(Bitmap original, int sampleSize, LinearLayout container) {
|