Searched refs:RoundedCornerEnforcement (Results 1 – 7 of 7) sorted by relevance
72 mEnforcedCornerRadius = RoundedCornerEnforcement.computeEnforcedRadius(getContext()); in BaseLauncherAppWidgetHostView()107 if (mEnforcedCornerRadius <= 0 || !RoundedCornerEnforcement.isRoundedCornerEnabled()) { in enforceRoundedCorners()111 View background = RoundedCornerEnforcement.findBackground(this); in enforceRoundedCorners()113 || RoundedCornerEnforcement.hasAppWidgetOptedOut(this, background)) { in enforceRoundedCorners()117 RoundedCornerEnforcement.computeRoundedRectangle(this, in enforceRoundedCorners()
40 public class RoundedCornerEnforcement { class42 private RoundedCornerEnforcement() { in RoundedCornerEnforcement() method in RoundedCornerEnforcement
67 mEnforcedRoundedCornersForWidget = RoundedCornerEnforcement.computeEnforcedRadius( in PendingItemDragHelper()139 if (RoundedCornerEnforcement.isRoundedCornerEnabled()) { in startDrag()
65 float previewCornerRadius = RoundedCornerEnforcement.computeEnforcedRadius(context); in DatabaseWidgetPreviewLoader()
140 mEnforcedCornerRadius = RoundedCornerEnforcement.computeEnforcedRadius(context); in WidgetCell()
35 import com.android.launcher3.widget.RoundedCornerEnforcement;174 if (RoundedCornerEnforcement.isRoundedCornerEnabled() in getOutlineRadius()
44 import com.android.launcher3.widget.RoundedCornerEnforcement;167 mAppWidgetBackgroundView = RoundedCornerEnforcement.findBackground(mAppWidgetView); in init()