/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/ |
FlowLayout.java | 83 protected boolean checkLayoutParams(ViewGroup.LayoutParams p) { 84 if (p instanceof LayoutParams) {
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
NavigationBar.java | 97 LayoutParams layoutParams = (LayoutParams) view.getLayoutParams(); 99 layoutParams.width = size; 101 layoutParams.height = size; 103 view.setLayoutParams(layoutParams);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
Layout.java | 49 import static android.view.ViewGroup.LayoutParams.MATCH_PARENT; 170 LayoutParams params = createLayoutParams(MATCH_PARENT, MATCH_PARENT); 189 private LayoutParams createLayoutParams(int width, int height) { 197 return new LayoutParams(width, height); 226 LayoutParams params = createLayoutParams(MATCH_PARENT, mBuilder.mStatusBarSize); 245 LayoutParams layoutParams = createLayoutParams(MATCH_PARENT, MATCH_PARENT); 248 layoutParams.addRule(rule, getId(ID_NAV_BAR)); 251 layoutParams.addRule(BELOW, getId(ID_STATUS_BAR)); 253 actionBar.getRootView().setLayoutParams(layoutParams); [all...] |
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/app/ |
AppCompatPreferenceActivity.java | 79 public void setContentView(View view, ViewGroup.LayoutParams params) { 84 public void addContentView(View view, ViewGroup.LayoutParams params) {
|
/frameworks/support/transition/tests/src/android/support/transition/ |
AutoTransitionTest.java | 45 mRoot.addView(mView0, new LinearLayout.LayoutParams(100, 100)); 48 mRoot.addView(mView1, new LinearLayout.LayoutParams(100, 100));
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
ControlBar.java | 107 LayoutParams lp = (LayoutParams) second.getLayoutParams();
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
AppCompatDialog.java | 92 public void setContentView(View view, ViewGroup.LayoutParams params) { 116 public void addContentView(View view, ViewGroup.LayoutParams params) {
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
FocusSearchNavigationTest.java | 113 mRecyclerView.setLayoutParams(new LinearLayout.LayoutParams( 114 ViewGroup.LayoutParams.MATCH_PARENT, 250)); 116 mRecyclerView.setLayoutParams(new LinearLayout.LayoutParams( 117 250, ViewGroup.LayoutParams.MATCH_PARENT)); 252 view.setLayoutParams(new ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, 255 view.setLayoutParams(new ViewGroup.LayoutParams(50, 256 ViewGroup.LayoutParams.MATCH_PARENT));
|
StaggeredGridLayoutManagerTest.java | 24 import static android.support.v7.widget.StaggeredGridLayoutManager.LayoutParams; 114 LayoutParams lp = (LayoutParams) vh.itemView.getLayoutParams(); 165 final ViewGroup.LayoutParams layoutParams = vh.itemView.getLayoutParams(); 168 layoutParams.width = size; 170 layoutParams.height = size; 441 RecyclerView.LayoutParams lp = (RecyclerView.LayoutParams) holder.itemView 555 RecyclerView.LayoutParams lp = (RecyclerView.LayoutParams) holder.itemVie [all...] |
/packages/apps/Camera2/src/com/android/camera/ui/ |
TopRightWeightedLayout.java | 103 LinearLayout.LayoutParams layoutParams = (LinearLayout.LayoutParams) v.getLayoutParams(); 104 int gravity = layoutParams.gravity; 145 layoutParams.gravity = gravity;
|
/packages/apps/Dialer/java/com/android/dialer/app/settings/ |
AppCompatPreferenceActivity.java | 76 public void setContentView(View view, ViewGroup.LayoutParams params) { 81 public void addContentView(View view, ViewGroup.LayoutParams params) {
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
AccountSetupTypeFragment.java | 68 final RelativeLayout.LayoutParams params = 69 (RelativeLayout.LayoutParams)button.getLayoutParams();
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
SetupLayoutActivity.java | 90 window.clearFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS); 91 window.addFlags(WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS);
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/ |
ConversationMessageBubbleView.java | 72 mBubbleBackground.getLayoutParams().width = LayoutParams.WRAP_CONTENT; 118 mBubbleBackground.getLayoutParams().width = LayoutParams.WRAP_CONTENT;
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
CellLayout.java | 135 @Thunk HashMap<CellLayout.LayoutParams, Animator> mReorderAnimators = new HashMap<>(); 607 public boolean addViewToCellLayout(View child, int index, int childId, LayoutParams params, 609 final LayoutParams lp = params; [all...] |
PagedView.java | 607 public static class LayoutParams extends ViewGroup.LayoutParams { 616 public LayoutParams(int width, int height) { 620 public LayoutParams(Context context, AttributeSet attrs) { 624 public LayoutParams(ViewGroup.LayoutParams source) { 630 public LayoutParams generateLayoutParams(AttributeSet attrs) { 631 return new LayoutParams(getContext(), attrs); 635 protected LayoutParams generateDefaultLayoutParams() { 636 return new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT) [all...] |
/packages/apps/Car/Hvac/src/com/android/car/hvac/controllers/ |
HvacPanelController.java | 579 WindowManager.LayoutParams params 580 = (WindowManager.LayoutParams) view.getLayoutParams(); 581 params.flags = WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE 582 | WindowManager.LayoutParams.FLAG_NOT_TOUCHABLE 583 | WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS 584 & ~WindowManager.LayoutParams.FLAG_WATCH_OUTSIDE_TOUCH; 589 WindowManager.LayoutParams params 590 = (WindowManager.LayoutParams) view.getLayoutParams(); 592 WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE 593 | WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMIT [all...] |
/cts/tests/tests/text/src/android/text/method/cts/ |
ScrollingMovementMethodTest.java | 45 import android.view.ViewGroup.LayoutParams; 115 new LayoutParams(width, LayoutParams.WRAP_CONTENT)); 209 new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT)); 302 new LayoutParams(width, LayoutParams.WRAP_CONTENT)); 388 new LayoutParams(width, LayoutParams.WRAP_CONTENT)) [all...] |
/packages/apps/Contacts/src/com/android/contacts/widget/ |
MultiShrinkScroller.java | 372 final ViewGroup.LayoutParams photoLayoutParams 379 final FrameLayout.LayoutParams largeTextLayoutParams 380 = (FrameLayout.LayoutParams) mTitleAndPhoneticNameView 403 final FrameLayout.LayoutParams actionBarGradientLayoutParams 404 = (FrameLayout.LayoutParams) mActionBarGradientView.getLayoutParams(); 407 final FrameLayout.LayoutParams titleGradientLayoutParams 408 = (FrameLayout.LayoutParams) mTitleGradientView.getLayoutParams(); 410 final FrameLayout.LayoutParams largeTextLayoutParms 411 = (FrameLayout.LayoutParams) mTitleAndPhoneticNameView.getLayoutParams(); [all...] |
/frameworks/base/core/java/com/android/internal/policy/ |
DecorView.java | 96 import static android.view.ViewGroup.LayoutParams.MATCH_PARENT; 97 import static android.view.ViewGroup.LayoutParams.WRAP_CONTENT; 100 import static android.view.WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS; 101 import static android.view.WindowManager.LayoutParams.FLAG_FULLSCREEN; 102 import static android.view.WindowManager.LayoutParams.FLAG_LAYOUT_INSET_DECOR; 103 import static android.view.WindowManager.LayoutParams.FLAG_LAYOUT_IN_OVERSCAN; 104 import static android.view.WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN; 105 import static android.view.WindowManager.LayoutParams.FLAG_TRANSLUCENT_NAVIGATION; 106 import static android.view.WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS; 107 import static android.view.WindowManager.LayoutParams.TYPE_APPLICATION [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
ViewPager.java | 437 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 618 final int result = ((LayoutParams) mDrawingOrderedChildren.get(index).getLayoutParams()).childIndex; 878 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); [all...] |
/frameworks/support/core-ui/java/android/support/v4/view/ |
ViewPager.java | 376 * {@link LayoutParams#isDecor} on the child's layout params.</p> 551 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 796 ((LayoutParams) mDrawingOrderedChildren.get(index).getLayoutParams()).childIndex; [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
PopupWindowTest.java | 56 import android.view.ViewGroup.LayoutParams; 273 assertEquals(WindowManager.LayoutParams.WRAP_CONTENT, mPopupWindow.getHeight()); 308 assertEquals(WindowManager.LayoutParams.WRAP_CONTENT, mPopupWindow.getWidth()); 717 assertEquals(WindowManager.LayoutParams.TYPE_APPLICATION_PANEL, 719 mPopupWindow.setWindowLayoutType(WindowManager.LayoutParams.TYPE_APPLICATION_SUB_PANEL); 720 assertEquals(WindowManager.LayoutParams.TYPE_APPLICATION_SUB_PANEL, [all...] |
/cts/hostsidetests/services/activityandwindowmanager/activitymanager/app/src/android/server/cts/ |
BroadcastReceiverActivity.java | 19 import static android.view.WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD;
|
/cts/hostsidetests/ui/appA/src/android/taskswitching/appa/ |
AppAActivity.java | 43 getWindow().addFlags(WindowManager.LayoutParams.FLAG_SHOW_WHEN_LOCKED);
|