/cts/tests/tests/graphics/src/android/opengl/cts/ |
EglConfigCtsActivity.java | 49 getWindow().addFlags(WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD | 50 WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON | 51 WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
|
/cts/tests/uiautomator/test-apps/CtsUiAutomatorApp/src/com/android/cts/uiautomator/ |
MainActivity.java | 34 getWindow().addFlags(WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD | 35 WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON | 36 WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
|
/developers/build/prebuilts/gradle/DoneBar/Application/src/main/java/com/example/android/donebar/ |
DoneBarActivity.java | 64 new ActionBar.LayoutParams( 65 ViewGroup.LayoutParams.MATCH_PARENT, 66 ViewGroup.LayoutParams.MATCH_PARENT));
|
/developers/samples/android/ui/actionbar/DoneBar/Application/src/main/java/com/example/android/donebar/ |
DoneBarActivity.java | 64 new ActionBar.LayoutParams( 65 ViewGroup.LayoutParams.MATCH_PARENT, 66 ViewGroup.LayoutParams.MATCH_PARENT));
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
TableLayout8.java | 66 row.addView(label, new TableRow.LayoutParams(1)); 67 row.addView(shortcut, new TableRow.LayoutParams()); 69 table.addView(row, new TableLayout.LayoutParams());
|
/development/samples/browseable/DoneBar/src/com.example.android.donebar/ |
DoneBarActivity.java | 64 new ActionBar.LayoutParams( 65 ViewGroup.LayoutParams.MATCH_PARENT, 66 ViewGroup.LayoutParams.MATCH_PARENT));
|
/external/chromium_org/chrome/android/shell/java/src/org/chromium/chrome/shell/omnibox/ |
SuggestionArrayAdapter.java | 11 import android.widget.AbsListView.LayoutParams; 40 v.setLayoutParams(new LayoutParams(LayoutParams.MATCH_PARENT, height));
|
/frameworks/base/core/tests/coretests/src/android/view/ |
PreDrawListener.java | 63 addView(b, new LinearLayout.LayoutParams(LayoutParams.MATCH_PARENT, 64 LayoutParams.WRAP_CONTENT));
|
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/ |
VideoDumpActivity.java | 72 mainLayout.addView(mVideoView, new LinearLayout.LayoutParams( 73 LinearLayout.LayoutParams.MATCH_PARENT, 74 LinearLayout.LayoutParams.MATCH_PARENT));
|
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/ |
LayoutInsetsTest.java | 13 import static android.widget.GridLayout.LayoutParams; 43 LayoutParams lp = new LayoutParams();
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
Animated3dActivity.java | 41 setContentView(view, new FrameLayout.LayoutParams( 42 FrameLayout.LayoutParams.MATCH_PARENT, FrameLayout.LayoutParams.MATCH_PARENT
|
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
InstanceTargets.java | 28 import static android.widget.RelativeLayout.LayoutParams; 48 LayoutParams params = (LayoutParams) button.getLayoutParams();
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
TransitionAnimationView.java | 50 mMaskingView.setLayoutParams(new FrameLayout.LayoutParams(LayoutParams.MATCH_PARENT, 51 LayoutParams.MATCH_PARENT));
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
BaseInputView.java | 72 WindowManager.LayoutParams dialogLayoutParams = window.getAttributes(); 74 dialogLayoutParams.type = WindowManager.LayoutParams.TYPE_APPLICATION_ATTACHED_DIALOG; 76 window.addFlags(WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM);
|
/packages/services/Telephony/src/com/android/phone/ |
IccPanel.java | 44 winP.setType(WindowManager.LayoutParams.TYPE_PRIORITY_PHONE); 45 winP.setLayout(WindowManager.LayoutParams.MATCH_PARENT, 46 WindowManager.LayoutParams.MATCH_PARENT);
|
/cts/tests/tests/widget/src/android/widget/cts/ |
RelativeLayout_LayoutParamsTest.java | 29 * Test {@link RelativeLayout.LayoutParams}. 40 RelativeLayout.LayoutParams layoutParams = new RelativeLayout.LayoutParams(200, 300); 41 assertEquals(200, layoutParams.width); 42 assertEquals(300, layoutParams.height); 44 RelativeLayout.LayoutParams tempLayoutParams = layoutParams; 45 layoutParams = new RelativeLayout.LayoutParams(tempLayoutParams) [all...] |
TwoLineListItemTest.java | 29 import android.widget.RelativeLayout.LayoutParams; 97 LayoutParams params = new LayoutParams(LayoutParams.WRAP_CONTENT, 98 LayoutParams.WRAP_CONTENT);
|
/frameworks/base/core/java/android/view/ |
Window.java | 199 private final WindowManager.LayoutParams mWindowAttributes = 200 new WindowManager.LayoutParams(); 351 public void onWindowAttributesChanged(WindowManager.LayoutParams attrs); 356 * {@link Window#setContentView(View, android.view.ViewGroup.LayoutParams) 358 * {@link Window#addContentView(View, android.view.ViewGroup.LayoutParams) 543 void adjustLayoutParamsForSubWindow(WindowManager.LayoutParams wp) { 545 if (wp.type >= WindowManager.LayoutParams.FIRST_SUB_WINDOW && 546 wp.type <= WindowManager.LayoutParams.LAST_SUB_WINDOW) { 555 if (wp.type == WindowManager.LayoutParams.TYPE_APPLICATION_MEDIA) { 557 } else if (wp.type == WindowManager.LayoutParams.TYPE_APPLICATION_MEDIA_OVERLAY) [all...] |
/frameworks/base/core/java/android/widget/ |
Toolbar.java | 78 * {@link LayoutParams} indicates a {@link Gravity} value of 834 final LayoutParams lp = generateDefaultLayoutParams(); [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
Toolbar.java | 91 * {@link LayoutParams} indicates a {@link Gravity} value of 838 final LayoutParams lp = generateDefaultLayoutParams(); [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
DensityActivity.java | 117 scroller.addView(view, new ScrollView.LayoutParams(ScrollView.LayoutParams.MATCH_PARENT, 118 ScrollView.LayoutParams.MATCH_PARENT)); 125 root.addView(label, new LinearLayout.LayoutParams(LinearLayout.LayoutParams.MATCH_PARENT, 126 LinearLayout.LayoutParams.WRAP_CONTENT)); 130 root.addView(layout, new LinearLayout.LayoutParams(LinearLayout.LayoutParams.MATCH_PARENT, 131 LinearLayout.LayoutParams.WRAP_CONTENT)); 144 view.setLayoutParams(new LinearLayout.LayoutParams(d.getIntrinsicWidth() [all...] |
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/ |
DpiTestActivity.java | 147 scroller.addView(view, new ScrollView.LayoutParams(ScrollView.LayoutParams.MATCH_PARENT, 148 ScrollView.LayoutParams.MATCH_PARENT)); 155 root.addView(label, new LinearLayout.LayoutParams(LinearLayout.LayoutParams.MATCH_PARENT, 156 LinearLayout.LayoutParams.WRAP_CONTENT)); 160 root.addView(layout, new LinearLayout.LayoutParams(LinearLayout.LayoutParams.MATCH_PARENT, 161 LinearLayout.LayoutParams.WRAP_CONTENT)); 174 view.setLayoutParams(new LinearLayout.LayoutParams(d.getIntrinsicWidth() [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
ResolverDrawerLayout.java | 346 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 567 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 579 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 612 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 636 public ViewGroup.LayoutParams generateLayoutParams(AttributeSet attrs) { 637 return new LayoutParams(getContext(), attrs) [all...] |
ScrollingTabContainerView.java | 81 addView(mTabLayout, new ViewGroup.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, 82 ViewGroup.LayoutParams.MATCH_PARENT)); 150 addView(mTabSpinner, new ViewGroup.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, 151 ViewGroup.LayoutParams.MATCH_PARENT)); 166 addView(mTabLayout, new ViewGroup.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, 167 ViewGroup.LayoutParams.MATCH_PARENT)); 198 tabLayout.setLayoutParams(new LinearLayout.LayoutParams( [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
ScrollingTabContainerView.java | 88 addView(mTabLayout, new ViewGroup.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, 89 ViewGroup.LayoutParams.MATCH_PARENT)); 157 addView(mTabSpinner, new ViewGroup.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, 158 ViewGroup.LayoutParams.MATCH_PARENT)); 173 addView(mTabLayout, new ViewGroup.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, 174 ViewGroup.LayoutParams.MATCH_PARENT)); 205 tabLayout.setLayoutParams(new LinearLayoutCompat.LayoutParams( [all...] |