Searched refs:textSizePx (Results 1 – 2 of 2) sorted by relevance
106 float textSizePx = res.getDimension(R.dimen.snackbar_min_text_size); in show() local110 labelView.setTextSize(TypedValue.COMPLEX_UNIT_PX, textSizePx); in show()111 actionView.setTextSize(TypedValue.COMPLEX_UNIT_PX, textSizePx); in show()
392 public static int calculateTextHeight(float textSizePx) { in calculateTextHeight() argument394 p.setTextSize(textSizePx); in calculateTextHeight()