/external/skia/src/views/ |
SkWidget.cpp | 287 SkFixed percent = SkFixedDiv(value, fMax); 290 r.fRight = r.fLeft + SkScalarMul(r.width(), SkFixedToScalar(percent)); 314 SkScalar percent = SkScalarDiv(click->fCurr.fX + SK_Scalar1, this->width() - SK_Scalar1*2); 315 percent = SkMaxScalar(0, SkMinScalar(percent, SK_Scalar1)); 316 this->setValue(SkScalarRound(percent * fMax));
|
/external/e2fsprogs/lib/e2p/ |
Android.mk | 23 percent.c
|
e2p.h | 64 unsigned int e2p_percent(int percent, unsigned int base);
|
/external/skia/src/effects/ |
SkBlurMask.cpp | 371 void SkBlurMask::BuildSqrtGamma(uint8_t gamma[256], SkScalar percent) 374 SkASSERT(percent >= 0 && percent <= SK_Scalar1); 376 int scale = SkScalarRound(percent * 256); 390 void SkBlurMask::BuildSqrGamma(uint8_t gamma[256], SkScalar percent) 393 SkASSERT(percent >= 0 && percent <= SK_Scalar1); 395 int scale = SkScalarRound(percent * 256);
|
/external/tinyalsa/ |
mixer.c | 245 static int percent_to_int(struct snd_ctl_elem_info *ei, int percent) 249 if (percent > 100) 250 percent = 100; 251 else if (percent < 0) 252 percent = 0; 256 return ei->value.integer.min + (range * percent) / 100; 277 int mixer_ctl_set_percent(struct mixer_ctl *ctl, unsigned int id, int percent) 282 return mixer_ctl_set_value(ctl, id, percent_to_int(ctl->info, percent));
|
/external/webkit/Source/WebCore/platform/chromium/ |
ScrollbarThemeChromium.cpp | 128 const float percent = static_cast<float>(i->y()) / scrollbar->totalSize(); local 131 const int yPos = rect.y() + (rect.height() * percent);
|
/external/webkit/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/ |
LeaksViewer.css | 79 .percent-time-status-bar-item {
|
/external/dropbear/ |
progressmeter.c | 115 int percent; local 163 /* percent of transfer done */ 165 percent = ((float)cur_pos / end_pos) * 100; 167 percent = 100; 169 " %3d%% ", percent);
|
/external/webkit/Source/WebCore/platform/graphics/android/ |
MediaPlayerPrivateAndroid.h | 96 void onBuffering(int percent);
|
/external/webkit/Source/WebCore/rendering/ |
AutoTableLayout.cpp | 91 if (cellLogicalWidth.value() > 0 && columnLayout.logicalWidth.type() != Percent) { 106 case Percent: 233 // We substitute 0 percent by (epsilon / percentScaleFactor) percent in two places below to avoid division by zero. 243 float percent = min(static_cast<float>(m_layoutStruct[i].effectiveLogicalWidth.percent()), remainingPercent); local 244 float logicalWidth = static_cast<float>(m_layoutStruct[i].effectiveMaxLogicalWidth) * 100 / max(percent, epsilon); 246 remainingPercent -= percent; 269 // if there was no remaining percent, maxWidth is invalid. 317 case Percent 376 float percent = percentMissing * static_cast<float>(m_layoutStruct[pos].effectiveMaxLogicalWidth) \/ totalWidth; local [all...] |
/external/icu4c/test/perf/perldriver/ |
Output.pm | 24 my $perc = 100; #for percent 49 my $percent = shift; 59 if($percent) { 66 if((($error*$mult < 10)&&!$percent) || (($error<10)&&$percent)) { 72 if($percent) {
|
/libcore/luni/src/main/java/libcore/icu/ |
LocaleData.java | 77 public char percent; field in class:LocaleData 166 "percent=" + percent + "," + 254 if (overrides.percent != '\0') { 255 percent = overrides.percent;
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
DragLayer.java | 556 final float percent = (Float) animation.getAnimatedValue(); 563 float alphaPercent = alphaInterpolator == null ? percent : 564 alphaInterpolator.getInterpolation(percent); 565 float motionPercent = motionInterpolator == null ? percent : 566 motionInterpolator.getInterpolation(percent); 570 mDropViewScale = percent * finalScale + (1 - percent); 598 final float percent = (Float) animation.getAnimatedValue(); 599 mDropViewAlpha = 1 - percent;
|
/ndk/sources/host-tools/make-3.81/ |
commands.c | 49 char *at, *percent, *star, *less; 65 percent = (char *) alloca (len); 66 bcopy (p + 1, percent, len - 1); 67 percent[len - 1] = '\0'; 73 percent = ""; 135 DEFINE_VARIABLE ("%", 1, percent); 48 char *at, *percent, *star, *less; local
|
function.c | 284 pattern_matches (char *pattern, char *percent, char *str) 288 if (percent == 0) 294 percent = find_percent (pattern); 295 if (percent == 0) 299 sfxlen = strlen (percent + 1); 302 if (strlength < (percent - pattern) + sfxlen 303 || !strneq (pattern, str, percent - pattern)) 306 return !strcmp (percent + 1, str + (strlength - sfxlen)); 921 char *percent; 963 pat->percent = find_percent (p) 914 char *percent; member in struct:a_pattern [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/media/ |
MediaPlayerDemo_Video.java | 138 public void onBufferingUpdate(MediaPlayer arg0, int percent) { 139 Log.d(TAG, "onBufferingUpdate percent:" + percent);
|
/external/ipsec-tools/src/racoon/ |
cftoken.l | 125 percent \%
|
/packages/apps/Browser/src/com/android/browser/ |
BrowserSettings.java | 96 // The size of a single step in the text zoom range, in percent 101 // The size of a single step in the double tap zoom range, in percent 187 * Update from TextSize enum to zoom percent 551 static int getRawTextZoom(int percent) { 552 return (percent - 100) / TEXT_ZOOM_STEP + TEXT_ZOOM_START_VAL; 560 static int getRawDoubleTapZoom(int percent) { 561 return (percent - 100) / DOUBLE_TAP_ZOOM_STEP + DOUBLE_TAP_ZOOM_START_VAL; 593 public void setTextZoom(int percent) { 594 mPrefs.edit().putInt(PREF_TEXT_ZOOM, getRawTextZoom(percent)).apply(); 603 public void setDoubleTapZoom(int percent) { [all...] |
/sdk/monkeyrunner/src/com/android/monkeyrunner/ |
MonkeyImage.java | 125 args = {"other", "percent"}, 138 double percent = JythonUtils.getFloat(ap, 1, 1.0); local 140 return impl.sameAs(other, percent);
|
/cts/tests/tests/media/src/android/media/cts/ |
MediaPlayerStreamingTest.java | 164 public void onBufferingUpdate(MediaPlayer mp, int percent) {
|
/external/chromium/chrome/browser/diagnostics/ |
diagnostics_model_unittest.cc | 43 virtual void OnProgress(int id, int percent, DiagnosticsModel* model) {
|
/cts/tests/tests/widget/src/android/widget/cts/ |
VideoViewTest.java | 287 int percent = mVideoView.getBufferPercentage(); local 288 assertTrue(percent >= 0 && percent <= 100);
|
/external/clang/lib/Lex/ |
TokenConcatenation.cpp | 83 TokenInfo[tok::percent ] |= aci_custom_firstchar; 96 TokenInfo[tok::percent ] |= aci_avoid_equal; // %= 227 case tok::percent: // %>, %:
|
/frameworks/base/core/java/android/webkit/ |
HTML5Audio.java | 139 public void onBufferingUpdate(MediaPlayer mp, int percent) { 140 nativeOnBuffering(percent, mNativePointer); 317 private native void nativeOnBuffering(int percent, int nativePointer);
|
/libcore/luni/src/main/native/ |
libcore_icu_NativeDecimalFormat.cpp | 51 jchar percent, jchar perMill, jchar zeroDigit) { 72 result->setSymbol(DecimalFormatSymbols::kPercentSymbol, UnicodeString(percent)); 94 jchar percent, jchar perMill, jchar zeroDigit) { 98 monetaryDecimalSeparator, nan, patternSeparator, percent, perMill, 108 jchar percent, jchar perMill, jchar zeroDigit) { 119 monetaryDecimalSeparator, nan, patternSeparator, percent, perMill,
|