Home
last modified time | relevance | path

Searched refs:percentage (Results 1 – 18 of 18) sorted by relevance

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/
DPercentageBarChart.java44 public final float percentage; field in PercentageBarChart.Entry
47 protected Entry(int order, float percentage, Paint paint) { in Entry() argument
49 this.percentage = percentage; in Entry()
89 if (e.percentage == 0.0f) { in onDraw()
92 entryWidth = Math.max(mMinTickWidth, width * e.percentage); in onDraw()
113 if (e.percentage == 0.0f) { in onDraw()
116 entryWidth = Math.max(mMinTickWidth, width * e.percentage); in onDraw()
150 public static Entry createEntry(int order, float percentage, int color) { in createEntry() argument
154 return new Entry(order, percentage, p); in createEntry()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DPercentageBarChart.java44 public final float percentage; field in PercentageBarChart.Entry
47 protected Entry(int order, float percentage, Paint paint) { in Entry() argument
49 this.percentage = percentage; in Entry()
89 if (e.percentage == 0.0f) { in onDraw()
92 entryWidth = Math.max(mMinTickWidth, width * e.percentage); in onDraw()
113 if (e.percentage == 0.0f) { in onDraw()
116 entryWidth = Math.max(mMinTickWidth, width * e.percentage); in onDraw()
150 public static Entry createEntry(int order, float percentage, int color) { in createEntry() argument
154 return new Entry(order, percentage, p); in createEntry()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterysaver/
DBatterySaverScheduleSeekBarController.java69 final int percentage = ((Integer) newValue) * 5; in onPreferenceChange() local
71 percentage); in onPreferenceChange() local
73 R.string.battery_saver_seekbar_title, Utils.formatPercentage(percentage))); in onPreferenceChange()
DBatterySaverStickyPreferenceController.java42 final String percentage = NumberFormat in refreshSummary() local
46 mContext.getString(R.string.battery_saver_sticky_description_new, percentage)); in refreshSummary()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterysaver/
DBatterySaverScheduleSeekBarController.java69 final int percentage = ((Integer) newValue) * 5; in onPreferenceChange() local
71 percentage); in onPreferenceChange() local
73 R.string.battery_saver_seekbar_title, Utils.formatPercentage(percentage))); in onPreferenceChange()
DBatterySaverStickyPreferenceController.java42 final String percentage = NumberFormat in refreshSummary() local
46 mContext.getString(R.string.battery_saver_sticky_description_new, percentage)); in refreshSummary()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DDebugSettingsFragment.java163 private float getValueFromPercentage(final int percentage) { in setupKeyPreviewAnimationScale()
164 return percentage / PERCENTAGE_FLOAT; in setupKeyPreviewAnimationScale()
251 private float getValueFromPercentage(final int percentage) { in setupKeyboardHeight()
252 return percentage / PERCENTAGE_FLOAT; in setupKeyboardHeight()
DSettings.java347 final float percentage = prefs.getFloat( in readKeyboardHeight() local
349 return (percentage != UNDEFINED_PREFERENCE_VALUE_FLOAT) ? percentage : defaultValue; in readKeyboardHeight()
DAdvancedSettingsFragment.java182 private float getValueFromPercentage(final int percentage) { in setupKeypressSoundVolumeSettings()
183 return percentage / PERCENTAGE_FLOAT; in setupKeypressSoundVolumeSettings()
/packages/apps/PermissionController/src/android/support/wearable/view/
DCircledImageView.java398 public void setImageCirclePercentage(float percentage) { in setImageCirclePercentage() argument
399 float clamped = Math.max(0, Math.min(1, percentage)); in setImageCirclePercentage()
406 public void setImageHorizontalOffcenterPercentage(float percentage) { in setImageHorizontalOffcenterPercentage() argument
407 if (percentage != mImageHorizontalOffcenterPercentage) { in setImageHorizontalOffcenterPercentage()
408 mImageHorizontalOffcenterPercentage = percentage; in setImageHorizontalOffcenterPercentage()
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/
DTopLevelStoragePreferenceControllerTest.java84 final String percentage = NumberFormat.getPercentInstance().format(1); in updateSummary_shouldDisplayUsedPercentAndFreeSpace() local
88 R.string.storage_summary, percentage, freeSpace)); in updateSummary_shouldDisplayUsedPercentAndFreeSpace()
/packages/apps/Contacts/src/com/android/contacts/vcard/
DNotificationImportExportListener.java234 String percentage = in constructProgressNotification() local
236 builder.setContentText(percentage); in constructProgressNotification()
/packages/apps/Dialer/java/com/android/dialer/searchfragment/list/
DNewSearchFragment.java325 private void setHeight(int start, int end, float percentage) { in setHeight() argument
332 params.height = (int) (start + (end - start) * percentage); in setHeight()
/packages/apps/Settings/tests/uitests/assets/
Dsearch_results_list85 Battery percentage;battery_percentage
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...
Dnl_wordlist.combined.gz1dictionary=main:nl,locale=nl,description=Nederlands,date=1414726258, ...