Home | History | Annotate | Download | only in widget

Lines Matching defs:TypedValue

35 import android.util.TypedValue;
152 autoSizeMinTextSizeInPx = TypedValue.applyDimension(
153 TypedValue.COMPLEX_UNIT_SP,
159 autoSizeMaxTextSizeInPx = TypedValue.applyDimension(
160 TypedValue.COMPLEX_UNIT_SP,
206 final float autoSizeMinTextSizeInPx = TypedValue.applyDimension(
207 TypedValue.COMPLEX_UNIT_SP,
210 final float autoSizeMaxTextSizeInPx = TypedValue.applyDimension(
211 TypedValue.COMPLEX_UNIT_SP,
240 * @param unit the desired dimension unit for all sizes above. See {@link TypedValue} for the
267 final float autoSizeMinTextSizeInPx = TypedValue.applyDimension(
269 final float autoSizeMaxTextSizeInPx = TypedValue.applyDimension(
271 final float autoSizeStepGranularityInPx = TypedValue.applyDimension(
289 * @param unit the desired dimension unit for the preset sizes above. See {@link TypedValue} for
313 if (unit == TypedValue.COMPLEX_UNIT_PX) {
320 presetSizesInPx[i] = Math.round(TypedValue.applyDimension(unit,
575 setTextSizeInternal(TypedValue.COMPLEX_UNIT_PX, optimalTextSize);
600 setRawTextSize(TypedValue.applyDimension(unit, size, res.getDisplayMetrics()));