/frameworks/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 {
|
/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 | 57 private WindowManager.LayoutParams mLayoutParams; 61 new WindowManager.LayoutParams(); 63 new WindowManager.LayoutParams( 64 WindowManager.LayoutParams.TYPE_APPLICATION); 66 new WindowManager.LayoutParams( 67 WindowManager.LayoutParams.TYPE_APPLICATION, 68 WindowManager.LayoutParams.FLAG_DITHER); 70 new WindowManager.LayoutParams( 71 WindowManager.LayoutParams.TYPE_APPLICATION, 72 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...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
FrameLayout_LayoutParamsTest.java | 31 import android.widget.FrameLayout.LayoutParams; 63 new LayoutParams(mContext, attrs); 64 new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT); 65 new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT, 0); 66 new LayoutParams(new ViewGroup.LayoutParams(mContext, attrs)) [all...] |
AbsListView_LayoutParamsTest.java | 28 import android.widget.AbsListView.LayoutParams; 56 AbsListView.LayoutParams layoutParams; 58 layoutParams = new AbsListView.LayoutParams(mContext, mAttributeSet); 59 assertEquals(TEST_WIDTH, layoutParams.width); 60 assertEquals(TEST_HEIGHT, layoutParams.height); 62 layoutParams = new AbsListView.LayoutParams(LayoutParams.MATCH_PARENT [all...] |
/frameworks/base/core/java/android/view/ |
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);
|
WindowManager.aidl | 20 parcelable WindowManager.LayoutParams;
|
/cts/hostsidetests/services/activityandwindowmanager/activitymanager/app/src/android/server/cts/ |
TurnScreenOnActivity.java | 26 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON 27 | WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED 28 | WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD 29 | WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON);
|
/frameworks/layoutlib/create/tests/mock_data/mock_android/widget/ |
TableLayout.java | 23 public class LayoutParams extends MarginLayoutParams {
|
/cts/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/fragment/src/android/fragment/cts/ |
FragmentTestActivity.java | 29 getWindow().addFlags(WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD | 30 WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON | 31 WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
|
/frameworks/base/core/tests/coretests/src/android/print/ |
PrintTestActivity.java | 28 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON 29 | WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON 30 | WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD);
|
/cts/hostsidetests/services/activityandwindowmanager/windowmanager/alertwindowappsdk25/src/android/server/alertwindowappsdk25/ |
AlertWindowTestActivitySdk25.java | 21 import static android.view.WindowManager.LayoutParams.TYPE_PHONE; 22 import static android.view.WindowManager.LayoutParams.TYPE_PRIORITY_PHONE; 23 import static android.view.WindowManager.LayoutParams.TYPE_SYSTEM_ALERT; 24 import static android.view.WindowManager.LayoutParams.TYPE_SYSTEM_ERROR; 25 import static android.view.WindowManager.LayoutParams.TYPE_SYSTEM_OVERLAY;
|
/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,
|
/frameworks/support/percent/src/android/support/percent/ |
PercentFrameLayout.java | 147 protected LayoutParams generateDefaultLayoutParams() { 148 return new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT); 152 public LayoutParams generateLayoutParams(AttributeSet attrs) { 153 return new LayoutParams(getContext(), attrs); 175 public static class LayoutParams extends FrameLayout.LayoutParams 179 public LayoutParams(Context c, AttributeSet attrs) { 184 public LayoutParams(int width, int height) [all...] |
PercentRelativeLayout.java | 146 protected LayoutParams generateDefaultLayoutParams() { 147 return new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT); 151 public LayoutParams generateLayoutParams(AttributeSet attrs) { 152 return new LayoutParams(getContext(), attrs); 174 public static class LayoutParams extends RelativeLayout.LayoutParams 178 public LayoutParams(Context c, AttributeSet attrs) { 183 public LayoutParams(int width, int height) [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
InsettableFrameLayout.java | 28 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 56 public LayoutParams generateLayoutParams(AttributeSet attrs) { 57 return new InsettableFrameLayout.LayoutParams(getContext(), attrs); 61 protected LayoutParams generateDefaultLayoutParams() { 62 return new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT); 65 // Override to allow type-checking of LayoutParams. 67 protected boolean checkLayoutParams(ViewGroup.LayoutParams p) [all...] |
/cts/hostsidetests/services/activityandwindowmanager/windowmanager/frametestapp/src/android/server/frametestapp/ |
DialogTestActivity.java | 96 void doSetup(WindowManager.LayoutParams p); 107 final WindowManager.LayoutParams params = w.getAttributes(); 115 doLayoutParamTest((WindowManager.LayoutParams params) -> { 116 params.width = WindowManager.LayoutParams.MATCH_PARENT; 117 params.height = WindowManager.LayoutParams.MATCH_PARENT; 122 doLayoutParamTest((WindowManager.LayoutParams params) -> { 123 params.width = WindowManager.LayoutParams.MATCH_PARENT; 124 params.height = WindowManager.LayoutParams.MATCH_PARENT; 125 params.flags |= WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN; 126 params.flags |= WindowManager.LayoutParams.FLAG_LAYOUT_IN_OVERSCAN [all...] |
/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...] |
/cts/hostsidetests/services/activityandwindowmanager/windowmanager/alertwindowapp/src/android/server/alertwindowapp/ |
AlertWindowTestActivity.java | 22 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION_OVERLAY; 23 import static android.view.WindowManager.LayoutParams.TYPE_PHONE; 24 import static android.view.WindowManager.LayoutParams.TYPE_PRIORITY_PHONE; 25 import static android.view.WindowManager.LayoutParams.TYPE_SYSTEM_ALERT; 26 import static android.view.WindowManager.LayoutParams.TYPE_SYSTEM_ERROR; 27 import static android.view.WindowManager.LayoutParams.TYPE_SYSTEM_OVERLAY;
|
/frameworks/base/tests/testables/src/android/testing/ |
ViewUtils.java | 22 import android.view.WindowManager.LayoutParams; 38 WindowManager.LayoutParams lp = new WindowManager.LayoutParams( 39 LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT, 40 LayoutParams.TYPE_APPLICATION_OVERLAY,
|