/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/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/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 | 196 final ViewGroup.LayoutParams layoutParams = getLayoutParams(); in setPhoto() 197 layoutParams.height = photoHeight; in setPhoto() 198 layoutParams.width = photoWidth; in setPhoto() 199 setLayoutParams(layoutParams); in setPhoto()
|
/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/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/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/PackageInstaller/src/com/android/packageinstaller/permission/ui/ |
D | GrantPermissionsActivity.java | 163 WindowManager.LayoutParams layoutParams = window.getAttributes(); in onCreate() local 164 mViewHandler.updateWindowAttributes(layoutParams); in onCreate() 165 window.setAttributes(layoutParams); in onCreate()
|
/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/activities/ |
D | ActionBarAdapter.java | 599 ViewGroup.LayoutParams layoutParams = mPortraitTabs.getLayoutParams(); in setPortraitTabHeight() local 600 layoutParams.height = height; in setPortraitTabHeight() 601 mPortraitTabs.setLayoutParams(layoutParams); in setPortraitTabHeight()
|
/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()
|