HomeSort by relevance Sort by last modified time
    Searched refs:LayoutParams (Results 1 - 25 of 1372) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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);
  /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/widget/src/android/widget/cts/
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...]
FrameLayout_LayoutParamsTest.java 33 import android.widget.FrameLayout.LayoutParams;
48 new LayoutParams(mContext, attrs);
49 new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT);
50 new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT, 0);
51 new LayoutParams(new ViewGroup.LayoutParams(mContext, attrs))
    [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 25 import android.view.ViewGroup.LayoutParams;
37 new LinearLayout.LayoutParams(getContext(), p);
39 new LinearLayout.LayoutParams(320, 240);
41 new LinearLayout.LayoutParams(320, 240, 0);
43 LayoutParams layoutParams = new LayoutParams(320, 480);
44 new LinearLayout.LayoutParams(layoutParams);
47 new LinearLayout.LayoutParams(marginLayoutParams)
    [all...]
  /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...]
  /cts/hostsidetests/services/activitymanager/app/src/android/server/app/
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/base/tools/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/deviceadmin/uninstalltest/src/android/devicepolicy/cts/uiautomatertest/
UiAutomaterTestActivity.java 29 getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON
30 | WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON
31 | 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 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,
  /frameworks/support/percent/src/android/support/percent/
PercentFrameLayout.java 93 protected LayoutParams generateDefaultLayoutParams() {
94 return new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT);
98 public LayoutParams generateLayoutParams(AttributeSet attrs) {
99 return new LayoutParams(getContext(), attrs);
117 public static class LayoutParams extends FrameLayout.LayoutParams
121 public LayoutParams(Context c, AttributeSet attrs) {
126 public LayoutParams(int width, int height)
    [all...]
PercentRelativeLayout.java 93 protected LayoutParams generateDefaultLayoutParams() {
94 return new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT);
98 public LayoutParams generateLayoutParams(AttributeSet attrs) {
99 return new LayoutParams(getContext(), attrs);
117 public static class LayoutParams extends RelativeLayout.LayoutParams
121 public LayoutParams(Context c, AttributeSet attrs) {
126 public LayoutParams(int width, int height)
    [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/
InsettableFrameLayout.java 22 final LayoutParams lp = (LayoutParams) child.getLayoutParams();
46 public LayoutParams generateLayoutParams(AttributeSet attrs) {
47 return new InsettableFrameLayout.LayoutParams(getContext(), attrs);
51 protected LayoutParams generateDefaultLayoutParams() {
52 return new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT);
55 // Override to allow type-checking of LayoutParams.
57 protected boolean checkLayoutParams(ViewGroup.LayoutParams p)
    [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/tests/app/app/src/android/app/stubs/
ScreenOnActivity.java 32 getWindow().addFlags(WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD
33 | WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON
34 | WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);

Completed in 523 milliseconds

1 2 3 4 5 6 7 8 91011>>