/frameworks/layoutlib/bridge/src/android/graphics/ |
D | Gradient_Delegate.java | 114 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/support/percent/api_legacy/ |
D | 28.0.0-alpha1.txt | 1 package android.support.percent { 7 …method protected android.support.percent.PercentFrameLayout.LayoutParams generateDefaultLayoutPara… 8 …method public android.support.percent.PercentFrameLayout.LayoutParams generateLayoutParams(android… 11 …tends android.widget.FrameLayout.LayoutParams implements android.support.percent.PercentLayoutHelp… 18 …ctor public PercentFrameLayout.LayoutParams(android.support.percent.PercentFrameLayout.LayoutParam… 19 …method public android.support.percent.PercentLayoutHelper.PercentLayoutInfo getPercentLayoutInfo(); 26 …method public static android.support.percent.PercentLayoutHelper.PercentLayoutInfo getPercentLayou… 50 …method public abstract android.support.percent.PercentLayoutHelper.PercentLayoutInfo getPercentLay… 57 …method protected android.support.percent.PercentRelativeLayout.LayoutParams generateDefaultLayoutP… 58 …method public android.support.percent.PercentRelativeLayout.LayoutParams generateLayoutParams(andr… [all …]
|
D | current.txt | 1 package android.support.percent { 7 …method protected android.support.percent.PercentFrameLayout.LayoutParams generateDefaultLayoutPara… 8 …method public android.support.percent.PercentFrameLayout.LayoutParams generateLayoutParams(android… 11 …tends android.widget.FrameLayout.LayoutParams implements android.support.percent.PercentLayoutHelp… 18 …ctor public PercentFrameLayout.LayoutParams(android.support.percent.PercentFrameLayout.LayoutParam… 19 …method public android.support.percent.PercentLayoutHelper.PercentLayoutInfo getPercentLayoutInfo(); 26 …method public static android.support.percent.PercentLayoutHelper.PercentLayoutInfo getPercentLayou… 50 …method public abstract android.support.percent.PercentLayoutHelper.PercentLayoutInfo getPercentLay… 57 …method protected android.support.percent.PercentRelativeLayout.LayoutParams generateDefaultLayoutP… 58 …method public android.support.percent.PercentRelativeLayout.LayoutParams generateLayoutParams(andr… [all …]
|
D | 26.0.0.txt | 1 package android.support.percent { 7 …method protected android.support.percent.PercentFrameLayout.LayoutParams generateDefaultLayoutPara… 8 …method public android.support.percent.PercentFrameLayout.LayoutParams generateLayoutParams(android… 11 …tends android.widget.FrameLayout.LayoutParams implements android.support.percent.PercentLayoutHelp… 18 …ctor public PercentFrameLayout.LayoutParams(android.support.percent.PercentFrameLayout.LayoutParam… 19 …method public android.support.percent.PercentLayoutHelper.PercentLayoutInfo getPercentLayoutInfo(); 26 …method public static android.support.percent.PercentLayoutHelper.PercentLayoutInfo getPercentLayou… 50 …method public abstract android.support.percent.PercentLayoutHelper.PercentLayoutInfo getPercentLay… 57 …method protected android.support.percent.PercentRelativeLayout.LayoutParams generateDefaultLayoutP… 58 …method public android.support.percent.PercentRelativeLayout.LayoutParams generateLayoutParams(andr… [all …]
|
D | 26.1.0.txt | 1 package android.support.percent { 7 …method protected android.support.percent.PercentFrameLayout.LayoutParams generateDefaultLayoutPara… 8 …method public android.support.percent.PercentFrameLayout.LayoutParams generateLayoutParams(android… 11 …tends android.widget.FrameLayout.LayoutParams implements android.support.percent.PercentLayoutHelp… 18 …ctor public PercentFrameLayout.LayoutParams(android.support.percent.PercentFrameLayout.LayoutParam… 19 …method public android.support.percent.PercentLayoutHelper.PercentLayoutInfo getPercentLayoutInfo(); 26 …method public static android.support.percent.PercentLayoutHelper.PercentLayoutInfo getPercentLayou… 50 …method public abstract android.support.percent.PercentLayoutHelper.PercentLayoutInfo getPercentLay… 57 …method protected android.support.percent.PercentRelativeLayout.LayoutParams generateDefaultLayoutP… 58 …method public android.support.percent.PercentRelativeLayout.LayoutParams generateLayoutParams(andr… [all …]
|
D | 27.0.0.txt | 1 package android.support.percent { 7 …method protected android.support.percent.PercentFrameLayout.LayoutParams generateDefaultLayoutPara… 8 …method public android.support.percent.PercentFrameLayout.LayoutParams generateLayoutParams(android… 11 …tends android.widget.FrameLayout.LayoutParams implements android.support.percent.PercentLayoutHelp… 18 …ctor public PercentFrameLayout.LayoutParams(android.support.percent.PercentFrameLayout.LayoutParam… 19 …method public android.support.percent.PercentLayoutHelper.PercentLayoutInfo getPercentLayoutInfo(); 26 …method public static android.support.percent.PercentLayoutHelper.PercentLayoutInfo getPercentLayou… 50 …method public abstract android.support.percent.PercentLayoutHelper.PercentLayoutInfo getPercentLay… 57 …method protected android.support.percent.PercentRelativeLayout.LayoutParams generateDefaultLayoutP… 58 …method public android.support.percent.PercentRelativeLayout.LayoutParams generateLayoutParams(andr… [all …]
|
D | 27.1.0.txt | 1 package android.support.percent { 7 …method protected android.support.percent.PercentFrameLayout.LayoutParams generateDefaultLayoutPara… 8 …method public android.support.percent.PercentFrameLayout.LayoutParams generateLayoutParams(android… 11 …tends android.widget.FrameLayout.LayoutParams implements android.support.percent.PercentLayoutHelp… 18 …ctor public PercentFrameLayout.LayoutParams(android.support.percent.PercentFrameLayout.LayoutParam… 19 …method public android.support.percent.PercentLayoutHelper.PercentLayoutInfo getPercentLayoutInfo(); 26 …method public static android.support.percent.PercentLayoutHelper.PercentLayoutInfo getPercentLayou… 50 …method public abstract android.support.percent.PercentLayoutHelper.PercentLayoutInfo getPercentLay… 57 …method protected android.support.percent.PercentRelativeLayout.LayoutParams generateDefaultLayoutP… 58 …method public android.support.percent.PercentRelativeLayout.LayoutParams generateLayoutParams(andr… [all …]
|
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
D | ItemAlignmentFacet.java | 107 public final void setItemAlignmentOffsetPercent(float percent) { in setItemAlignmentOffsetPercent() argument 108 if ((percent < 0 || percent > 100) in setItemAlignmentOffsetPercent() 109 && percent != ITEM_ALIGN_OFFSET_PERCENT_DISABLED) { in setItemAlignmentOffsetPercent() 112 mOffsetPercent = percent; in setItemAlignmentOffsetPercent()
|
D | WindowAlignment.java | 120 public final void setWindowAlignmentOffsetPercent(float percent) { in setWindowAlignmentOffsetPercent() argument 121 if ((percent < 0 || percent > 100) in setWindowAlignmentOffsetPercent() 122 && percent != WINDOW_ALIGN_OFFSET_PERCENT_DISABLED) { in setWindowAlignmentOffsetPercent() 125 mWindowAlignmentOffsetPercent = percent; in setWindowAlignmentOffsetPercent()
|
D | GuidanceStylingRelativeLayout.java | 39 float percent = ta.getFloat(R.styleable.LeanbackGuidedStepTheme_guidedStepKeyline, 40); in getKeyLinePercent() local 41 return percent; in getKeyLinePercent()
|
/frameworks/av/media/extractors/mp3/ |
D | XINGSeeker.cpp | 51 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/media/java/android/media/ |
D | Rating.java | 224 public static Rating newPercentageRating(float percent) { in newPercentageRating() argument 225 if ((percent < 0.0f) || (percent > 100.0f)) { in newPercentageRating() 229 return new Rating(RATING_PERCENTAGE, percent); in newPercentageRating()
|
D | Rating2.java | 203 public static @Nullable Rating2 newPercentageRating(float percent) { in newPercentageRating() argument 204 return ApiLoader.getProvider().newPercentageRating_Rating2(percent); in newPercentageRating()
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
D | UiObject.java | 927 public boolean pinchOut(int percent, int steps) throws UiObjectNotFoundException { in pinchOut() argument 929 percent = (percent < 0) ? 1 : (percent > 100) ? 100 : percent; in pinchOut() 930 float percentage = percent / 100f; in pinchOut() 965 public boolean pinchIn(int percent, int steps) throws UiObjectNotFoundException { in pinchIn() argument 967 percent = (percent < 0) ? 0 : (percent > 100) ? 100 : percent; in pinchIn() 968 float percentage = percent / 100f; in pinchIn()
|
/frameworks/av/packages/MediaComponents/src/com/android/media/ |
D | Rating2Impl.java | 132 public static Rating2 newPercentageRating_impl(float percent) { in newPercentageRating_impl() argument 133 if ((percent < 0.0f) || (percent > 100.0f)) { in newPercentageRating_impl() 137 return new Rating2Impl(RATING_PERCENTAGE, percent).getInstance(); in newPercentageRating_impl()
|
/frameworks/support/media/src/main/java/androidx/media/ |
D | Rating2.java | 249 public static @Nullable Rating2 newPercentageRating(float percent) { in newPercentageRating() argument 250 if ((percent < 0.0f) || (percent > 100.0f)) { in newPercentageRating() 254 return new Rating2(RATING_PERCENTAGE, percent); in newPercentageRating()
|
/frameworks/base/tests/OneMedia/src/com/android/onemedia/playback/ |
D | Renderer.java | 175 protected void pushOnBufferingUpdate(int percent) { in pushOnBufferingUpdate() argument 177 listener.onBufferingUpdate(percent); in pushOnBufferingUpdate() 216 public void onBufferingUpdate(int percent); in onBufferingUpdate() argument
|
/frameworks/support/media/src/main/java/android/support/v4/media/ |
D | RatingCompat.java | 234 public static RatingCompat newPercentageRating(float percent) { in newPercentageRating() argument 235 if ((percent < 0.0f) || (percent > 100.0f)) { in newPercentageRating() 239 return new RatingCompat(RATING_PERCENTAGE, percent); in newPercentageRating()
|
/frameworks/base/core/java/android/os/ |
D | UpdateEngine.java | 114 public void onStatusUpdate(final int status, final float percent) { in bind() 119 callback.onStatusUpdate(status, percent); in bind() 123 callback.onStatusUpdate(status, percent); in bind()
|
D | UpdateEngineCallback.java | 41 public abstract void onStatusUpdate(int status, float percent); in onStatusUpdate() argument
|
/frameworks/support/samples/SupportPercentDemos/src/main/java/com/example/android/support/percent/ |
D | SimplePercentFrameLayoutActivity.java | 17 package com.example.android.support.percent;
|
D | IncludePercentFrameLayoutActivity.java | 17 package com.example.android.support.percent;
|
D | SimplePercentRelativeLayoutActivity.java | 17 package com.example.android.support.percent;
|
D | PercentRelativeLayoutActivityHPaddings.java | 17 package com.example.android.support.percent;
|
D | PercentRelativeLayoutActivityVPaddings.java | 17 package com.example.android.support.percent;
|