Home
last modified time | relevance | path

Searched defs:amount (Results 1 – 21 of 21) sorted by relevance

/frameworks/rs/cpu_ref/
DrsCpuIntrinsicInlines.h94 static inline float4 clamp(float4 amount, float low, float high) { in clamp()
103 static inline int2 clamp(int2 amount, int low, int high) { in clamp()
110 static inline float2 clamp(float2 amount, float low, float high) { in clamp()
117 static inline int clamp(int amount, int low, int high) { in clamp()
121 static inline float clamp(float amount, float low, float high) { in clamp()
/frameworks/base/core/java/android/util/
DMathUtils.java38 public static int constrain(int amount, int low, int high) { in constrain()
42 public static long constrain(long amount, long low, long high) { in constrain()
46 public static float constrain(float amount, float low, float high) { in constrain()
147 public static float lerp(float start, float stop, float amount) { in lerp()
/frameworks/base/libs/hwui/
DGradientCache.cpp215 void GradientCache::mixBytes(GradientColor& start, GradientColor& end, float amount, in mixBytes()
227 void GradientCache::mixFloats(GradientColor& start, GradientColor& end, float amount, in mixFloats()
281 float amount = (pos - startPos) / distance; in generateTexture() local
DUvMapper.h115 static float lerp(float start, float stop, float amount) { in lerp()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DOrientationHelper.java141 public abstract void offsetChildren(int amount); in offsetChildren()
206 public void offsetChildren(int amount) { in createHorizontalHelper()
/frameworks/base/core/jni/android/graphics/
DUtils.cpp62 ssize_t amount; in read() local
DCreateJavaOutputStreamAdaptor.cpp38 size_t amount = this->doSkip(size - amountSkipped); in read() local
/frameworks/base/core/java/android/text/method/
DBaseMovementMethod.java466 protected boolean scrollLeft(TextView widget, Spannable buffer, int amount) { in scrollLeft()
487 protected boolean scrollRight(TextView widget, Spannable buffer, int amount) { in scrollRight()
508 protected boolean scrollUp(TextView widget, Spannable buffer, int amount) { in scrollUp()
535 protected boolean scrollDown(TextView widget, Spannable buffer, int amount) { in scrollDown()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
DAmbientState.java99 public void setOverScrollAmount(float amount, boolean onTop) { in setOverScrollAmount()
DNotificationStackScrollLayout.java1041 public void setOverScrollAmount(float amount, boolean onTop, boolean animate) { in setOverScrollAmount()
1053 public void setOverScrollAmount(float amount, boolean onTop, boolean animate, in setOverScrollAmount()
1068 public void setOverScrollAmount(float amount, boolean onTop, boolean animate, in setOverScrollAmount()
1076 private void setOverScrollAmountInternal(float amount, boolean onTop, boolean animate, in setOverScrollAmountInternal()
1091 private void notifyOverscrollTopListener(float amount, boolean isRubberbanded) { in notifyOverscrollTopListener()
1115 private void setOverScrolledPixels(float amount, boolean onTop) { in setOverScrolledPixels()
2268 public void onOverscrollTopChanged(float amount, boolean isRubberbanded); in onOverscrollTopChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DSwipeHelper.java319 private void setSwipeAmount(float amount) { in setSwipeAmount()
339 private boolean isValidSwipeDirection(float amount) { in isValidSwipeDirection()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DDragDownHelper.java228 void setEmptyDragAmount(float amount); in setEmptyDragAmount()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DObservableScrollView.java148 void onOverscrolled(float lastX, float lastY, int amount); in onOverscrolled()
DNotificationPanelView.java741 public void onOverscrolled(float lastTouchX, float lastTouchY, int amount) { in onOverscrolled()
753 public void onOverscrollTopChanged(float amount, boolean isRubberbanded) { in onOverscrollTopChanged()
1723 public void setEmptyDragAmount(float amount) { in setEmptyDragAmount()
/frameworks/rs/driver/runtime/
Drs_cl.c793 extern float __attribute__((overloadable)) mix(float start, float stop, float amount) { in mix()
796 extern float2 __attribute__((overloadable)) mix(float2 start, float2 stop, float2 amount) { in mix()
799 extern float3 __attribute__((overloadable)) mix(float3 start, float3 stop, float3 amount) { in mix()
802 extern float4 __attribute__((overloadable)) mix(float4 start, float4 stop, float4 amount) { in mix()
805 extern float2 __attribute__((overloadable)) mix(float2 start, float2 stop, float amount) { in mix()
808 extern float3 __attribute__((overloadable)) mix(float3 start, float3 stop, float amount) { in mix()
811 extern float4 __attribute__((overloadable)) mix(float4 start, float4 stop, float amount) { in mix()
/frameworks/base/core/java/android/preference/
DSeekBarVolumizer.java226 public void changeVolumeBy(int amount) { in changeVolumeBy()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsHelper.java378 double amount = mMinDrainedPower - mComputedPower; in refreshStats() local
382 double amount = mComputedPower - mMaxDrainedPower; in refreshStats() local
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardWidgetPager.java490 protected void overScroll(float amount) { in overScroll()
DPagedView.java1325 protected void acceleratedOverScroll(float amount) { in acceleratedOverScroll()
1350 protected void dampedOverScroll(float amount) { in dampedOverScroll()
1374 protected void overScroll(float amount) { in overScroll()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSwitchCompat.java1059 private static float constrain(float amount, float low, float high) { in constrain()
/frameworks/base/core/java/android/view/
DWindow.java834 public void setDimAmount(float amount) { in setDimAmount()