Searched defs:percentage (Results 1 - 2 of 2) sorted by relevance

/packages/apps/Settings/src/com/android/settings/deviceinfo/
H A DPercentageBarChart.java44 public final float percentage; field in class:PercentageBarChart.Entry
47 protected Entry(int order, float percentage, Paint paint) { argument
49 this.percentage = percentage;
89 if (e.percentage == 0.0f) {
92 entryWidth = Math.max(mMinTickWidth, width * e.percentage);
113 if (e.percentage == 0.0f) {
116 entryWidth = Math.max(mMinTickWidth, width * e.percentage);
144 * Adds a new slice to the percentage bar chart. Callers are responsible for
147 * @param percentage th
150 createEntry(int order, float percentage, int color) argument
[all...]
/packages/apps/PackageInstaller/src/android/support/wearable/view/
H A DCircledImageView.java399 public void setImageCirclePercentage(float percentage) { argument
400 float clamped = Math.max(0, Math.min(1, percentage));
407 public void setImageHorizontalOffcenterPercentage(float percentage) { argument
408 if (percentage != mImageHorizontalOffcenterPercentage) {
409 mImageHorizontalOffcenterPercentage = percentage;
457 * Sets the radius of the circle to be a percentage of the largest dimension of the view.
458 * @param circleRadiusPercent A {@code float} from 0 to 1 representing the radius percentage.
475 * Sets the radius of the circle to be a percentage of the largest dimension of the view when
478 * percentage.

Completed in 57 milliseconds