/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | LineWrapLayout.java | 67 LayoutParams layoutParams = (LayoutParams) currChild.getLayoutParams(); in onMeasure() local 68 int startMargin = layoutParams.getStartMargin(); in onMeasure() 69 int endMargin = layoutParams.getEndMargin(); in onMeasure() 72 int childMeasuredHeight = currChild.getMeasuredHeight() + layoutParams.topMargin + in onMeasure() 73 layoutParams.bottomMargin; in onMeasure() 115 LayoutParams layoutParams = (LayoutParams) currChild.getLayoutParams(); in onLayout() local 118 int startMargin = layoutParams.getStartMargin(); in onLayout() 119 int endMargin = layoutParams.getEndMargin(); in onLayout() 128 currLineHeight = Math.max(currLineHeight, childHeight + layoutParams.topMargin + in onLayout() 129 layoutParams.bottomMargin); in onLayout() [all …]
|
D | AttachmentPreviewFactory.java | 120 final ViewGroup.LayoutParams layoutParams = new ViewGroup.LayoutParams( in createMultiplePreview() local 122 multiAttachmentLayout.setLayoutParams(layoutParams); in createMultiplePreview() 198 final ViewGroup.LayoutParams layoutParams = imageView.getLayoutParams(); in createPendingAttachmentPreview() local 201 layoutParams.width = attachmentData.getWidth() == MessagePartData.UNSPECIFIED_SIZE ? in createPendingAttachmentPreview() 203 layoutParams.height = attachmentData.getHeight() == MessagePartData.UNSPECIFIED_SIZE ? in createPendingAttachmentPreview()
|
/packages/apps/TV/src/com/android/tv/ui/ |
D | TvViewUiManager.java | 471 private void setTvViewPosition(final FrameLayout.LayoutParams layoutParams, in setTvViewPosition() argument 474 Log.d(TAG, "setTvViewPosition: w=" + layoutParams.width + " h=" + layoutParams.height in setTvViewPosition() 475 + " s=" + layoutParams.getMarginStart() + " t=" + layoutParams.topMargin in setTvViewPosition() 476 + " e=" + layoutParams.getMarginEnd() + " b=" + layoutParams.bottomMargin in setTvViewPosition() 480 mTvViewLayoutParams = layoutParams; in setTvViewPosition() 491 mTvViewAnimator.setObjectValues(mTvView.getLayoutParams(), layoutParams); in setTvViewPosition() local 522 Log.d(TAG, "setFixedSize: w=" + layoutParams.width + " h=" in setTvViewPosition() 523 + layoutParams.height); in setTvViewPosition() 525 mTvView.setLayoutParams(layoutParams); in setTvViewPosition() 526 mTvView.setFixedSurfaceSize(layoutParams.width, layoutParams.height); in setTvViewPosition() [all …]
|
D | ChannelBannerView.java | 746 LayoutParams layoutParams = (LayoutParams) getLayoutParams(); 747 if (targetHeight != layoutParams.height) { 748 layoutParams.height = targetHeight; 749 setLayoutParams(layoutParams); 767 LayoutParams layoutParams = (LayoutParams) ChannelBannerView.this.getLayoutParams(); 768 if (value != layoutParams.height) { 769 layoutParams.height = value; 770 ChannelBannerView.this.setLayoutParams(layoutParams);
|
D | KeypadChannelSwitchView.java | 346 ViewGroup.LayoutParams layoutParams = view.getLayoutParams(); in setViewHeight() local 347 if (height != layoutParams.height) { in setViewHeight() 348 layoutParams.height = height; in setViewHeight() 349 view.setLayoutParams(layoutParams); in setViewHeight()
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/ |
D | EllipsizeLayout.java | 97 final LinearLayout.LayoutParams layoutParams = in onMeasure() local 99 if (layoutParams != null) { in onMeasure() 100 outOfSpec |= (layoutParams.weight > 0f); in onMeasure() 102 + layoutParams.leftMargin + layoutParams.rightMargin; in onMeasure()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | PhotoPageProgressBar.java | 42 LayoutParams layoutParams = mProgress.getLayoutParams(); in setProgress() local 43 layoutParams.width = mContainer.getWidth() * progressPercent / 100; in setProgress() 44 mProgress.setLayoutParams(layoutParams); in setProgress()
|
/packages/apps/TV/src/com/android/tv/guide/ |
D | ProgramGuide.java | 395 LayoutParams layoutParams = mTable.getLayoutParams(); in updateGuidePosition() local 396 layoutParams.height = LayoutParams.WRAP_CONTENT; in updateGuidePosition() 397 mTable.setLayoutParams(layoutParams); in updateGuidePosition() 400 LayoutParams layoutParams = mTable.getLayoutParams(); in updateGuidePosition() local 401 layoutParams.height = tableHeight; in updateGuidePosition() 402 mTable.setLayoutParams(layoutParams); in updateGuidePosition() 878 LayoutParams layoutParams = view.getLayoutParams(); 879 return layoutParams.height; 883 LayoutParams layoutParams = view.getLayoutParams(); 884 if (height != layoutParams.height) { [all …]
|
D | ProgramItemView.java | 254 ViewGroup.LayoutParams layoutParams = getLayoutParams(); in setValues() local 255 layoutParams.width = entry.getWidth(); in setValues() 256 setLayoutParams(layoutParams); in setValues()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
D | PinnedHeaderListView.java | 358 ViewGroup.LayoutParams layoutParams = view.getLayoutParams(); in ensurePinnedHeaderLayout() local 362 if (layoutParams != null && layoutParams.width > 0) { in ensurePinnedHeaderLayout() 364 .makeMeasureSpec(layoutParams.width, View.MeasureSpec.EXACTLY); in ensurePinnedHeaderLayout() 370 if (layoutParams != null && layoutParams.height > 0) { in ensurePinnedHeaderLayout() 372 .makeMeasureSpec(layoutParams.height, View.MeasureSpec.EXACTLY); in ensurePinnedHeaderLayout()
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | CompactPhotoEditorView.java | 164 final ViewGroup.LayoutParams layoutParams = getLayoutParams(); in adjustDimensions() 165 layoutParams.height = photoHeight; in adjustDimensions() 166 layoutParams.width = photoWidth; in adjustDimensions() 167 setLayoutParams(layoutParams); in adjustDimensions()
|
D | CompactKindSectionView.java | 394 final LinearLayout.LayoutParams layoutParams = new LinearLayout.LayoutParams( in addNameEditorViews() local 396 layoutParams.setMargins(0, 0, 0, 0); in addNameEditorViews() 397 phoneticNameView.setLayoutParams(layoutParams); in addNameEditorViews()
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | TopRightWeightedLayout.java | 103 … LinearLayout.LayoutParams layoutParams = (LinearLayout.LayoutParams) v.getLayoutParams(); in fixGravityAndPadding() local 104 int gravity = layoutParams.gravity; in fixGravityAndPadding() 145 layoutParams.gravity = gravity; in fixGravityAndPadding()
|
/packages/services/Car/car-ui-provider/src/android/car/ui/provider/ |
D | CarUiEntry.java | 509 CarDrawerLayout.LayoutParams layoutParams = new CarDrawerLayout.LayoutParams( 512 layoutParams.gravity = Gravity.LEFT; 516 layoutParams.setMarginEnd( 519 layoutParams.setMarginEnd( 522 mContentView.findViewById(R.id.drawer).setLayoutParams(layoutParams);
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/ |
D | GrantPermissionsActivity.java | 180 WindowManager.LayoutParams layoutParams = window.getAttributes(); in onCreate() local 181 mViewHandler.updateWindowAttributes(layoutParams); in onCreate() 182 window.setAttributes(layoutParams); in onCreate()
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
D | ActionBarAdapter.java | 605 ViewGroup.LayoutParams layoutParams = mPortraitTabs.getLayoutParams(); in setPortraitTabHeight() local 606 layoutParams.height = height; in setPortraitTabHeight() 607 mPortraitTabs.setLayoutParams(layoutParams); in setPortraitTabHeight()
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
D | TextCandidatesViewManager.java | 566 LinearLayout.LayoutParams layoutParams = in createNormalCandidateView() local 569 lineView.setLayoutParams(layoutParams); in createNormalCandidateView() 577 layoutParams = new LinearLayout.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, in createNormalCandidateView() 579 layoutParams.weight = 0; in createNormalCandidateView() 580 layoutParams.gravity = Gravity.RIGHT; in createNormalCandidateView() 581 tv.setLayoutParams(layoutParams); in createNormalCandidateView()
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/ |
D | ConversationMessageView.java | 994 final ViewGroup.LayoutParams layoutParams = mMessageImageView.getLayoutParams(); in adjustImageViewBounds() local 1001 layoutParams.width = getResources() in adjustImageViewBounds() 1003 layoutParams.height = getResources() in adjustImageViewBounds() 1007 layoutParams.width = ViewGroup.LayoutParams.MATCH_PARENT; in adjustImageViewBounds() 1008 layoutParams.height = ViewGroup.LayoutParams.WRAP_CONTENT; in adjustImageViewBounds()
|
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
D | ExpandingEntryCardView.java | 516 LinearLayout.LayoutParams layoutParams = new LinearLayout.LayoutParams( in generateSeparator() local 529 layoutParams.setMarginStart(marginStart); in generateSeparator() 530 separator.setLayoutParams(layoutParams); in generateSeparator()
|
/packages/apps/TV/src/com/android/tv/ |
D | MainActivity.java | 2146 WindowManager.LayoutParams layoutParams = window.getAttributes(); 2147 layoutParams.preferredRefreshRate = refreshRate; 2148 window.setAttributes(layoutParams);
|