/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 | 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() 76 WindowManager.LayoutParams winParams = win.getAttributes(); in setFullscreen() 78 winParams.flags |= WindowManager.LayoutParams.FLAG_FULLSCREEN; in setFullscreen() 80 winParams.flags &= ~WindowManager.LayoutParams.FLAG_FULLSCREEN; in setFullscreen() 87 WindowManager.LayoutParams winParams = win.getAttributes(); in setRotationAnimation()
|
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/ApiDemos/src/com/example/android/apis/preference/ |
D | LaunchingPreferences.java | 31 import android.widget.LinearLayout.LayoutParams; 62 layout.addView(launchPreferences, new LayoutParams(LayoutParams.MATCH_PARENT, in onCreate() 63 LayoutParams.WRAP_CONTENT)); in onCreate() 66 layout.addView(mCounterText, new LayoutParams(LayoutParams.MATCH_PARENT, in onCreate() 67 LayoutParams.WRAP_CONTENT)); in onCreate()
|
/development/samples/ApiDemos/src/com/example/android/apis/media/ |
D | AudioFxDemo.java | 114 freqTextView.setLayoutParams(new ViewGroup.LayoutParams( in setupEqualizerFxAndUI() 115 ViewGroup.LayoutParams.FILL_PARENT, in setupEqualizerFxAndUI() 116 ViewGroup.LayoutParams.WRAP_CONTENT)); in setupEqualizerFxAndUI() 125 minDbTextView.setLayoutParams(new ViewGroup.LayoutParams( in setupEqualizerFxAndUI() 126 ViewGroup.LayoutParams.WRAP_CONTENT, in setupEqualizerFxAndUI() 127 ViewGroup.LayoutParams.WRAP_CONTENT)); in setupEqualizerFxAndUI() 131 maxDbTextView.setLayoutParams(new ViewGroup.LayoutParams( in setupEqualizerFxAndUI() 132 ViewGroup.LayoutParams.WRAP_CONTENT, in setupEqualizerFxAndUI() 133 ViewGroup.LayoutParams.WRAP_CONTENT)); in setupEqualizerFxAndUI() 136 LinearLayout.LayoutParams layoutParams = new LinearLayout.LayoutParams( in setupEqualizerFxAndUI() [all …]
|
/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/CustomChoiceList/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/CustomTransition/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/BasicImmersiveMode/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/StorageClient/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/FragmentTransition/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/TextSwitcher/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/SwipeRefreshMultipleViews/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/ActivitySceneTransitionBasic/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/BatchStepSensor/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/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/RecyclerView/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/JumpingJack/Application/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/FloatingActionButtonBasic/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/BasicMultitouch/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/BasicGestureDetect/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()
|