Home
last modified time | relevance | path

Searched refs:getLayoutParams (Results 1 – 25 of 149) sorted by relevance

123456

/packages/apps/Contacts/src/com/android/contacts/widget/
DMultiShrinkScroller.java357 = mPhotoViewContainer.getLayoutParams(); in initialize()
365 .getLayoutParams(); in initialize()
388 = (FrameLayout.LayoutParams) mActionBarGradientView.getLayoutParams(); in configureGradientViewHeights()
392 = (FrameLayout.LayoutParams) mTitleGradientView.getLayoutParams(); in configureGradientViewHeights()
395 = (FrameLayout.LayoutParams) mTitleAndPhoneticNameView.getLayoutParams(); in configureGradientViewHeights()
752 = mToolbar.getLayoutParams(); in setToolbarHeight()
762 return mToolbar.getLayoutParams().height; in getToolbarHeight()
771 = mToolbar.getLayoutParams(); in setHeaderHeight()
780 return mToolbar.getLayoutParams().height; in getHeaderHeight()
951 return mTransparentView.getLayoutParams().height; in getTransparentViewHeight()
[all …]
/packages/services/Car/car-ui-provider/src/android/car/ui/provider/
DCarDrawerLayout.java419 LayoutParams lp = (LayoutParams) findDrawerView().getLayoutParams(); in setDrawerLockMode()
540 final LayoutParams lp = (LayoutParams) drawerView.getLayoutParams(); in dispatchOnDrawerClosed()
550 final LayoutParams lp = (LayoutParams) drawerView.getLayoutParams(); in dispatchOnDrawerOpened()
582 LayoutParams lp = (LayoutParams) drawerView.getLayoutParams(); in setDrawerViewOffset()
588 return ((LayoutParams) findDrawerView().getLayoutParams()).onScreen; in onScreen()
596 final int gravity = ((LayoutParams) drawerView.getLayoutParams()).gravity; in getDrawerViewAbsoluteGravity()
696 LayoutParams lp = ((LayoutParams) view.getLayoutParams()); in onMeasure()
705 lp = ((LayoutParams) view.getLayoutParams()); in onMeasure()
723 LayoutParams drawerLp = (LayoutParams) drawerView.getLayoutParams(); in onLayout()
724 LayoutParams contentLp = (LayoutParams) contentView.getLayoutParams(); in onLayout()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/util/
DFocusLogic.java177 int cx = ((CellLayout.LayoutParams) cell.getLayoutParams()).cellX; in createSparseMatrix()
178 int cy = ((CellLayout.LayoutParams) cell.getLayoutParams()).cellY; in createSparseMatrix()
229 int cx = ((CellLayout.LayoutParams) cell.getLayoutParams()).cellX; in createSparseMatrixWithHotseat()
230 int cy = ((CellLayout.LayoutParams) cell.getLayoutParams()).cellY; in createSparseMatrixWithHotseat()
248 hotseatParent.getChildAt(i).getLayoutParams()).cellX; in createSparseMatrixWithHotseat()
252 hotseatParent.getChildAt(i).getLayoutParams()).cellY; in createSparseMatrixWithHotseat()
286 int cx = ((CellLayout.LayoutParams) cell.getLayoutParams()).cellX; in createSparseMatrixWithPivotColumn()
287 int cy = ((CellLayout.LayoutParams) cell.getLayoutParams()).cellY; in createSparseMatrixWithPivotColumn()
557 final int newRow = ((CellLayout.LayoutParams) oldView.getLayoutParams()).cellY;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/
DEmojiLayoutParams.java64 final LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) vp.getLayoutParams(); in setPagerProperties()
71 final LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) v.getLayoutParams(); in setCategoryPageIdViewProperties()
81 final LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) ll.getLayoutParams(); in setActionBarProperties()
87 final LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) v.getLayoutParams(); in setKeyProperties()
/packages/apps/Messaging/src/com/android/messaging/ui/
DListEmptyView.java66 ((LinearLayout.LayoutParams) mEmptyImageHint.getLayoutParams()).gravity = gravity; in setIsVerticallyCentered()
67 ((LinearLayout.LayoutParams) mEmptyTextHint.getLayoutParams()).gravity = gravity; in setIsVerticallyCentered()
68 getLayoutParams().height = in setIsVerticallyCentered()
DLineWrapLayout.java67 LayoutParams layoutParams = (LayoutParams) currChild.getLayoutParams(); in onMeasure()
115 LayoutParams layoutParams = (LayoutParams) currChild.getLayoutParams(); in onLayout()
144 LayoutParams layoutParams = (LayoutParams) currChild.getLayoutParams(); in onLayout()
/packages/apps/Launcher2/src/com/android/launcher2/
DShortcutAndWidgetContainer.java64 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); in getChildAt()
84 … final CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); in dispatchDraw()
117 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); in measureChild()
140 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); in onLayout()
DPagedViewCellLayoutChildren.java93 (PagedViewCellLayout.LayoutParams) child.getLayoutParams(); in onMeasure()
122 (PagedViewCellLayout.LayoutParams) child.getLayoutParams(); in onLayout()
135 (PagedViewCellLayout.LayoutParams) child.getLayoutParams(); in onLayout()
/packages/apps/Settings/src/com/android/settings/widget/
DMatchParentShrinkingLinearLayout.java337 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersVertical()
350 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersVertical()
365 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersHorizontal()
387 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersHorizontal()
514 LayoutParams lp = (LayoutParams) child.getLayoutParams(); in getBaseline()
681 LayoutParams lp = (LayoutParams) child.getLayoutParams(); in measureVertical()
797 child.getLayoutParams(); in measureVertical()
833 LayoutParams lp = (LayoutParams) child.getLayoutParams(); in measureVertical()
926 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in measureVertical()
965 ((LayoutParams)child.getLayoutParams()); in forceUniformWidth()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DViewLayoutUtils.java49 final ViewGroup.LayoutParams lp = view.getLayoutParams(); in placeViewAt()
67 final ViewGroup.LayoutParams params = view.getLayoutParams(); in updateLayoutHeightOf()
75 final ViewGroup.LayoutParams lp = view.getLayoutParams(); in updateLayoutGravityOf()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DConversationMessageBubbleView.java70 mBubbleBackground.getLayoutParams().width = mMorphedWidth; in onMeasure()
72 mBubbleBackground.getLayoutParams().width = LayoutParams.WRAP_CONTENT; in onMeasure()
118 mBubbleBackground.getLayoutParams().width = LayoutParams.WRAP_CONTENT; in kickOffMorphAnimation()
/packages/apps/Launcher3/src/com/android/launcher3/
DShortcutAndWidgetContainer.java71 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); in getChildAt()
91 … final CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); in dispatchDraw()
145 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); in measureChild()
180 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); in onLayout()
DDeviceProfile.java455 lp = (FrameLayout.LayoutParams) searchBar.getLayoutParams(); in layout()
466 … FrameLayout.LayoutParams targetsLp = (FrameLayout.LayoutParams) targets.getLayoutParams(); in layout()
478 lp = (FrameLayout.LayoutParams) workspace.getLayoutParams(); in layout()
487 lp = (FrameLayout.LayoutParams) hotseat.getLayoutParams(); in layout()
530 lp = (FrameLayout.LayoutParams) pageIndicator.getLayoutParams(); in layout()
543 lp = (FrameLayout.LayoutParams) overviewMode.getLayoutParams(); in layout()
562 MarginLayoutParams clp = (MarginLayoutParams) lastChild.getLayoutParams(); in layout()
DFocusHelper.java127 int row = ((CellLayout.LayoutParams) v.getLayoutParams()).cellY; in onKey()
223 .getChildAt(iconIndex).getLayoutParams()).cellX; in handleHotseatButtonKeyEvent()
301 .getShortcutsAndWidgets().getChildAt(0).getLayoutParams()).isFullscreen; in handleHotseatButtonKeyEvent()
313 .getShortcutsAndWidgets().getChildAt(0).getLayoutParams()).isFullscreen; in handleHotseatButtonKeyEvent()
408 int row = ((CellLayout.LayoutParams) v.getLayoutParams()).cellY; in handleIconKeyEvent()
448 row = ((CellLayout.LayoutParams) v.getLayoutParams()).cellY; in handleIconKeyEvent()
/packages/apps/TV/common/src/com/android/tv/common/ui/setup/
DSetupMultiPaneFragment.java47 ((MarginLayoutParams) doneButtonContainer.getLayoutParams()).rightMargin = in onCreateView()
51 ((MarginLayoutParams) doneButtonContainer.getLayoutParams()).leftMargin = in onCreateView()
DSetupGuidedStepFragment.java50 view.findViewById(R.id.content_fragment).getLayoutParams(); in onCreateView()
62 R.id.guidedactions_list).getLayoutParams(); in onCreateView()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DMiniDrawerView.java202 final LayoutParams params = (LayoutParams) child.getLayoutParams(); in onLayout()
230 final LayoutParams childToHideParams = (LayoutParams) childToHide.getLayoutParams(); in onLayout()
247 final LayoutParams spacerParams = (LayoutParams) mSpacer.getLayoutParams(); in measureSpacer()
/packages/services/Car/car-support-lib/src/android/support/car/ui/
DMaxWidthLayout.java77 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure()
85 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); in onMeasure()
/packages/apps/DeskClock/src/com/android/deskclock/
DCircleButtonsLayout.java75 .getLayoutParams(); in remeasureViews()
83 MarginLayoutParams labelParams = (MarginLayoutParams) mLabel.getLayoutParams(); in remeasureViews()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/wear/
DTitledSettingsFragment.java103 ((ViewGroup.MarginLayoutParams) view.getLayoutParams()).topMargin; in onLayoutChange()
148 (LinearLayout.LayoutParams) header.getLayoutParams(); in positionOnCircular()
221 LinearLayout.LayoutParams params = (LinearLayout.LayoutParams) mHeader.getLayoutParams(); in adjustHeaderSize()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DSettingsToast.java95 Uri.parse(iconUri)).width(mIconView.getLayoutParams().width) in SettingsToast()
96 .height(mIconView.getLayoutParams().height).build(), mBitmapCallBack); in SettingsToast()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DHeaderElevationController.java55 lp.topMargin = ((FrameLayout.LayoutParams) header.getLayoutParams()).height; in ControllerV16()
69 FrameLayout.LayoutParams lp = (FrameLayout.LayoutParams) mShadow.getLayoutParams(); in updateBackgroundPadding()
/packages/apps/TV/src/com/android/tv/ui/
DTvTransitionManager.java110 LayoutParams lp = (LayoutParams) mInputBannerView.getLayoutParams(); in goToChannelBannerScene()
167 (FrameLayout.LayoutParams) mEmptyView.getLayoutParams(); in initIfNeeded()
169 (ViewGroup.MarginLayoutParams) mCurrentSceneView.getLayoutParams(); in initIfNeeded()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/
DProgressDialogFragment.java57 final ViewGroup.LayoutParams params = view.getLayoutParams(); in onCreateView()
118 final ViewGroup.LayoutParams params = root.getLayoutParams(); in setContentWidth()
/packages/apps/ContactsCommon/src/com/android/contacts/common/widget/
DFloatingActionButtonController.java157 mFloatingActionButtonContainer.getLayoutParams().width = dimension; in resize()
158 mFloatingActionButtonContainer.getLayoutParams().height = dimension; in resize()

123456