HomeSort by relevance Sort by last modified time
    Searched refs:percentage (Results 1 - 25 of 161) sorted by null

1 2 3 4 5 6 7

  /external/clang/test/PCH/
objc_property.h 5 float percentage; variable
11 @property float percentage; variable
  /system/update_engine/binder_bindings/android/os/
IUpdateEngineCallback.aidl 22 void onStatusUpdate(int status_code, float percentage);
  /tools/loganalysis/src/com/android/loganalysis/item/
BatteryDischargeStatsInfoItem.java 50 * Set the maximum percentage.
52 public void setMaxPercentage(int percentage) {
53 setAttribute(MAX_PERCENTAGE, percentage);
57 * Set the minimum percentage.
59 public void setMinPercentage(int percentage) {
60 setAttribute(MIN_PERCENTAGE, percentage);
64 * Set the discharge percentage.
85 * Get the maximum percentage.
92 * Get the minimum percentage.
99 * Get the discharge percentage
    [all...]
  /packages/apps/Settings/src/com/android/settings/deviceinfo/
PercentageBarChart.java 44 public final float percentage; field in class:PercentageBarChart.Entry
47 protected Entry(int order, float percentage, Paint paint) {
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 the total width tha
    [all...]
  /external/curl/docs/cmdline-opts/
progress-bar.d 9 shows a percentage if the transfer size is known. For transfers without a
  /external/perfetto/src/base/
watchdog_posix.cc 108 void Watchdog::SetCpuLimit(uint32_t percentage, uint32_t window_ms) {
111 PERFETTO_CHECK(percentage <= 100);
113 percentage == 0);
115 size_t size = percentage == 0 ? 0 : window_ms / polling_interval_ms_ + 1;
117 cpu_limit_percentage_ = percentage;
183 // Compute the percentage over the whole window and check that it remains
191 double percentage = static_cast<double>(difference_ticks) / local
193 if (percentage > cpu_limit_percentage_) {
196 percentage, cpu_limit_percentage_);
  /external/fio/lib/
rand.c 139 unsigned int percentage,
145 if (percentage == 100) {
160 this_len = (segment * (100 - percentage)) / 100;
187 unsigned int percentage,
196 __fill_random_buf_percentage(r, buf, percentage, segment, len,
  /external/linux-kselftest/tools/testing/selftests/powerpc/pmu/
count_instructions.c 33 double percentage; local
47 percentage = (double)difference / events[0].result.value * 100;
56 printf("Delta %lld, %f%%\n", difference, percentage);
  /external/linux-kselftest/tools/testing/selftests/powerpc/pmu/ebb/
instruction_count_test.c 29 double percentage; local
48 percentage = (double)difference / event->result.value * 100;
54 printf("Delta %ld, %f%%\n", difference, percentage);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/TestPhase/
RobustnessTest.java 138 float percentage = (failedRotations / totalRotations) * 100; local
143 if (percentage > MAXIMUM_PERCENT_ROTATION_FAILURE) {
145 recordRotationTestResults(percentage, failedRotations, totalRotations);
151 Log.d("rotationResult", "" + percentage);
159 * @param percentFailed Percentage of failed rotations
  /external/fio/t/
genzipf.c 55 static double percentage; variable
95 printf("\t-p\tGenerate size of data set that are hit by this percentage\n");
116 percentage = atof(optarg);
197 unsigned long blocks = percentage * nnodes / 100;
228 if (percentage) {
242 printf("%.2f%% of hits satisfied in %.3f%cB of cache\n", percentage, cs, p);
243 percentage = 0.0;
  /system/extras/simpleperf/
SampleDisplayer.h 35 double percentage = (total_period != 0) ? 100.0 * period / total_period : 0.0; local
36 return android::base::StringPrintf("%.2f%%", percentage);
48 double percentage = (total_period != 0) ? 100.0 * period / total_period : 0.0; local
49 return android::base::StringPrintf("%.2f%%", percentage);
142 double percentage = local
144 if (percentage < percent_limit_) {
147 percentage_s = android::base::StringPrintf("--%.2f%%-- ", percentage);
  /system/extras/simpleperf/scripts/
report.py 52 def __init__(self, percentage, function_name):
53 self.percentage = percentage
69 strs.append('CallTreeNode percentage = %.2f' % self.percentage)
171 percentage = float(m.group(1))
174 percentage = 100.0
177 node = CallTreeNode(percentage, function_name)
252 if node.percentage != 100.0:
253 percentage_str = '%.2f%% ' % node.percentage
    [all...]
  /tools/tradefederation/core/src/com/android/tradefed/util/
EmmaXmlReportParser.java 116 * Parse the percentage coverage from the XML value.
122 String percentage = null; local
125 percentage = m.group(1);
127 if (percentage != null) {
128 mSummaryMetrics.put(label, percentage);
129 CLog.d("Found: %s: %s", label, percentage);
  /external/v8/tools/ignition/
linux_perf_bytecode_annotate.py 103 percentage = 100.0 * count / total
104 print "{:>8d} ({:>5.1f}%) ".format(count, percentage),
  /external/libmojo/base/android/java/src/org/chromium/base/library_loader/
LibraryLoader.java 211 int percentage = nativePercentageOfResidentNativeLibraryCode(); local
213 // Arbitrary percentage threshold. If most of the native library is already
215 boolean prefetch = coldStart && percentage < 90;
228 if (percentage != -1) {
231 RecordHistogram.recordPercentageHistogram(histogram, percentage);
513 // Returns the percentage of the native library code page that are currently reseident in
  /external/perfetto/include/perfetto/base/
watchdog_posix.h 69 // |window_ms| milliseconds. If |percentage| is 0, any existing limit is
72 void SetCpuLimit(uint32_t percentage, uint32_t window_ms);
  /frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
UtilsTest.java 130 final String percentage = Utils.formatPercentage(TEST_PERCENTAGES[i], true); local
131 assertThat(percentage).isEqualTo(expectedPercentages[i]);
142 final String percentage = Utils.formatPercentage(TEST_PERCENTAGES[i], false); local
143 assertThat(percentage).isEqualTo(expectedPercentages[i]);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DebugSettingsFragment.java 163 private float getValueFromPercentage(final int percentage) {
164 return percentage / PERCENTAGE_FLOAT;
251 private float getValueFromPercentage(final int percentage) {
252 return percentage / PERCENTAGE_FLOAT;
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/
Utils.java 161 public static String formatPercentage(double percentage, boolean round) {
162 final int localPercentage = round ? Math.round((float) percentage) : (int) percentage;
166 /** Formats the ratio of amount/total as a percentage. */
171 /** Formats an integer from 0..100 as a percentage. */
172 public static String formatPercentage(int percentage) {
173 return formatPercentage(((double) percentage) / 100.0);
176 /** Formats a double from 0.0..1.0 as a percentage. */
177 public static String formatPercentage(double percentage) {
178 return NumberFormat.getPercentInstance().format(percentage);
    [all...]
  /external/expat/tests/
minicheck.c 205 double percentage = ((double) passed) / runner->nchecks; local
206 int display = (int) (percentage * 100);
  /packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/
StorageSettingsTest.java 89 final String percentage = NumberFormat.getPercentInstance().format(1); local
93 R.string.storage_summary, percentage, freeSpace));
  /external/autotest/server/site_tests/autoupdate_ForcedOOBEUpdate/
autoupdate_ForcedOOBEUpdate.py 78 """Returns the current payload downloaded percentage."""
97 def _update_continued_where_it_left_off(self, percentage):
101 @param percentage: The percentage the last time we checked.
107 logging.info('New value: %f, old value: %f', completed, percentage)
108 return completed >= percentage
133 Waits until we reach the percentage passed as the input.
135 @param percent: The percentage we want to wait for.
201 # Choose a random downloaded percentage to interrupt the update.
  /packages/apps/PackageInstaller/src/android/support/wearable/view/
CircledImageView.java 399 public void setImageCirclePercentage(float percentage) {
400 float clamped = Math.max(0, Math.min(1, percentage));
407 public void setImageHorizontalOffcenterPercentage(float percentage) {
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.
  /frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
UiObject.java 930 float percentage = percent \/ 100f; local
968 float percentage = percent \/ 100f; local
    [all...]

Completed in 1634 milliseconds

1 2 3 4 5 6 7