Searched refs:iconParams (Results 1 – 2 of 2) sorted by relevance
469 LayoutParams iconParams = (LayoutParams) mIconView.getLayoutParams(); in setOrientationState() local472 iconParams.gravity = (isRtl ? START : END) | CENTER_VERTICAL; in setOrientationState()473 iconParams.rightMargin = -thumbnailPadding; in setOrientationState()474 iconParams.leftMargin = 0; in setOrientationState()475 iconParams.topMargin = snapshotParams.topMargin / 2; in setOrientationState()478 iconParams.gravity = BOTTOM | CENTER_HORIZONTAL; in setOrientationState()479 iconParams.bottomMargin = -thumbnailPadding; in setOrientationState()480 iconParams.leftMargin = iconParams.topMargin = iconParams.rightMargin = 0; in setOrientationState()483 iconParams.gravity = (isRtl ? END : START) | CENTER_VERTICAL; in setOrientationState()484 iconParams.leftMargin = -thumbnailPadding; in setOrientationState()[all …]
90 LayoutParams iconParams = generateDefaultLayoutParams(); in init() local91 iconParams.width = iconSize; in init()92 iconParams.height = iconSize; in init()93 iconView.setLayoutParams(iconParams); in init()