/frameworks/base/tools/layoutlib/create/tests/mock_data/mock_android/view/ |
ViewGroup.java | 21 public class MarginLayoutParams extends LayoutParams { 25 public class LayoutParams {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/mock_android/view/ |
ViewGroup.java | 21 public class MarginLayoutParams extends LayoutParams { 25 public class LayoutParams {
|
/frameworks/base/core/java/android/view/ |
WindowManager.aidl | 20 parcelable WindowManager.LayoutParams;
|
ViewManager.java | 25 * Assign the passed LayoutParams to the passed View and add the view to the window. 32 * @param params The LayoutParams to assign to view. 34 public void addView(View view, ViewGroup.LayoutParams params); 35 public void updateViewLayout(View view, ViewGroup.LayoutParams params);
|
/cts/tests/tests/widget/src/android/widget/cts/ |
FrameLayout_LayoutParamsTest.java | 31 import android.widget.FrameLayout.LayoutParams; 46 new LayoutParams(mContext, attrs); 47 new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT); 48 new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT, 0); 49 new LayoutParams(new ViewGroup.LayoutParams(mContext, attrs)) [all...] |
AbsListView_LayoutParamsTest.java | 28 import android.widget.AbsListView.LayoutParams; 46 AbsListView.LayoutParams layoutParams; 48 layoutParams = new AbsListView.LayoutParams(getContext(), mAttributeSet); 49 assertEquals(TEST_WIDTH, layoutParams.width); 50 assertEquals(TEST_HEIGHT, layoutParams.height); 52 layoutParams = new AbsListView.LayoutParams(LayoutParams.MATCH_PARENT [all...] |
Gallery_LayoutParamsTest.java | 26 import android.widget.Gallery.LayoutParams; 31 * Test {@link LayoutParams}. 37 new LayoutParams(getContext(), p); 39 LayoutParams params = new LayoutParams(320, 480); 40 new LayoutParams(params);
|
LinearLayout_LayoutParamsTest.java | 27 import android.view.ViewGroup.LayoutParams; 38 new LinearLayout.LayoutParams(getContext(), p); 40 new LinearLayout.LayoutParams(320, 240); 42 new LinearLayout.LayoutParams(320, 240, 0); 44 LayoutParams layoutParams = new LayoutParams(320, 480); 45 new LinearLayout.LayoutParams(layoutParams); 48 new LinearLayout.LayoutParams(marginLayoutParams) [all...] |
AbsoluteLayout_LayoutParamsTest.java | 29 import android.widget.AbsoluteLayout.LayoutParams; 43 LayoutParams layoutParams; 45 layoutParams = new AbsoluteLayout.LayoutParams(1, 2, 3, 4); 46 assertEquals(1, layoutParams.width); 47 assertEquals(2, layoutParams.height); 48 assertEquals(3, layoutParams.x); 49 assertEquals(4, layoutParams.y); 51 LayoutParams params = new AbsoluteLayout.LayoutParams(layoutParams) [all...] |
/frameworks/base/tools/layoutlib/create/tests/mock_data/mock_android/widget/ |
LinearLayout.java | 23 public class LayoutParams extends mock_android.view.ViewGroup.LayoutParams {
|
TableLayout.java | 23 public class LayoutParams extends MarginLayoutParams {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/mock_android/widget/ |
LinearLayout.java | 23 public class LayoutParams extends mock_android.view.ViewGroup.LayoutParams {
|
TableLayout.java | 23 public class LayoutParams extends MarginLayoutParams {
|
/cts/tests/tests/view/src/android/view/cts/ |
WindowManager_LayoutParamsTest.java | 46 private WindowManager.LayoutParams mLayoutParams; 49 new WindowManager.LayoutParams(); 51 new WindowManager.LayoutParams( 52 WindowManager.LayoutParams.TYPE_APPLICATION); 54 new WindowManager.LayoutParams( 55 WindowManager.LayoutParams.TYPE_APPLICATION, 56 WindowManager.LayoutParams.FLAG_DITHER); 58 new WindowManager.LayoutParams( 59 WindowManager.LayoutParams.TYPE_APPLICATION, 60 WindowManager.LayoutParams.FLAG_DITHER, PixelFormat.JPEG) [all...] |
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
DelayedTransition.java | 25 import static android.widget.LinearLayout.LayoutParams; 49 button1.setLayoutParams(new LayoutParams(LayoutParams.MATCH_PARENT, 50 LayoutParams.WRAP_CONTENT)); 52 button2.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT, 53 LayoutParams.MATCH_PARENT)); 56 button1.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT, 57 LayoutParams.WRAP_CONTENT)) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
InternalSelectionScroll.java | 46 ViewGroup.LayoutParams svLp = new ScrollView.LayoutParams( 47 ViewGroup.LayoutParams.MATCH_PARENT, 48 ViewGroup.LayoutParams.WRAP_CONTENT); 56 LinearLayout.LayoutParams llLp = new LinearLayout.LayoutParams( 57 ViewGroup.LayoutParams.MATCH_PARENT,
|
/external/chromium_org/android_webview/test/shell/src/org/chromium/android_webview/test/ |
AwTestRunnerActivity.java | 10 import android.view.ViewGroup.LayoutParams; 27 mLinearLayout.setLayoutParams(new LayoutParams(LayoutParams.MATCH_PARENT, 28 LayoutParams.MATCH_PARENT)); 41 view.setLayoutParams(new LinearLayout.LayoutParams( 42 LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT, 1f));
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
GlyphCacheActivity.java | 27 import static android.widget.LinearLayout.LayoutParams; 40 scrollView.setLayoutParams(new LayoutParams(LayoutParams.MATCH_PARENT, 41 ViewGroup.LayoutParams.MATCH_PARENT)); 44 layout.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT, 45 ViewGroup.LayoutParams.WRAP_CONTENT)); 59 textview.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT, 60 ViewGroup.LayoutParams.WRAP_CONTENT)) [all...] |
MultiLayersActivity.java | 38 grid.addView(row1, new LinearLayout.LayoutParams( 39 LinearLayout.LayoutParams.MATCH_PARENT, 0, 1.0f)); 43 grid.addView(row2, new LinearLayout.LayoutParams( 44 LinearLayout.LayoutParams.MATCH_PARENT, 0, 1.0f)); 46 row1.addView(new LayerView(this, 0xffff0000), new LinearLayout.LayoutParams( 47 0, LinearLayout.LayoutParams.MATCH_PARENT, 1.0f)); 48 row1.addView(new LayerView(this, 0x0f00ff00), new LinearLayout.LayoutParams( 49 0, LinearLayout.LayoutParams.MATCH_PARENT, 1.0f)); 51 row2.addView(new LayerView(this, 0x0f0000ff), new LinearLayout.LayoutParams( 52 0, LinearLayout.LayoutParams.MATCH_PARENT, 1.0f)) [all...] |
/development/samples/CrossCompatibility/src/com/example/android/touchexample/ |
TouchExampleActivity.java | 29 view.setLayoutParams(new ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, 30 ViewGroup.LayoutParams.MATCH_PARENT));
|
/cts/tests/tests/permission/src/android/permission/cts/ |
PermissionStubActivity.java | 23 import android.view.ViewGroup.LayoutParams; 37 mListView.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT, 38 LayoutParams.WRAP_CONTENT));
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
GoneParentFocusedChild.java | 60 mLayout.setLayoutParams(new ViewGroup.LayoutParams( 61 ViewGroup.LayoutParams.MATCH_PARENT, 62 ViewGroup.LayoutParams.MATCH_PARENT)); 67 mGoneGroup.setLayoutParams(new ViewGroup.LayoutParams( 68 ViewGroup.LayoutParams.MATCH_PARENT, 69 ViewGroup.LayoutParams.MATCH_PARENT)); 72 mButton.setLayoutParams(new LinearLayout.LayoutParams( 73 ViewGroup.LayoutParams.WRAP_CONTENT, 74 ViewGroup.LayoutParams.WRAP_CONTENT));
|
/frameworks/base/core/java/android/widget/ |
AbsoluteLayout.java | 72 AbsoluteLayout.LayoutParams lp 73 = (AbsoluteLayout.LayoutParams) child.getLayoutParams(); 97 * {@link android.view.ViewGroup.LayoutParams#WRAP_CONTENT}, 98 * a height of {@link android.view.ViewGroup.LayoutParams#WRAP_CONTENT} 102 protected ViewGroup.LayoutParams generateDefaultLayoutParams() { 103 return new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT, 0, 0); 115 AbsoluteLayout.LayoutParams lp = 116 (AbsoluteLayout.LayoutParams) child.getLayoutParams() [all...] |
/cts/tests/acceleration/src/android/acceleration/cts/ |
WindowFlagHardwareAcceleratedActivity.java | 27 getWindow().setFlags(WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED, 28 WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowWindow.java | 12 public WindowManager.LayoutParams getAttributes() { 13 return new WindowManager.LayoutParams();
|