/packages/apps/Camera2/src/com/android/camera/session/ |
CaptureSessionImpl.java | 76 /** The current progress of this session in percent. */ 149 public synchronized void setProgress(int percent) { 150 if (!mHasPreviouslySetProgress && percent == 0 && mImageLifecycleListener != null) { 154 mProgressPercent = percent; 157 listener.onProgressChanged(percent);
|
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
DragLayer.java | 713 final float percent = (Float) animation.getAnimatedValue(); 717 float alphaPercent = alphaInterpolator == null ? percent : 718 alphaInterpolator.getInterpolation(percent); 719 float motionPercent = motionInterpolator == null ? percent : 720 motionInterpolator.getInterpolation(percent); 724 float scaleX = finalScaleX * percent + initialScaleX * (1 - percent); 725 float scaleY = finalScaleY * percent + initialScaleY * (1 - percent); [all...] |
/external/autotest/client/site_tests/kernel_SchedBandwith/ |
kernel_SchedBandwith.py | 201 def _check_stats(name, stats, percent): 208 min_idle = int(percent * total)
|
/external/bart/bart/sched/ |
SchedMultiAssert.py | 230 def getCPUBusyTime(self, level, node, window=None, percent=False): 244 :param percent: If True the result is normalized to the total 247 :type percent: bool 258 if percent:
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
IntlTestDecimalFormatSymbols.java | 146 char percent = en.getPercent(); local 147 fr.setPercent(percent); 149 errln("ERROR: get/set Percent failed");
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
IntlTestDecimalFormatSymbols.java | 145 char percent = en.getPercent(); local 146 fr.setPercent(percent); 148 errln("ERROR: get/set Percent failed");
|
/external/skia/tools/ |
parse_llvm_coverage.py | 118 'percent': percent, 126 } for percent, not_covered_lines, f in results
|
/external/v8/src/ |
compilation-statistics.cc | 70 double percent = stats.delta_.PercentOf(total_stats.delta_); local 82 name, ms, percent, stats.total_allocated_bytes_,
|
/frameworks/support/percent/tests/java/android/support/percent/ |
PercentDynamicLayoutTest.java | 16 package android.support.percent; 26 import android.support.percent.test.R; 41 * Test cases to verify that percent layouts properly account for their own paddings.
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/media/ |
MediaPlayerAdapter.java | 73 public void onBufferingUpdate(MediaPlayer mp, int percent) { 74 mBufferedProgress = getDuration() * percent / 100;
|
/frameworks/support/wear/ |
Android.mk | 35 android-support-percent \
|
/packages/apps/Settings/src/com/android/settings/widget/ |
DonutView.java | 182 public void setPercentage(double percent) { 183 mPercent = percent;
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
AbstractPublicApiTest.java | 147 final int percent = (int) (100 local 150 Log.d(LOG_TAG, percent + "% complete");
|
/prebuilts/go/darwin-x86/src/fmt/ |
scan_test.go | [all...] |
/prebuilts/go/linux-x86/src/fmt/ |
scan_test.go | [all...] |
/system/extras/iotop/ |
iotop.cpp | 37 float percent = ns / stats.threads() / (time * NSEC_PER_SEC / 100.0f); local 38 return std::min(percent, 99.99f);
|
/external/ImageMagick/www/api/ |
property.php | 246 <p>This searches for and replaces \n \r \ replaced by newline, return, and percent resp. &lt; &gt; &amp; replaced by '<', '>', '&' resp. replaced by percent</p> 250 <p>Single letter substitutions will only happen if the character before the percent is NOT a number. But braced substitutions will always be performed. This prevents the typical usage of percent in a interpreted geometry argument from being substituted when the percent is a geometry flag.</p>
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
LocaleMatcher.java | 672 public LanguageMatcherData addDistance(String desired, String supported, int percent, String comment) { 673 return addDistance(desired, supported, percent, false, comment); 680 public LanguageMatcherData addDistance(String desired, String supported, int percent, boolean oneway) { 681 return addDistance(desired, supported, percent, oneway, null); 684 private LanguageMatcherData addDistance(String desired, String supported, int percent, boolean oneway, String comment) { 688 " percent=\"" + percent + "\"" 695 // ", " + percent + "" 702 double score = 1-percent/100.0; // convert from percentage 812 // <languageMatch desired="gsw" supported="de" percent="96" oneway="true" / [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
LocaleMatcher.java | 679 public LanguageMatcherData addDistance(String desired, String supported, int percent, String comment) { 680 return addDistance(desired, supported, percent, false, comment); 687 public LanguageMatcherData addDistance(String desired, String supported, int percent, boolean oneway) { 688 return addDistance(desired, supported, percent, oneway, null); 691 private LanguageMatcherData addDistance(String desired, String supported, int percent, boolean oneway, String comment) { 695 " percent=\"" + percent + "\"" 702 // ", " + percent + "" 709 double score = 1-percent/100.0; // convert from percentage 819 // <languageMatch desired="gsw" supported="de" percent="96" oneway="true" / [all...] |
/prebuilts/misc/common/ub-uiautomator/ |
ub-uiautomator.jar | |
/external/icu/icu4c/source/test/perf/collationperf/ |
CollPerf.pl | 116 #percent 118 my $percent = 0; 122 $percent = substr(((( 126 @resultPER[$n] = @resultPER[$n].$percent."%,"; 139 #store Percent result
|
/external/skia/gm/ |
gradients_no_texture.cpp | 166 const double percent[] = { local 174 const int N = SK_ARRAY_COUNT(percent); 177 pos[i] = SkDoubleToScalar(percent[i] / 100);
|
/external/toolchain-utils/cros_utils/ |
perf_diff.py | 35 if function.percent > 1: 100 self.percent = 0 129 function.percent = float(fields[0].strip('%'))
|
/external/ImageMagick/Magick++/lib/ |
Geometry.cpp | 34 (left_.percent() == right_.percent()) && 403 void Magick::Geometry::percent(bool percent_) function in class:Magick::Geometry 408 bool Magick::Geometry::percent(void) const function in class:Magick::Geometry
|
/external/iproute2/tc/ |
q_netem.c | 36 " [ corrupt PERCENT [CORRELATION]] \n" \ 37 " [ duplicate PERCENT [CORRELATION]]\n" \ 38 " [ loss random PERCENT [CORRELATION]]\n" \ 40 " [ loss gemodel PERCENT [R [1-H [1-K]]]\n" \ 58 /* scaled value used to percent of maximum. */ 59 static void set_percent(__u32 *percent, double per) 61 *percent = (unsigned) rint(per * max_percent_value); 65 /* Parse either a fraction '.3' or percent '30% 79 static int get_percent(__u32 *percent, const char *str) 86 set_percent(percent, per) [all...] |