Searched refs:percent (Results 1 - 10 of 10) sorted by relevance
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Gradient_Delegate.java | 114 float percent = (currentPos - mPositions[prevPos]) / 117 mGradient[i] = computeColor(mColors[prevPos], mColors[nextPos], percent); 193 * Returns the color between c1, and c2, based on the percent of the distance 196 private int computeColor(int c1, int c2, float percent) { argument 197 int a = computeChannel((c1 >> 24) & 0xFF, (c2 >> 24) & 0xFF, percent); 198 int r = computeChannel((c1 >> 16) & 0xFF, (c2 >> 16) & 0xFF, percent); 199 int g = computeChannel((c1 >> 8) & 0xFF, (c2 >> 8) & 0xFF, percent); 200 int b = computeChannel((c1 ) & 0xFF, (c2 ) & 0xFF, percent); 205 * Returns the channel value between 2 values based on the percent of the distance between 208 private int computeChannel(int c1, int c2, float percent) { argument [all...] |
/frameworks/av/media/libstagefright/ |
H A D | 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);
|
/frameworks/base/core/java/android/webkit/ |
H A D | HTML5Audio.java | 141 public void onBufferingUpdate(MediaPlayer mp, int percent) { argument 142 nativeOnBuffering(percent, mNativePointer); 338 private native void nativeOnBuffering(int percent, int nativePointer); argument
|
H A D | HTML5VideoFullScreen.java | 354 public void onBufferingUpdate(MediaPlayer mp, int percent) { 355 mCurrentBufferPercentage = percent;
|
/frameworks/base/tools/layoutlib/bridge/src/libcore/icu/ |
H A D | ICU_Delegate.java | 196 result.percent = '%';
|
/frameworks/base/core/java/android/app/ |
H A D | ProgressDialog.java | 136 /* Update the number and percent */ 146 double percent = (double) progress / (double) max; 147 SpannableString tmp = new SpannableString(mProgressPercentFormat.format(percent));
|
/frameworks/base/core/java/android/widget/ |
H A D | VideoView.java | 420 public void onBufferingUpdate(MediaPlayer mp, int percent) { 421 mCurrentBufferPercentage = percent;
|
H A D | MediaController.java | 423 int percent = mPlayer.getBufferPercentage(); 424 mProgress.setSecondaryProgress(percent * 10);
|
/frameworks/base/tools/aapt/ |
H A D | Images.cpp | 1221 int percent = (int)(factor*100); local 1222 printf(" (processed image %s: %d%% size of source)\n", printableName.string(), percent); 1358 int percent = (int)(factor*100); local 1360 dest.string(), percent);
|
/frameworks/base/media/java/android/media/ |
H A D | MediaPlayer.java | 2134 * For example a buffering update of 80 percent when half the content 2135 * has already been played indicates that the next 30 percent of the 2139 * @param percent the percentage (0-100) of the content 2142 void onBufferingUpdate(MediaPlayer mp, int percent); argument
|
Completed in 238 milliseconds