HomeSort by relevance Sort by last modified time
    Searched refs:percent (Results 26 - 50 of 694) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/icu/icu4c/source/i18n/
nounit.cpp 17 NoUnit U_EXPORT2 NoUnit::percent() { function in class:NoUnit
18 return NoUnit("percent");
  /external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/
CpuMonitor.java 52 * since then deltas would be small and the percent values would fluctuate and
206 int percent = allTime == 0 ? 0 : (int) Math.round(percentFreq * diffRunTime / allTime); local
207 percent = Math.max(0, Math.min(percent, 100));
210 sum3 += percent - percentVec[2];
212 sum10 += percent - percentVec[SAMPLE_SAVE_NUMBER - 1];
214 // Rotate saved percent values, save new measurement in vacated spot.
218 percentVec[0] = percent;
220 cpuCurrent = percent;
  /development/samples/training/ContactsList/src/com/example/android/contactslist/util/
ImageCache.java 39 * @param memCacheSizePercent The cache size as a percent of available app memory.
50 * @param memCacheSizePercent The cache size as a percent of available app memory.
74 * @param memCacheSizePercent The cache size as a percent of available app memory.
148 * Eg. setting percent to 0.2 would set the memory cache to one fifth of the available
149 * memory. Throws {@link IllegalArgumentException} if percent is < 0.05 or > .8.
157 * @param percent Percent of available app memory to use to size memory cache.
159 public static int calculateMemCacheSize(float percent) {
160 if (percent < 0.05f || percent > 0.8f)
    [all...]
  /frameworks/base/media/java/android/media/
Rating.java 221 * @param percent the value of the rating
224 public static Rating newPercentageRating(float percent) {
225 if ((percent < 0.0f) || (percent > 100.0f)) {
229 return new Rating(RATING_PERCENTAGE, percent);
Rating2.java 200 * @param percent the value of the rating
203 public static @Nullable Rating2 newPercentageRating(float percent) {
204 return ApiLoader.getProvider().newPercentageRating_Rating2(percent);
  /packages/apps/TV/src/com/android/tv/util/images/
ImageCache.java 37 * Creates a new ImageCache object with a given cache size percent.
39 * @param memCacheSizePercent The cache size as a percent of available app memory.
67 * @param memCacheSizePercent The cache size as a percent of available app memory. Should be in
167 * setting percent to 0.2 would set the memory cache to one fifth of the available memory.
168 * Throws {@link IllegalArgumentException} if percent is < 0.05 or > .8. memCacheSize is stored
174 * @param percent Percent of available app memory to use to size memory cache.
176 public static int calculateMemCacheSize(float percent) {
177 if (percent < MIN_CACHE_SIZE_PERCENT || percent > MAX_CACHE_SIZE_PERCENT)
    [all...]
  /packages/apps/Camera2/src/com/android/camera/ui/
ProgressOverlay.java 73 * Set the progress state as a percent from 0-100.
75 public void setProgress(int percent) {
76 mProgressRenderer.setProgress(percent);
  /frameworks/av/media/extractors/mp3/
XINGSeeker.cpp 51 float percent = (float)(*timeUs) * 100 / mDurationUs; local
53 if( percent <= 0.0f ) {
55 } else if( percent >= 100.0f ) {
58 int a = (int)percent;
70 fx = fa + (fb-fa)*(percent-a);
  /external/llvm/tools/llvm-diff/
DiffConsumer.cpp 168 size_t percent = format.find('%'); local
169 if (percent == StringRef::npos) {
173 assert(format[percent] == '%');
175 if (percent > 0) out << format.substr(0, percent);
177 switch (format[percent+1]) {
184 format = format.substr(percent+2);
  /external/swiftshader/third_party/LLVM/tools/llvm-diff/
DiffConsumer.cpp 163 size_t percent = format.find('%'); local
164 if (percent == StringRef::npos) {
168 assert(format[percent] == '%');
170 if (percent > 0) out << format.substr(0, percent);
172 switch (format[percent+1]) {
179 format = format.substr(percent+2);
  /external/toybox/toys/posix/
df.c 100 unsigned long long size, used, avail, percent, block; local
131 if (!(used+avail)) percent = 0;
133 percent = (used*100)/(used+avail);
134 if (used*100 != percent*(used+avail)) percent++;
158 w, size_str, w, used_str, w, avail_str, w-1, percent, mt->dir);
164 TT.column_widths[4], percent,
  /frameworks/base/core/java/android/os/
UpdateEngine.java 114 public void onStatusUpdate(final int status, final float percent) {
119 callback.onStatusUpdate(status, percent);
123 callback.onStatusUpdate(status, percent);
  /frameworks/base/tests/OneMedia/src/com/android/onemedia/playback/
Renderer.java 175 protected void pushOnBufferingUpdate(int percent) {
177 listener.onBufferingUpdate(percent);
216 public void onBufferingUpdate(int percent);
  /packages/apps/Settings/src/com/android/settings/fuelgauge/
BatterySaverController.java 92 final int percent = Settings.Global.getInt(mContext.getContentResolver(), local
96 } else if (percent != 0) {
98 Utils.formatPercentage(percent));
  /frameworks/av/packages/MediaComponents/src/com/android/media/
Rating2Impl.java 132 public static Rating2 newPercentageRating_impl(float percent) {
133 if ((percent < 0.0f) || (percent > 100.0f)) {
137 return new Rating2Impl(RATING_PERCENTAGE, percent).getInstance();
  /frameworks/support/media/src/main/java/androidx/media/
Rating2.java 246 * @param percent the value of the rating
249 public static @Nullable Rating2 newPercentageRating(float percent) {
250 if ((percent < 0.0f) || (percent > 100.0f)) {
254 return new Rating2(RATING_PERCENTAGE, percent);
  /external/autotest/client/site_tests/hardware_Fan/
hardware_Fan.py 44 def set_percent(self, percent):
45 cmd = 'mosys sensor set fantach %s %s' % (self._fan_name, percent)
  /external/ipsec-tools/src/libipsec/
policy_token.l 83 percent \%
  /packages/apps/DeskClock/
Android.mk 16 android-support-percent \
  /packages/apps/Settings/src/com/android/settings/datausage/
AppDataUsagePreference.java 34 public AppDataUsagePreference(Context context, AppItem item, int percent,
38 mPercent = percent;
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
GuidanceRelativeLayout.java 29 * Relative layout implementation that lays out child views based on provided keyline percent(
51 float percent = ta.getFloat(R.styleable.LeanbackGuidedStepTheme_guidedStepKeyline, 40); local
53 return percent;
MessagePageFrameLayout.java 53 float percent = ta.getFloat( local
57 return percent;
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/util/
GuidedActionsAlignUtil.java 57 // 50 refers to 50 percent, which refers to mid position of textView.
70 float percent = ta.getFloat( local
74 return percent;
  /external/autotest/server/site_tests/autoupdate_ForcedOOBEUpdate/
autoupdate_ForcedOOBEUpdate.py 131 def _wait_for_percentage(self, percent):
135 @param percent: The percentage we want to wait for.
140 percent)
141 if completed > percent:
202 percent = random.uniform(0.1, 0.8)
203 logging.debug('Percent when we will interrupt: %f', percent)
204 self._wait_for_percentage(percent)
  /hardware/qcom/audio/legacy/libalsa-intf/
alsa_mixer.c 453 long percent; local
456 percent = 100;
458 percent = (long) _percent;
460 return (long)percent_to_index(percent, ei->value.integer.min, ei->value.integer.max);
465 long long percent; local
468 percent = 100;
470 percent = (long) _percent;
472 return (long long)percent_to_index(percent, ei->value.integer.min, ei->value.integer.max);
522 int mixer_ctl_set(struct mixer_ctl *ctl, unsigned percent)
545 ALOGV("tlv db linear: b4 %d\n", percent);
    [all...]

Completed in 1460 milliseconds

12 3 4 5 6 7 8 91011>>