/frameworks/base/core/java/android/widget/ |
H A D | StackView.java | 236 LayoutParams lp = (LayoutParams) view.getLayoutParams(); 237 lp.setVerticalOffset(0); 238 lp.setHorizontalOffset(0); 295 LayoutParams lp = (LayoutParams) view.getLayoutParams(); 296 lp.setVerticalOffset(0); 297 lp.setHorizontalOffset(0); 539 LayoutParams lp = (LayoutParams) child.getLayoutParams(); 540 if ((lp.horizontalOffset == 0 && lp.verticalOffset == 0) || 542 lp [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/ |
H A D | CarStatusBar.java | 98 WindowManager.LayoutParams lp = new WindowManager.LayoutParams( 108 lp.setTitle("CarNavigationBar"); 109 lp.windowAnimations = 0; 110 mWindowManager.addView(mNavigationBarView, lp);
|
/frameworks/support/design/src/android/support/design/widget/ |
H A D | AppBarLayout.java | 342 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 344 final int flags = lp.mScrollFlags; 348 range += childHeight + lp.topMargin + lp.bottomMargin; 389 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 391 final int flags = lp.mScrollFlags; 395 range += lp.topMargin + lp.bottomMargin; 428 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 430 childHeight += lp [all...] |
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | GridLayoutManagerBaseConfigSetTest.java | 80 GridLayoutManager.LayoutParams lp = (GridLayoutManager.LayoutParams) 91 lp.getSpanIndex()); 143 GridLayoutManager.LayoutParams lp = (GridLayoutManager.LayoutParams) 158 lp.getSpanIndex());
|
/frameworks/base/services/core/java/com/android/server/policy/ |
H A D | ImmersiveModeConfirmation.java | 183 final WindowManager.LayoutParams lp = new WindowManager.LayoutParams( 193 lp.privateFlags |= WindowManager.LayoutParams.PRIVATE_FLAG_SHOW_FOR_ALL_USERS; 194 lp.setTitle("ImmersiveModeConfirmation"); 195 lp.windowAnimations = com.android.internal.R.style.Animation_ImmersiveModeConfirmation; 196 return lp; 346 WindowManager.LayoutParams lp = getClingWindowLayoutParams(); 347 mWindowManager.addView(mClingWindow, lp);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | FullWidthDetailsOverviewRowPresenter.java | 659 ViewGroup.MarginLayoutParams lp = (ViewGroup.MarginLayoutParams) 664 lp.setMarginStart(v.getResources().getDimensionPixelSize( 668 lp.setMarginStart(v.getResources().getDimensionPixelSize(R.dimen.lb_details_v2_left) 669 - lp.width); 676 lp.topMargin = 678 - lp.height / 2; 681 lp.topMargin = v.getResources().getDimensionPixelSize( 688 lp.topMargin = 0; 691 v.setLayoutParams(lp);
|
H A D | ImageCardView.java | 345 ViewGroup.LayoutParams lp = mImageView.getLayoutParams(); 346 lp.width = width; 347 lp.height = height; 348 mImageView.setLayoutParams(lp);
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ResolverDrawerLayout.java | 443 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 444 if (!lp.ignoreOffset) { 757 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 758 if (lp.alwaysShow && child.getVisibility() != GONE) { 769 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 770 if (!lp.alwaysShow && child.getVisibility() != GONE) { 814 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); 815 return lp.topMargin + heightUsed + lp.bottomMargin; 831 final LayoutParams lp [all...] |
H A D | ActionBarView.java | 251 ViewGroup.LayoutParams lp = mTabScrollView.getLayoutParams(); 252 if (lp != null) { 253 lp.width = LayoutParams.WRAP_CONTENT; 254 lp.height = LayoutParams.MATCH_PARENT; 361 ViewGroup.LayoutParams lp = mTabScrollView.getLayoutParams(); 362 lp.width = LayoutParams.WRAP_CONTENT; 363 lp.height = LayoutParams.MATCH_PARENT; 1015 final ViewGroup.LayoutParams lp = generateLayoutParams(customView.getLayoutParams()); 1016 final ActionBar.LayoutParams ablp = lp instanceof ActionBar.LayoutParams ? 1017 (ActionBar.LayoutParams) lp 1264 generateLayoutParams(ViewGroup.LayoutParams lp) argument [all...] |
H A D | PasswordEntryKeyboardHelper.java | 101 LayoutParams lp = mKeyboardView.getLayoutParams(); 102 if (mUsingScreenWidth || lp.width == ViewGroup.LayoutParams.MATCH_PARENT) { 105 createKeyboardsWithSpecificSize(lp.width, lp.height);
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | IconMenuView.java | 271 LayoutParams lp = (LayoutParams) child.getLayoutParams(); 272 if (lp.maxNumItemsOnRow < numItemsOnRow) { 661 LayoutParams lp = (LayoutParams) getChildAt(i).getLayoutParams(); 663 lp.maxNumItemsOnRow = 1; 667 if (lp.desiredWidth < width / curNumItemsPerRow) { 669 lp.maxNumItemsOnRow = curNumItemsPerRow;
|
/frameworks/base/services/core/java/com/android/server/policy/keyguard/ |
H A D | KeyguardServiceDelegate.java | 349 final WindowManager.LayoutParams lp = new WindowManager.LayoutParams( 351 lp.softInputMode = WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE; 352 lp.screenOrientation = ActivityInfo.SCREEN_ORIENTATION_NOSENSOR; 353 lp.privateFlags |= WindowManager.LayoutParams.PRIVATE_FLAG_FAKE_HARDWARE_ACCELERATED; 354 lp.setTitle("KeyguardScrim"); 366 wm.addView(view, lp);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | TaskViewHeader.java | 255 FrameLayout.LayoutParams lp = new FrameLayout.LayoutParams( 257 setLayoutParams(lp); 258 lp = new FrameLayout.LayoutParams(mHeaderBarHeight, mHeaderBarHeight, Gravity.START); 259 icon.setLayoutParams(lp); 260 lp = new FrameLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, 262 lp.setMarginStart(mHeaderBarHeight); 263 lp.setMarginEnd(mMoveTaskButton != null 266 title.setLayoutParams(lp); 268 lp = new FrameLayout.LayoutParams(mHeaderBarHeight, mHeaderBarHeight, Gravity.END); 269 lp [all...] |
/frameworks/base/core/java/android/view/animation/ |
H A D | LayoutAnimationController.java | 371 ViewGroup.LayoutParams lp = view.getLayoutParams(); 372 AnimationParameters params = lp.layoutAnimationParameters;
|
/frameworks/base/core/java/android/view/inputmethod/ |
H A D | BaseInputConnection.java | 823 LogPrinter lp = new LogPrinter(Log.VERBOSE, TAG); 824 lp.println("Current text:"); 825 TextUtils.dumpSpans(content, lp, " "); 826 lp.println("Composing text:"); 827 TextUtils.dumpSpans(text, lp, " "); 847 LogPrinter lp = new LogPrinter(Log.VERBOSE, TAG); 848 lp.println("Final text:"); 849 TextUtils.dumpSpans(content, lp, " ");
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
H A D | MediaFrameworkTest.java | 81 ViewGroup.LayoutParams lp = mSurfaceView.getLayoutParams(); 91 mOverlayView.setLayoutParams(lp);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | StatusBarIconController.java | 212 LinearLayout.LayoutParams lp = new LinearLayout.LayoutParams( 214 lp.setMargins(mIconHPadding, 0, mIconHPadding, 0); 215 mStatusIcons.addView(view, viewIndex, lp); 587 LinearLayout.LayoutParams lp = new LinearLayout.LayoutParams( 589 lp.setMargins(mIconHPadding, 0, mIconHPadding, 0); 590 child.setLayoutParams(lp); 594 LinearLayout.LayoutParams lp = new LinearLayout.LayoutParams( 596 child.setLayoutParams(lp);
|
H A D | NavigationBarView.java | 446 WindowManager.LayoutParams lp = (WindowManager.LayoutParams) getLayoutParams(); 447 if (lp != null) { 448 boolean old = lp.windowAnimations != 0; 450 lp.windowAnimations = R.style.Animation_NavigationBarFadeIn; 452 lp.windowAnimations = 0; 457 wm.updateViewLayout(this, lp); 462 WindowManager.LayoutParams lp = (WindowManager.LayoutParams) getLayoutParams(); 463 if (lp != null) { 464 boolean oldSlippery = (lp.flags & WindowManager.LayoutParams.FLAG_SLIPPERY) != 0; 466 lp [all...] |
/frameworks/base/services/core/java/com/android/server/connectivity/ |
H A D | NetworkAgentInfo.java | 178 LinkProperties lp, NetworkCapabilities nc, int score, Context context, Handler handler, 184 linkProperties = lp; 275 "lp{" + linkProperties + "} " + 177 NetworkAgentInfo(Messenger messenger, AsyncChannel ac, Network net, NetworkInfo info, LinkProperties lp, NetworkCapabilities nc, int score, Context context, Handler handler, NetworkMisc misc, NetworkRequest defaultRequest, ConnectivityService connService) argument
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
H A D | DcControllerTest.java | 99 LinkProperties lp = new LinkProperties(); 100 mResult = new UpdateLinkPropertyResult(lp);
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
H A D | AppCompatDelegate.java | 294 public abstract void setContentView(View v, ViewGroup.LayoutParams lp); argument 300 public abstract void addContentView(View v, ViewGroup.LayoutParams lp); argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ |
H A D | AssistDisclosure.java | 66 WindowManager.LayoutParams lp = new WindowManager.LayoutParams( 74 lp.setTitle("AssistDisclosure"); 76 mWm.addView(mView, lp);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | QSDualTileLabel.java | 93 final LayoutParams lp = 95 lp.gravity = Gravity.CENTER_HORIZONTAL; 96 return lp;
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
H A D | ErrorFragment.java | 241 ViewGroup.MarginLayoutParams lp = (ViewGroup.MarginLayoutParams) textView.getLayoutParams(); 242 lp.topMargin = topMargin; 243 textView.setLayoutParams(lp);
|
H A D | ErrorSupportFragment.java | 243 ViewGroup.MarginLayoutParams lp = (ViewGroup.MarginLayoutParams) textView.getLayoutParams(); 244 lp.topMargin = topMargin; 245 textView.setLayoutParams(lp);
|