/external/webp/src/enc/ |
webp_enc.c | 303 int percent, int* const percent_store) { 304 if (percent_store != NULL && percent != *percent_store) { 305 *percent_store = percent; 306 if (pic->progress_hook && !pic->progress_hook(percent, pic)) {
|
/frameworks/support/percent/src/android/support/percent/ |
PercentRelativeLayout.java | 17 package android.support.percent; 29 * You can specify dimension or a margin of child by using attributes with "Percent" suffix. Follow 33 * <android.support.percent.PercentRelativeLayout 43 * </android.support.percent.PercentRelativeLayout>
|
PercentFrameLayout.java | 17 package android.support.percent; 30 * You can specify dimension or a margin of child by using attributes with "Percent" suffix. Follow 34 * <android.support.percent.PercentFrameLayout 44 * </android.support.percent.PercentFrameLayout>
|
/packages/apps/Camera2/src/com/android/camera/session/ |
CaptureSession.java | 53 * @param progressPercent The current progress in percent. 126 * Set the progress in percent for the current session. If set to or left at 129 public void setProgress(int percent); 132 * Returns the progress of this session in percent.
|
/external/clang/lib/Lex/ |
TokenConcatenation.cpp | 84 TokenInfo[tok::percent ] |= aci_custom_firstchar; 114 TokenInfo[tok::percent ] |= aci_avoid_equal; // %= 277 case tok::percent: // %>, %:
|
/external/e2fsprogs/resize/ |
online.c | 61 double percent; local 188 percent = (ext2fs_r_blocks_count(sb) * 100.0) / 248 input.reserved_blocks = (blk_t) (percent * input.blocks_count
|
/external/libmtp/examples/ |
pathutils.c | 118 int percent = (sent*100)/total; local 120 printf("Progress: %I64u of %I64u (%d%%)\r", sent, total, percent); 122 printf("Progress: %llu of %llu (%d%%)\r", sent, total, percent);
|
/external/ltp/testcases/kernel/mem/mtest01/ |
mtest01.c | 80 float percent; local 134 ("usage: %s [-c <bytes>] [-b <bytes>|-p <percent>] [-v]\n", 168 percent = (float)maxpercent / 100.00; 171 D = percent * (sstats.mem_unit * total_ram);
|
/frameworks/support/percent/tests/java/android/support/percent/ |
PercentFrameTest.java | 16 package android.support.percent; 18 import static android.support.percent.LayoutDirectionActions.setLayoutDirection; 23 import android.support.percent.test.R;
|
PercentRelativeRtlTest.java | 16 package android.support.percent; 18 import static android.support.percent.LayoutDirectionActions.setLayoutDirection; 23 import android.support.percent.test.R; 74 * Child views are exercising the following percent-based constraints supported by 93 * of percent-based layouts provided by the support library - we do not work around / fix bugs in
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
DragLayer.java | 598 final float percent = (Float) animation.getAnimatedValue(); 602 float alphaPercent = alphaInterpolator == null ? percent : 603 alphaInterpolator.getInterpolation(percent); 604 float motionPercent = motionInterpolator == null ? percent : 605 motionInterpolator.getInterpolation(percent); 609 float scaleX = finalScaleX * percent + initialScaleX * (1 - percent); 610 float scaleY = finalScaleY * percent + initialScaleY * (1 - percent); 700 final float percent = (Float) animation.getAnimatedValue() [all...] |
FolderIcon.java | 208 final float percent = (Float) animation.getAnimatedValue(); 209 mOuterRingSize = (1 + percent * OUTER_RING_GROWTH_FACTOR) * previewSize; 210 mInnerRingSize = (1 + percent * INNER_RING_GROWTH_FACTOR) * previewSize; 237 final float percent = (Float) animation.getAnimatedValue(); 238 mOuterRingSize = (1 + (1 - percent) * OUTER_RING_GROWTH_FACTOR) * previewSize; 239 mInnerRingSize = (1 + (1 - percent) * INNER_RING_GROWTH_FACTOR) * previewSize;
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
DecimalFormatSymbols.java | 424 * Returns the character used for mille percent sign. Different for Arabic, etc. 425 * @return the mille percent character 434 * Sets the character used for mille percent sign. Different for Arabic, etc. 435 * @param perMill the mille percent character 481 * Returns the character used for percent sign. Different for Arabic, etc. 482 * @return the percent character 487 return percent; 491 * Sets the character used for percent sign. Different for Arabic, etc. 492 * @param percent the percent characte 1613 private char percent; field in class:DecimalFormatSymbols [all...] |
/external/autotest/client/cros/ |
power_utils.py | 168 set_percent: Set backlight level to the given brightness percent. 171 percent. 176 get_percent: Get backlight percent currently. 215 logging.info("Default backlight brightness percent = %f", 220 "brightness percent. Setting to %f", 255 def set_percent(self, percent): 256 """Set backlight level to the given brightness percent. 259 percent: float between 0 and 100 261 self._try_bl_cmd('--set_brightness_percent=%f' % (percent)) 273 def set_resume_percent(self, percent) [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
VideoViewTest.java | 252 int percent = mVideoView.getBufferPercentage(); local 253 assertTrue(percent >= 0 && percent <= 100);
|
/external/toybox/kconfig/lxdialog/ |
textbox.c | 384 int percent; local 388 percent = (page - buf) * 100 / strlen(buf); 390 wprintw(win, "(%3d%%)", percent);
|
/developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/ |
ImageCache.java | 493 * Eg. setting percent to 0.2 would set the memory cache to one fifth of the available 494 * memory. Throws {@link IllegalArgumentException} if percent is < 0.01 or > .8. 502 * @param percent Percent of available app memory to use to size memory cache 504 public void setMemCacheSizePercent(float percent) { 505 if (percent < 0.01f || percent > 0.8f) { 506 throw new IllegalArgumentException("setMemCacheSizePercent - percent must be " 509 memCacheSize = Math.round(percent * Runtime.getRuntime().maxMemory() / 1024);
|
/developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/ |
ImageCache.java | 493 * Eg. setting percent to 0.2 would set the memory cache to one fifth of the available 494 * memory. Throws {@link IllegalArgumentException} if percent is < 0.01 or > .8. 502 * @param percent Percent of available app memory to use to size memory cache 504 public void setMemCacheSizePercent(float percent) { 505 if (percent < 0.01f || percent > 0.8f) { 506 throw new IllegalArgumentException("setMemCacheSizePercent - percent must be " 509 memCacheSize = Math.round(percent * Runtime.getRuntime().maxMemory() / 1024);
|
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/ |
ImageCache.java | 493 * Eg. setting percent to 0.2 would set the memory cache to one fifth of the available 494 * memory. Throws {@link IllegalArgumentException} if percent is < 0.01 or > .8. 502 * @param percent Percent of available app memory to use to size memory cache 504 public void setMemCacheSizePercent(float percent) { 505 if (percent < 0.01f || percent > 0.8f) { 506 throw new IllegalArgumentException("setMemCacheSizePercent - percent must be " 509 memCacheSize = Math.round(percent * Runtime.getRuntime().maxMemory() / 1024);
|
/device/linaro/bootloader/arm-trusted-firmware/lib/stdlib/ |
subr_prf.c | 241 const char *p, *percent, *q; local 271 percent = fmt - 1; 535 while (percent < fmt) 536 PCHAR(*percent++);
|
/external/lisa/libs/utils/android/workloads/ |
geekbench.py | 89 Screen.set_brightness(self._target, auto=False, percent=0)
|
gmaps.py | 72 Screen.set_brightness(self._target, auto=False, percent=0)
|
systemui.py | 107 Screen.set_brightness(self._target, auto=False, percent=0)
|
/external/ltp/testcases/realtime/func/rt-migrate/ |
rt-migrate.c | 156 static void print_progress_bar(int percent) 161 if (percent > 100) 162 percent = 100; 173 p = PROGRESS_CHARS * percent / 100;
|
/external/ltp/utils/benchmark/kernbench-0.42/ |
kernbench | 182 echo Percent CPU `show_statistics $temp_percent` >> templog 202 read elapsed_time user_time sys_time percent ctx sleeps <timelog 206 temp_percent=`add_data_point $percent $temp_percent`
|