Home
last modified time | relevance | path

Searched refs:percent (Results 1 – 25 of 127) sorted by relevance

123456

/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DGradient_Delegate.java114 float percent = (currentPos - mPositions[prevPos]) / in precomputeGradientColors() local
117 mGradient[i] = computeColor(mColors[prevPos], mColors[nextPos], percent); in precomputeGradientColors()
196 private int computeColor(int c1, int c2, float percent) { in computeColor() argument
197 int a = computeChannel((c1 >> 24) & 0xFF, (c2 >> 24) & 0xFF, percent); in computeColor()
198 int r = computeChannel((c1 >> 16) & 0xFF, (c2 >> 16) & 0xFF, percent); in computeColor()
199 int g = computeChannel((c1 >> 8) & 0xFF, (c2 >> 8) & 0xFF, percent); in computeColor()
200 int b = computeChannel((c1 ) & 0xFF, (c2 ) & 0xFF, percent); in computeColor()
208 private int computeChannel(int c1, int c2, float percent) { in computeChannel() argument
209 return c1 + (int)((percent * (c2-c1)) + .5); in computeChannel()
/frameworks/av/media/libstagefright/
DXINGSeeker.cpp51 float percent = (float)(*timeUs) * 100 / mDurationUs; in getOffsetForTime() local
53 if( percent <= 0.0f ) { in getOffsetForTime()
55 } else if( percent >= 100.0f ) { in getOffsetForTime()
58 int a = (int)percent; in getOffsetForTime()
70 fx = fa + (fb-fa)*(percent-a); in getOffsetForTime()
/frameworks/base/core/java/android/webkit/
DHTML5Audio.java141 public void onBufferingUpdate(MediaPlayer mp, int percent) { in onBufferingUpdate() argument
142 nativeOnBuffering(percent, mNativePointer); in onBufferingUpdate()
338 private native void nativeOnBuffering(int percent, int nativePointer); in nativeOnBuffering() argument
DHTML5VideoFullScreen.java337 public void onBufferingUpdate(MediaPlayer mp, int percent) {
338 mCurrentBufferPercentage = percent;
/frameworks/base/docs/html/tools/help/
Dmonkey.jd105 <td><code>--pct-touch &lt;percent&gt;</code></td>
111 <td><code>--pct-motion &lt;percent&gt;</code></td>
118 <td><code>--pct-trackball &lt;percent&gt;</code></td>
124 <td><code>--pct-nav &lt;percent&gt;</code></td>
130 <td><code>--pct-majornav &lt;percent&gt;</code></td>
137 <td><code>--pct-syskeys &lt;percent&gt;</code></td>
144 <td><code>--pct-appswitch &lt;percent&gt;</code></td>
150 <td><code>--pct-anyevent &lt;percent&gt;</code></td>
DMonkeyImage.jd121 <em>float</em> percent)
125 the comparison. The <code>percent</code> argument specifies the percentage
349 <em>float</em> percent
358 the comparison. The <code>percent</code> argument specifies the percentage
373 percent
Ddmtracedump.jd60 <td><code>-t&nbsp;&lt;percent&gt;</code></td>
/frameworks/base/core/java/android/app/
DProgressDialog.java146 double percent = (double) progress / (double) max; in onCreate()
147 … SpannableString tmp = new SpannableString(mProgressPercentFormat.format(percent)); in onCreate()
/frameworks/base/tools/layoutlib/bridge/src/libcore/icu/
DICU_Delegate.java196 result.percent = '%'; in initLocaleDataImpl()
/frameworks/base/core/java/android/widget/
DVideoView.java418 public void onBufferingUpdate(MediaPlayer mp, int percent) {
419 mCurrentBufferPercentage = percent;
DMediaController.java423 int percent = mPlayer.getBufferPercentage(); in setProgress() local
424 mProgress.setSecondaryProgress(percent * 10); in setProgress()
/frameworks/base/tools/aapt/
DImages.cpp1221 int percent = (int)(factor*100); in preProcessImage() local
1222 printf(" (processed image %s: %d%% size of source)\n", printableName.string(), percent); in preProcessImage()
1358 int percent = (int)(factor*100); in preProcessImageToCache() local
1360 dest.string(), percent); in preProcessImageToCache()
/frameworks/base/docs/html/guide/topics/sensors/
Dsensors_environment.jd181 <li>RH = actual relative humidity in percent (%)</li>
203 <li>RH = actual relative humidity in percent (%)</li>
/frameworks/base/tests/DumpRenderTree/assets/results/
Dlayout_tests_nontext.txt188 /sdcard/android/layout_tests/css2.1/t040303-c62-percent-00-b-ag.html
1451 /sdcard/android/layout_tests/fast/replaced/percent-height-in-anonymous-block-widget.html
1452 /sdcard/android/layout_tests/fast/replaced/maxheight-percent.html
1453 /sdcard/android/layout_tests/fast/replaced/minwidth-percent.html
1454 /sdcard/android/layout_tests/fast/replaced/maxwidth-percent.html
1465 /sdcard/android/layout_tests/fast/replaced/percent-height-in-anonymous-block-in-table.html
1470 /sdcard/android/layout_tests/fast/replaced/max-width-percent.html
1473 /sdcard/android/layout_tests/fast/replaced/minheight-percent.html
1477 /sdcard/android/layout_tests/fast/replaced/percent-height-in-anonymous-block.html
1530 /sdcard/android/layout_tests/fast/dynamic/subtree-boundary-percent-height.html
[all …]
/frameworks/base/docs/html/about/dashboards/
Dindex.jd72 version at the top. This format indicates the total percent of active devices that are compatible
/frameworks/av/media/libstagefright/codecs/amrwb/
DNOTICE33 otherwise, or (ii) ownership of fifty percent (50%) or more of the
/frameworks/av/libvideoeditor/vss/src/
DNOTICE33 otherwise, or (ii) ownership of fifty percent (50%) or more of the
/frameworks/base/libs/storage/
DNOTICE33 otherwise, or (ii) ownership of fifty percent (50%) or more of the
/frameworks/av/media/mtp/
DNOTICE33 otherwise, or (ii) ownership of fifty percent (50%) or more of the
/frameworks/base/packages/FakeOemFeatures/
DNOTICE33 otherwise, or (ii) ownership of fifty percent (50%) or more of the
/frameworks/native/libs/utils/
DNOTICE33 otherwise, or (ii) ownership of fifty percent (50%) or more of the
/frameworks/av/media/libeffects/lvm/wrapper/
DNOTICE33 otherwise, or (ii) ownership of fifty percent (50%) or more of the
/frameworks/av/media/libstagefright/codecs/mp3dec/
DNOTICE33 otherwise, or (ii) ownership of fifty percent (50%) or more of the
/frameworks/base/cmds/content/
DNOTICE33 otherwise, or (ii) ownership of fifty percent (50%) or more of the
/frameworks/native/cmds/dumpsys/
DNOTICE33 otherwise, or (ii) ownership of fifty percent (50%) or more of the

123456