Home
last modified time | relevance | path

Searched refs:layoutParams (Results 1 – 9 of 9) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/widget/
DEllipsizeLayout.java97 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/
DPinnedHeaderListView.java358 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/Gallery2/src/com/android/gallery3d/app/
DPhotoPageProgressBar.java42 LayoutParams layoutParams = mProgress.getLayoutParams(); in setProgress() local
43 layoutParams.width = mContainer.getWidth() * progressPercent / 100; in setProgress()
44 mProgress.setLayoutParams(layoutParams); in setProgress()
/packages/apps/Contacts/src/com/android/contacts/activities/
DPhotoSelectionActivity.java305 LayoutParams layoutParams = new LayoutParams(mSourceBounds.width(), in displayPhoto() local
311 layoutParams.setMargins(mOriginalPos.left, mOriginalPos.top, mOriginalPos.right, in displayPhoto()
313 mPhotoStartParams = layoutParams; in displayPhoto()
314 mPhotoView.setLayoutParams(layoutParams); in displayPhoto()
DActionBarAdapter.java450 ViewGroup.LayoutParams layoutParams = mPortraitTabs.getLayoutParams(); in setPortraitTabHeight() local
451 layoutParams.height = height; in setPortraitTabHeight()
452 mPortraitTabs.setLayoutParams(layoutParams); in setPortraitTabHeight()
/packages/apps/Camera2/src/com/android/camera/ui/
DTopRightWeightedLayout.java103 … LinearLayout.LayoutParams layoutParams = (LinearLayout.LayoutParams) v.getLayoutParams(); in fixGravityAndPadding() local
104 int gravity = layoutParams.gravity; in fixGravityAndPadding()
145 layoutParams.gravity = gravity; in fixGravityAndPadding()
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerListItem.java144 ViewGroup.LayoutParams layoutParams = getLayoutParams(); in setAnimatedHeight() local
145 if (layoutParams != null) { in setAnimatedHeight()
146 layoutParams.height = height; in setAnimatedHeight()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DTextCandidatesViewManager.java566 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/Contacts/src/com/android/contacts/quickcontact/
DExpandingEntryCardView.java425 LinearLayout.LayoutParams layoutParams = new LinearLayout.LayoutParams( in generateSeparator() local
439 layoutParams.setMarginStart(marginStart); in generateSeparator()
440 separator.setLayoutParams(layoutParams); in generateSeparator()