/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 | 32 import android.widget.FrameLayout.LayoutParams; 47 new LayoutParams(mContext, attrs); 48 new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT); 49 new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT, 0); 50 new LayoutParams(new ViewGroup.LayoutParams(mContext, attrs)) [all...] |
AbsListView_LayoutParamsTest.java | 29 import android.widget.AbsListView.LayoutParams; 47 AbsListView.LayoutParams layoutParams; 49 layoutParams = new AbsListView.LayoutParams(getContext(), mAttributeSet); 50 assertEquals(TEST_WIDTH, layoutParams.width); 51 assertEquals(TEST_HEIGHT, layoutParams.height); 53 layoutParams = new AbsListView.LayoutParams(LayoutParams.MATCH_PARENT [all...] |
Gallery_LayoutParamsTest.java | 27 import android.widget.Gallery.LayoutParams; 32 * Test {@link LayoutParams}. 38 new LayoutParams(getContext(), p); 40 LayoutParams params = new LayoutParams(320, 480); 41 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...] |
/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...] |
/frameworks/base/tools/layoutlib/create/tests/mock_data/mock_android/widget/ |
TableLayout.java | 23 public class LayoutParams extends MarginLayoutParams {
|
/cts/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
AccessibilityTestActivity.java | 27 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON 28 | WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON 29 | WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD);
|
/cts/tests/tests/print/src/android/print/cts/ |
PrintDocumentActivity.java | 29 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON 30 | WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON 31 | WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD);
|
/developers/build/prebuilts/androidtv/visual-game-controller/src/com/example/android/visualgamecontroller/util/ |
SystemUiHiderBase.java | 46 WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN 47 | WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS, 48 WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN 49 | WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS); 62 WindowManager.LayoutParams.FLAG_FULLSCREEN, 63 WindowManager.LayoutParams.FLAG_FULLSCREEN); 74 WindowManager.LayoutParams.FLAG_FULLSCREEN);
|
/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 | 75 AbsoluteLayout.LayoutParams lp 76 = (AbsoluteLayout.LayoutParams) child.getLayoutParams(); 100 * {@link android.view.ViewGroup.LayoutParams#WRAP_CONTENT}, 101 * a height of {@link android.view.ViewGroup.LayoutParams#WRAP_CONTENT} 105 protected ViewGroup.LayoutParams generateDefaultLayoutParams() { 106 return new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT, 0, 0); 118 AbsoluteLayout.LayoutParams lp = 119 (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);
|