/development/samples/MultiClientInputMethod/src/com/example/android/multiclientinputmethod/ |
D | InputMethodDebug.java | 44 final int state = softInputMode & WindowManager.LayoutParams.SOFT_INPUT_MASK_STATE; in softInputModeToString() 45 final int adjust = softInputMode & WindowManager.LayoutParams.SOFT_INPUT_MASK_ADJUST; in softInputModeToString() 47 (softInputMode & WindowManager.LayoutParams.SOFT_INPUT_IS_FORWARD_NAVIGATION) != 0; in softInputModeToString() 50 case WindowManager.LayoutParams.SOFT_INPUT_STATE_UNSPECIFIED: in softInputModeToString() 53 case WindowManager.LayoutParams.SOFT_INPUT_STATE_UNCHANGED: in softInputModeToString() 56 case WindowManager.LayoutParams.SOFT_INPUT_STATE_HIDDEN: in softInputModeToString() 59 case WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_HIDDEN: in softInputModeToString() 62 case WindowManager.LayoutParams.SOFT_INPUT_STATE_VISIBLE: in softInputModeToString() 65 case WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_VISIBLE: in softInputModeToString() 74 case WindowManager.LayoutParams.SOFT_INPUT_ADJUST_UNSPECIFIED: in softInputModeToString() [all …]
|
D | SoftInputWindow.java | 29 import android.view.WindowManager.LayoutParams; 54 final LayoutParams lp = getWindow().getAttributes(); in SoftInputWindow() 55 lp.type = LayoutParams.TYPE_INPUT_METHOD; in SoftInputWindow() 58 lp.width = LayoutParams.MATCH_PARENT; in SoftInputWindow() 59 lp.height = LayoutParams.WRAP_CONTENT; in SoftInputWindow() 63 final int windowSetFlags = LayoutParams.FLAG_LAYOUT_IN_SCREEN in SoftInputWindow() 64 | LayoutParams.FLAG_NOT_FOCUSABLE in SoftInputWindow() 65 | LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS; in SoftInputWindow() 66 final int windowModFlags = LayoutParams.FLAG_LAYOUT_IN_SCREEN in SoftInputWindow() 67 | LayoutParams.FLAG_NOT_FOCUSABLE in SoftInputWindow() [all …]
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
D | CustomLayout.java | 99 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure() 100 if (lp.position == LayoutParams.POSITION_LEFT) { in onMeasure() 103 } else if (lp.position == LayoutParams.POSITION_RIGHT) { in onMeasure() 151 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onLayout() 157 if (lp.position == LayoutParams.POSITION_LEFT) { in onLayout() 161 } else if (lp.position == LayoutParams.POSITION_RIGHT) { in onLayout() 189 public LayoutParams generateLayoutParams(AttributeSet attrs) { in generateLayoutParams() 190 return new CustomLayout.LayoutParams(getContext(), attrs); in generateLayoutParams() 194 protected LayoutParams generateDefaultLayoutParams() { in generateDefaultLayoutParams() 195 return new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT); in generateDefaultLayoutParams() [all …]
|
D | InternalSelectionScroll.java | 46 ViewGroup.LayoutParams svLp = new ScrollView.LayoutParams( in onCreate() 47 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate() 48 ViewGroup.LayoutParams.WRAP_CONTENT); in onCreate() 56 LinearLayout.LayoutParams llLp = new LinearLayout.LayoutParams( in onCreate() 57 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate()
|
D | InternalSelectionFocus.java | 48 layout.setLayoutParams(new ViewGroup.LayoutParams( in onCreate() 49 ViewGroup.LayoutParams.MATCH_PARENT, in onCreate() 50 ViewGroup.LayoutParams.MATCH_PARENT)); in onCreate() 52 LinearLayout.LayoutParams params = new LinearLayout.LayoutParams(0, in onCreate() 53 ViewGroup.LayoutParams.MATCH_PARENT, 1); in onCreate()
|
D | OverlayWindowActivity.java | 33 import android.view.WindowManager.LayoutParams; 109 LayoutParams params = new LayoutParams(); in drawOverlay() 112 ? LayoutParams.TYPE_APPLICATION_OVERLAY in drawOverlay() 113 : LayoutParams.TYPE_PHONE; in drawOverlay() 114 params.flags = WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE in drawOverlay() 115 | WindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL in drawOverlay() 116 | WindowManager.LayoutParams.FLAG_WATCH_OUTSIDE_TOUCH; in drawOverlay() 119 params.width = LayoutParams.WRAP_CONTENT; in drawOverlay() 120 params.height = LayoutParams.WRAP_CONTENT; in drawOverlay()
|
D | GridLayout3.java | 29 import static android.widget.GridLayout.LayoutParams; 68 p.addView(c, new LayoutParams(titleRow, centerInAllColumns)); in create() 74 p.addView(c, new LayoutParams(introRow, leftAlignInAllColumns)); in create() 79 p.addView(c, new LayoutParams(emailRow, labelColumn)); in create() 85 p.addView(c, new LayoutParams(emailRow, fieldColumn)); in create() 90 p.addView(c, new LayoutParams(passwordRow, labelColumn)); in create() 96 p.addView(c, new LayoutParams(passwordRow, fieldColumn)); in create() 101 p.addView(c, new LayoutParams(button1Row, defineLastColumn)); in create() 106 p.addView(c, new LayoutParams(button2Row, fillLastColumn)); in create()
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | RotationAnimation.java | 25 import android.view.WindowManager.LayoutParams; 33 private int mRotationAnimation = LayoutParams.ROTATION_ANIMATION_ROTATE; 59 mRotationAnimation = LayoutParams.ROTATION_ANIMATION_ROTATE; in onCreate() 62 mRotationAnimation = LayoutParams.ROTATION_ANIMATION_CROSSFADE; in onCreate() 65 mRotationAnimation = LayoutParams.ROTATION_ANIMATION_JUMPCUT; in onCreate() 68 mRotationAnimation = LayoutParams.ROTATION_ANIMATION_SEAMLESS; in onCreate() 79 WindowManager.LayoutParams winParams = win.getAttributes(); in setFullscreen() 81 winParams.flags |= WindowManager.LayoutParams.FLAG_FULLSCREEN; in setFullscreen() 83 winParams.flags &= ~WindowManager.LayoutParams.FLAG_FULLSCREEN; in setFullscreen() 90 WindowManager.LayoutParams winParams = win.getAttributes(); in setRotationAnimation()
|
D | PictureInPictureAutoEnter.java | 88 final LinearLayout.LayoutParams layoutParams; in updateLayout() 90 layoutParams = new LinearLayout.LayoutParams( in updateLayout() 91 LinearLayout.LayoutParams.MATCH_PARENT, in updateLayout() 92 LinearLayout.LayoutParams.MATCH_PARENT); in updateLayout() 101 layoutParams = new LinearLayout.LayoutParams( in updateLayout() 102 LinearLayout.LayoutParams.WRAP_CONTENT, in updateLayout() 103 LinearLayout.LayoutParams.MATCH_PARENT); in updateLayout() 105 getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, in updateLayout() 106 WindowManager.LayoutParams.FLAG_FULLSCREEN); in updateLayout() 110 layoutParams = new LinearLayout.LayoutParams( in updateLayout() [all …]
|
D | NotificationDisplay.java | 47 getWindow().setFlags(WindowManager.LayoutParams.FLAG_BLUR_BEHIND, in onCreate() 48 WindowManager.LayoutParams.FLAG_BLUR_BEHIND); in onCreate() 56 RelativeLayout.LayoutParams lp = new RelativeLayout.LayoutParams( in onCreate() 57 RelativeLayout.LayoutParams.WRAP_CONTENT, in onCreate() 58 RelativeLayout.LayoutParams.WRAP_CONTENT); in onCreate()
|
/development/samples/browseable/CardReader/src/com.example.android.common/logger/ |
D | LogFragment.java | 58 ViewGroup.LayoutParams scrollParams = new ViewGroup.LayoutParams( in inflateViews() 59 ViewGroup.LayoutParams.MATCH_PARENT, in inflateViews() 60 ViewGroup.LayoutParams.MATCH_PARENT); in inflateViews() 64 ViewGroup.LayoutParams logParams = new ViewGroup.LayoutParams(scrollParams); in inflateViews() 65 logParams.height = ViewGroup.LayoutParams.WRAP_CONTENT; in inflateViews()
|
/development/samples/browseable/BasicMediaRouter/src/com.example.android.common.logger/ |
D | LogFragment.java | 58 ViewGroup.LayoutParams scrollParams = new ViewGroup.LayoutParams( in inflateViews() 59 ViewGroup.LayoutParams.MATCH_PARENT, in inflateViews() 60 ViewGroup.LayoutParams.MATCH_PARENT); in inflateViews() 64 ViewGroup.LayoutParams logParams = new ViewGroup.LayoutParams(scrollParams); in inflateViews() 65 logParams.height = ViewGroup.LayoutParams.WRAP_CONTENT; in inflateViews()
|
/development/samples/browseable/SlidingTabsBasic/src/com.example.android.common/logger/ |
D | LogFragment.java | 58 ViewGroup.LayoutParams scrollParams = new ViewGroup.LayoutParams( in inflateViews() 59 ViewGroup.LayoutParams.MATCH_PARENT, in inflateViews() 60 ViewGroup.LayoutParams.MATCH_PARENT); in inflateViews() 64 ViewGroup.LayoutParams logParams = new ViewGroup.LayoutParams(scrollParams); in inflateViews() 65 logParams.height = ViewGroup.LayoutParams.WRAP_CONTENT; in inflateViews()
|
/development/samples/browseable/CardEmulation/src/com.example.android.common/logger/ |
D | LogFragment.java | 58 ViewGroup.LayoutParams scrollParams = new ViewGroup.LayoutParams( in inflateViews() 59 ViewGroup.LayoutParams.MATCH_PARENT, in inflateViews() 60 ViewGroup.LayoutParams.MATCH_PARENT); in inflateViews() 64 ViewGroup.LayoutParams logParams = new ViewGroup.LayoutParams(scrollParams); in inflateViews() 65 logParams.height = ViewGroup.LayoutParams.WRAP_CONTENT; in inflateViews()
|
/development/samples/browseable/DrawableTinting/src/com.example.android.common/logger/ |
D | LogFragment.java | 58 ViewGroup.LayoutParams scrollParams = new ViewGroup.LayoutParams( in inflateViews() 59 ViewGroup.LayoutParams.MATCH_PARENT, in inflateViews() 60 ViewGroup.LayoutParams.MATCH_PARENT); in inflateViews() 64 ViewGroup.LayoutParams logParams = new ViewGroup.LayoutParams(scrollParams); in inflateViews() 65 logParams.height = ViewGroup.LayoutParams.WRAP_CONTENT; in inflateViews()
|
/development/samples/browseable/MediaEffects/src/com.example.android.common/logger/ |
D | LogFragment.java | 58 ViewGroup.LayoutParams scrollParams = new ViewGroup.LayoutParams( in inflateViews() 59 ViewGroup.LayoutParams.MATCH_PARENT, in inflateViews() 60 ViewGroup.LayoutParams.MATCH_PARENT); in inflateViews() 64 ViewGroup.LayoutParams logParams = new ViewGroup.LayoutParams(scrollParams); in inflateViews() 65 logParams.height = ViewGroup.LayoutParams.WRAP_CONTENT; in inflateViews()
|
/development/samples/browseable/RepeatingAlarm/src/com.example.android.common/logger/ |
D | LogFragment.java | 58 ViewGroup.LayoutParams scrollParams = new ViewGroup.LayoutParams( in inflateViews() 59 ViewGroup.LayoutParams.MATCH_PARENT, in inflateViews() 60 ViewGroup.LayoutParams.MATCH_PARENT); in inflateViews() 64 ViewGroup.LayoutParams logParams = new ViewGroup.LayoutParams(scrollParams); in inflateViews() 65 logParams.height = ViewGroup.LayoutParams.WRAP_CONTENT; in inflateViews()
|
/development/samples/browseable/Interpolator/src/com.example.android.common/logger/ |
D | LogFragment.java | 58 ViewGroup.LayoutParams scrollParams = new ViewGroup.LayoutParams( in inflateViews() 59 ViewGroup.LayoutParams.MATCH_PARENT, in inflateViews() 60 ViewGroup.LayoutParams.MATCH_PARENT); in inflateViews() 64 ViewGroup.LayoutParams logParams = new ViewGroup.LayoutParams(scrollParams); in inflateViews() 65 logParams.height = ViewGroup.LayoutParams.WRAP_CONTENT; in inflateViews()
|
/development/samples/browseable/NavigationDrawer/src/com.example.android.common.logger/ |
D | LogFragment.java | 58 ViewGroup.LayoutParams scrollParams = new ViewGroup.LayoutParams( in inflateViews() 59 ViewGroup.LayoutParams.MATCH_PARENT, in inflateViews() 60 ViewGroup.LayoutParams.MATCH_PARENT); in inflateViews() 64 ViewGroup.LayoutParams logParams = new ViewGroup.LayoutParams(scrollParams); in inflateViews() 65 logParams.height = ViewGroup.LayoutParams.WRAP_CONTENT; in inflateViews()
|
/development/samples/browseable/SwipeRefreshListFragment/src/com.example.android.common/logger/ |
D | LogFragment.java | 58 ViewGroup.LayoutParams scrollParams = new ViewGroup.LayoutParams( in inflateViews() 59 ViewGroup.LayoutParams.MATCH_PARENT, in inflateViews() 60 ViewGroup.LayoutParams.MATCH_PARENT); in inflateViews() 64 ViewGroup.LayoutParams logParams = new ViewGroup.LayoutParams(scrollParams); in inflateViews() 65 logParams.height = ViewGroup.LayoutParams.WRAP_CONTENT; in inflateViews()
|
/development/samples/browseable/PermissionRequest/src/com.example.android.common/logger/ |
D | LogFragment.java | 58 ViewGroup.LayoutParams scrollParams = new ViewGroup.LayoutParams( in inflateViews() 59 ViewGroup.LayoutParams.MATCH_PARENT, in inflateViews() 60 ViewGroup.LayoutParams.MATCH_PARENT); in inflateViews() 64 ViewGroup.LayoutParams logParams = new ViewGroup.LayoutParams(scrollParams); in inflateViews() 65 logParams.height = ViewGroup.LayoutParams.WRAP_CONTENT; in inflateViews()
|
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.common.logger/ |
D | LogFragment.java | 58 ViewGroup.LayoutParams scrollParams = new ViewGroup.LayoutParams( in inflateViews() 59 ViewGroup.LayoutParams.MATCH_PARENT, in inflateViews() 60 ViewGroup.LayoutParams.MATCH_PARENT); in inflateViews() 64 ViewGroup.LayoutParams logParams = new ViewGroup.LayoutParams(scrollParams); in inflateViews() 65 logParams.height = ViewGroup.LayoutParams.WRAP_CONTENT; in inflateViews()
|
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.common/logger/ |
D | LogFragment.java | 58 ViewGroup.LayoutParams scrollParams = new ViewGroup.LayoutParams( in inflateViews() 59 ViewGroup.LayoutParams.MATCH_PARENT, in inflateViews() 60 ViewGroup.LayoutParams.MATCH_PARENT); in inflateViews() 64 ViewGroup.LayoutParams logParams = new ViewGroup.LayoutParams(scrollParams); in inflateViews() 65 logParams.height = ViewGroup.LayoutParams.WRAP_CONTENT; in inflateViews()
|
/development/samples/devbytes/animation/LayoutTransChanging/src/com/example/android/layouttranschanging/ |
D | LayoutTransChanging.java | 27 import android.widget.LinearLayout.LayoutParams; 93 private LayoutParams mCompressedParams = new LayoutParams( 94 ViewGroup.LayoutParams.MATCH_PARENT, 50); 96 private LayoutParams mExpandedParams = new LayoutParams( 97 ViewGroup.LayoutParams.MATCH_PARENT, 200);
|
/development/samples/browseable/BasicTransition/src/com.example.android.common/logger/ |
D | LogFragment.java | 58 ViewGroup.LayoutParams scrollParams = new ViewGroup.LayoutParams( in inflateViews() 59 ViewGroup.LayoutParams.MATCH_PARENT, in inflateViews() 60 ViewGroup.LayoutParams.MATCH_PARENT); in inflateViews() 64 ViewGroup.LayoutParams logParams = new ViewGroup.LayoutParams(scrollParams); in inflateViews() 65 logParams.height = ViewGroup.LayoutParams.WRAP_CONTENT; in inflateViews()
|