Searched defs:percent (Results 1 - 4 of 4) sorted by relevance
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | GradientShader.java | 108 float percent = (currentPos - mPositions[prevPos]) / 111 mGradient[i] = computeColor(mColors[prevPos], mColors[nextPos], percent); 184 * Returns the color between c1, and c2, based on the percent of the distance 187 private int computeColor(int c1, int c2, float percent) { argument 188 int a = computeChannel((c1 >> 24) & 0xFF, (c2 >> 24) & 0xFF, percent); 189 int r = computeChannel((c1 >> 16) & 0xFF, (c2 >> 16) & 0xFF, percent); 190 int g = computeChannel((c1 >> 8) & 0xFF, (c2 >> 8) & 0xFF, percent); 191 int b = computeChannel((c1 ) & 0xFF, (c2 ) & 0xFF, percent); 196 * Returns the channel value between 2 values based on the percent of the distance between 199 private int computeChannel(int c1, int c2, float percent) { argument [all...] |
/frameworks/base/media/libstagefright/ |
H A D | MP3Extractor.cpp | 603 float percent = (float)seekTimeUs * 100 / duration; local 605 if( percent <= 0.0f ) { 607 } else if( percent >= 100.0f ) { 610 int a = (int)percent; 622 fx = fa + (fb-fa)*(percent-a);
|
/frameworks/base/media/java/android/media/ |
H A D | MediaPlayer.java | 1377 * @param percent the percentage (0-100) of the buffer 1380 void onBufferingUpdate(MediaPlayer mp, int percent); argument
|
/frameworks/base/tools/aapt/ |
H A D | Images.cpp | 1061 int percent = (int)(factor*100); local 1062 printf(" (processed image %s: %d%% size of source)\n", printableName.string(), percent);
|
Completed in 48 milliseconds