/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowLinearLayout.java | 3 import android.widget.LinearLayout; 6 @Implements(LinearLayout.class) 10 setLayoutParams(new LinearLayout.LayoutParams(0, 0));
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
MultiLayersActivity.java | 25 import android.widget.LinearLayout; 33 LinearLayout grid = new LinearLayout(this); 34 grid.setOrientation(LinearLayout.VERTICAL); 36 LinearLayout row1 = new LinearLayout(this); 37 row1.setOrientation(LinearLayout.HORIZONTAL); 38 grid.addView(row1, new LinearLayout.LayoutParams( 39 LinearLayout.LayoutParams.MATCH_PARENT, 0, 1.0f)); 41 LinearLayout row2 = new LinearLayout(this) [all...] |
TextGammaActivity.java | 29 import android.widget.LinearLayout; 37 final LinearLayout layout = new LinearLayout(this); 38 layout.setOrientation(LinearLayout.VERTICAL); 41 layout.addView(gamma, new LinearLayout.LayoutParams( 42 LinearLayout.LayoutParams.WRAP_CONTENT, LinearLayout.LayoutParams.WRAP_CONTENT 58 layout.addView(image, new LinearLayout.LayoutParams( 59 LinearLayout.LayoutParams.WRAP_CONTENT, 60 LinearLayout.LayoutParams.WRAP_CONTEN [all...] |
MarqueeActivity.java | 25 import android.widget.LinearLayout; 34 final LinearLayout linearLayout = new LinearLayout(this); 35 linearLayout.setOrientation(LinearLayout.VERTICAL); 42 linearLayout.addView(text1, new LinearLayout.LayoutParams( 43 100, LinearLayout.LayoutParams.WRAP_CONTENT)); 50 LinearLayout.LayoutParams params = new LinearLayout.LayoutParams [all...] |
Rotate3dTextActivity.java | 26 import android.widget.LinearLayout; 35 final LinearLayout layout = new LinearLayout(this); 36 layout.setOrientation(LinearLayout.VERTICAL); 52 private static LinearLayout.LayoutParams makeLayoutParams() { 53 LinearLayout.LayoutParams lp = new LinearLayout.LayoutParams( 54 LinearLayout.LayoutParams.MATCH_PARENT, 0);
|
ViewLayerInvalidationActivity.java | 24 import android.widget.LinearLayout; 33 ArrayList<LinearLayout> linearLayouts = new ArrayList<LinearLayout>(); 34 ArrayList<LinearLayout> topLayouts = new ArrayList<LinearLayout>(); 36 LinearLayout container = null; 52 container = (LinearLayout) findViewById(R.id.container); 53 final LinearLayout container1 = (LinearLayout) findViewById(R.id.container1); 54 final LinearLayout container2 = (LinearLayout) findViewById(R.id.container2) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
ScrollView2.java | 23 import android.widget.LinearLayout; 37 LinearLayout layout = (LinearLayout) findViewById(R.id.layout); 41 LinearLayout.LayoutParams p = new LinearLayout.LayoutParams( 42 LinearLayout.LayoutParams.MATCH_PARENT, 43 LinearLayout.LayoutParams.WRAP_CONTENT
|
InternalSelectionScroll.java | 22 import android.widget.LinearLayout; 50 LinearLayout ll = new LinearLayout(this); 56 LinearLayout.LayoutParams llLp = new LinearLayout.LayoutParams(
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
LinearLayoutTest.java | 4 import android.widget.LinearLayout; 17 ViewGroup.LayoutParams layoutParams = new LinearLayout(null).getLayoutParams(); 19 assertThat(layoutParams, instanceOf(LinearLayout.LayoutParams.class)); 24 LinearLayout linearLayout = new LinearLayout(null); 25 LinearLayout.LayoutParams params = new LinearLayout.LayoutParams(1, 2); 27 linearLayout.setLayoutParams(params); 29 assertTrue(linearLayout.getLayoutParams() == params) [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
GoneParentFocusedChild.java | 25 import android.widget.LinearLayout; 33 private LinearLayout mGoneGroup; 37 private LinearLayout mLayout; 43 public LinearLayout getLayout() { 47 public LinearLayout getGoneGroup() { 58 mLayout = new LinearLayout(this); 59 mLayout.setOrientation(LinearLayout.HORIZONTAL); 65 mGoneGroup = new LinearLayout(this); 66 mGoneGroup.setOrientation(LinearLayout.HORIZONTAL); 72 mButton.setLayoutParams(new LinearLayout.LayoutParams [all...] |
LinearLayoutGrid.java | 23 import android.widget.LinearLayout; 51 private LinearLayout getColumn(int column) { 54 return (LinearLayout) findViewById(R.id.column1); 56 return (LinearLayout) findViewById(R.id.column2); 58 return (LinearLayout) findViewById(R.id.column3);
|
HorizontalFocusSearch.java | 20 import android.widget.LinearLayout; 29 private LinearLayout mLayout; 37 public LinearLayout getLayout() { 61 mLayout = new LinearLayout(this); 62 mLayout.setOrientation(LinearLayout.HORIZONTAL); 96 button.setLayoutParams(new LinearLayout.LayoutParams( 102 private Button addShort(LinearLayout root, String label, boolean atBottom) { 105 button.setLayoutParams(new LinearLayout.LayoutParams( 112 filler.setLayoutParams(new LinearLayout.LayoutParams( 117 LinearLayout ll = new LinearLayout(this) [all...] |
VerticalFocusSearch.java | 21 import android.widget.LinearLayout; 34 private LinearLayout mLayout; 43 public LinearLayout getLayout() { 67 mLayout = new LinearLayout(this); 68 mLayout.setOrientation(LinearLayout.VERTICAL); 104 button.setLayoutParams(new LinearLayout.LayoutParams( 118 private Button addSkinny(LinearLayout root, String label, boolean atRight) { 121 button.setLayoutParams(new LinearLayout.LayoutParams( 128 filler.setLayoutParams(new LinearLayout.LayoutParams( 133 LinearLayout ll = new LinearLayout(this) [all...] |
AdjacentVerticalRectLists.java | 23 import android.widget.LinearLayout; 40 private LinearLayout mLayout; 46 public LinearLayout getLayout() { 66 mLayout = new LinearLayout(this); 67 mLayout.setOrientation(LinearLayout.HORIZONTAL); 72 LinearLayout.LayoutParams params = new LinearLayout.LayoutParams(0,
|
/external/chromium_org/android_webview/test/shell/src/org/chromium/android_webview/test/ |
AwTestRunnerActivity.java | 11 import android.widget.LinearLayout; 18 private LinearLayout mLinearLayout; 24 mLinearLayout = new LinearLayout(this); 25 mLinearLayout.setOrientation(LinearLayout.VERTICAL); 26 mLinearLayout.setShowDividers(LinearLayout.SHOW_DIVIDER_MIDDLE); 41 view.setLayoutParams(new LinearLayout.LayoutParams(
|
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/ |
LinearLayoutTest.java | 22 import android.widget.LinearLayout; 24 import static android.widget.LinearLayout.*; 25 import static android.widget.LinearLayout.LayoutParams.*; 29 LinearLayout container = new LinearLayout(context); 30 container.setOrientation(LinearLayout.VERTICAL);
|
/frameworks/base/core/tests/coretests/src/android/view/ |
Merge.java | 23 import android.widget.LinearLayout; 31 private LinearLayout mLayout; 37 mLayout = new LinearLayout(this); 38 mLayout.setOrientation(LinearLayout.VERTICAL);
|
CreateViewTest.java | 26 import android.widget.LinearLayout; 46 LinearLayout vert = new LinearLayout(mContext); 48 new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT, 0)); 53 LinearLayout vert = new LinearLayout(mContext); 56 vert.addView(one, new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT, 0)); 59 vert.addView(two, new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT, 0)); 62 vert.addView(three, new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT, 0)); 65 vert.addView(four, new LinearLayout.LayoutParams(MATCH_PARENT, MATCH_PARENT, 0)) [all...] |
/frameworks/base/tools/layoutlib/create/tests/mock_data/mock_android/widget/ |
LinearLayout.java | 21 public class LinearLayout extends ViewGroup {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/mock_android/widget/ |
LinearLayout.java | 21 public class LinearLayout extends ViewGroup {
|
/cts/tests/tests/widget/src/android/widget/cts/ |
LinearLayout_LayoutParamsTest.java | 29 import android.widget.LinearLayout; 37 XmlUtils.beginDocument(p, "LinearLayout"); 38 new LinearLayout.LayoutParams(getContext(), p); 40 new LinearLayout.LayoutParams(320, 240); 42 new LinearLayout.LayoutParams(320, 240, 0); 45 new LinearLayout.LayoutParams(layoutParams); 48 new LinearLayout.LayoutParams(marginLayoutParams); 52 LinearLayout.LayoutParams layoutParams = new LinearLayout.LayoutParams(320, 240);
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/util/ |
CustomView2.java | 5 import android.widget.LinearLayout; 7 public class CustomView2 extends LinearLayout {
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
ListItemISVAndButton.java | 23 import android.widget.LinearLayout; 45 final LinearLayout ll = new LinearLayout(context); 46 ll.setOrientation(LinearLayout.VERTICAL); 49 isv.setLayoutParams(new LinearLayout.LayoutParams( 54 final LinearLayout.LayoutParams buttonLp = 55 new LinearLayout.LayoutParams( 65 filler.setLayoutParams(new LinearLayout.LayoutParams(
|
/frameworks/base/core/tests/coretests/src/android/widget/scroll/ |
ScrollViewButtonsAndLabels.java | 23 import android.widget.LinearLayout; 35 private LinearLayout mLinearLayout; 44 public LinearLayout getLinearLayout() { 70 mLinearLayout = (LinearLayout) findViewById(R.id.layout); 72 LinearLayout.LayoutParams p = new LinearLayout.LayoutParams( 73 LinearLayout.LayoutParams.MATCH_PARENT, 74 LinearLayout.LayoutParams.WRAP_CONTENT
|
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/ |
AppWidgetContainerView.java | 21 import android.widget.LinearLayout; 23 public class AppWidgetContainerView extends LinearLayout
|