/development/samples/devbytes/animation/CurvedMotion/src/com/example/android/curvedmotion/ |
PathEvaluator.java | 23 * on the operation specified by the endValue (the operation for the interval between 28 public PathPoint evaluate(float t, PathPoint startValue, PathPoint endValue) { 30 if (endValue.mOperation == PathPoint.CURVE) { 33 3 * oneMinusT * oneMinusT * t * endValue.mControl0X + 34 3 * oneMinusT * t * t * endValue.mControl1X + 35 t * t * t * endValue.mX; 37 3 * oneMinusT * oneMinusT * t * endValue.mControl0Y + 38 3 * oneMinusT * t * t * endValue.mControl1Y + 39 t * t * t * endValue.mY; 40 } else if (endValue.mOperation == PathPoint.LINE) [all...] |
/cts/tools/dex-tools/src/dex/reader/ |
DexBuffer.java | 79 int endValue = 0; 84 endValue |= ((value & 0x7F) << 7 * nr);// cut away left most bit 87 return endValue; 94 int endValue = 0; 98 endValue |= (tmp << i * 8); 100 return endValue; 107 short endValue = 0; 111 endValue |= (tmp << i * 8); 113 return endValue; 120 char endValue = 0 [all...] |
/frameworks/support/design/base/android/support/design/widget/ |
AnimationUtils.java | 35 * Linear interpolation between {@code startValue} and {@code endValue} by {@code fraction}. 37 static float lerp(float startValue, float endValue, float fraction) { 38 return startValue + (fraction * (endValue - startValue)); 41 static int lerp(int startValue, int endValue, float fraction) { 42 return startValue + Math.round(fraction * (endValue - startValue));
|
/device/linaro/bootloader/edk2/EmulatorPkg/Library/DxeCoreTimerLib/ |
DxeCoreTimerLib.c | 93 EndValue is not NULL, then the value that the performance counter end with
94 immediately before it rolls over is returned in EndValue. The 64-bit
96 is less than EndValue, then the performance counter counts up. If StartValue
97 is greater than EndValue, then the performance counter counts down. For
99 of 0 and an EndValue of 0xFFFFFFFFFFFFFFFF. A 24-bit free running counter
100 that counts down would have a StartValue of 0xFFFFFF and an EndValue of 0.
104 @param EndValue The value that the performance counter ends with before
114 OUT UINT64 *EndValue OPTIONAL
121 if (EndValue != NULL) {
122 *EndValue = (UINT64)-1LL; [all...] |
/device/linaro/bootloader/edk2/EmulatorPkg/Library/PeiTimerLib/ |
PeiTimerLib.c | 124 EndValue is not NULL, then the value that the performance counter end with
125 immediately before it rolls over is returned in EndValue. The 64-bit
127 is less than EndValue, then the performance counter counts up. If StartValue
128 is greater than EndValue, then the performance counter counts down. For
130 of 0 and an EndValue of 0xFFFFFFFFFFFFFFFF. A 24-bit free running counter
131 that counts down would have a StartValue of 0xFFFFFF and an EndValue of 0.
135 @param EndValue The value that the performance counter ends with before
145 OUT UINT64 *EndValue OPTIONAL
165 if (EndValue != NULL) {
166 *EndValue = (UINT64)-1LL; [all...] |
/packages/apps/Messaging/src/com/android/messaging/ui/animation/ |
RectEvaluatorCompat.java | 38 public Rect evaluate(float fraction, Rect startValue, Rect endValue) { 39 int left = startValue.left + (int) ((endValue.left - startValue.left) * fraction); 40 int top = startValue.top + (int) ((endValue.top - startValue.top) * fraction); 41 int right = startValue.right + (int) ((endValue.right - startValue.right) * fraction); 42 int bottom = startValue.bottom + (int) ((endValue.bottom - startValue.bottom) * fraction);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
FlingAnimationUtils.java | 103 * @param endValue the end value of the animator 106 public void apply(Animator animator, float currValue, float endValue, float velocity) { 107 apply(animator, currValue, endValue, velocity, Math.abs(endValue - currValue)); 116 * @param endValue the end value of the animator 119 public void apply(ViewPropertyAnimator animator, float currValue, float endValue, 121 apply(animator, currValue, endValue, velocity, Math.abs(endValue - currValue)); 130 * @param endValue the end value of the animator 135 public void apply(Animator animator, float currValue, float endValue, float velocity [all...] |
/packages/apps/Dialer/java/com/android/incallui/answer/impl/utils/ |
FlingAnimationUtils.java | 61 * @param endValue the end value of the animator 64 public void apply(Animator animator, float currValue, float endValue, float velocity) { 65 apply(animator, currValue, endValue, velocity, Math.abs(endValue - currValue)); 74 * @param endValue the end value of the animator 78 ViewPropertyAnimator animator, float currValue, float endValue, float velocity) { 79 apply(animator, currValue, endValue, velocity, Math.abs(endValue - currValue)); 88 * @param endValue the end value of the animator 94 Animator animator, float currValue, float endValue, float velocity, float maxDistance) [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/ |
RectFEvaluator.java | 39 * @param endValue The end Rect 44 public RectF evaluate(float fraction, RectF startValue, RectF endValue) { 45 float left = startValue.left + ((endValue.left - startValue.left) * fraction); 46 float top = startValue.top + ((endValue.top - startValue.top) * fraction); 47 float right = startValue.right + ((endValue.right - startValue.right) * fraction); 48 float bottom = startValue.bottom + ((endValue.bottom - startValue.bottom) * fraction);
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/ |
EdkIIGlueTimerLib.h | 82 EndValue is not NULL, then the value that the performance counter end with
83 immediately before it rolls over is returned in EndValue. The 64-bit
85 is less than EndValue, then the performance counter counts up. If StartValue
86 is greater than EndValue, then the performance counter counts down. For
88 of 0 and an EndValue of 0xFFFFFFFFFFFFFFFF. A 24-bit free running counter
89 that counts down would have a StartValue of 0xFFFFFF and an EndValue of 0.
93 @param EndValue The value that the performance counter ends with before
103 OUT UINT64 *EndValue OPTIONAL
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseTimerLibLocalApic/Ebc/ |
EbcTimerLib.c | 106 EndValue is not NULL, then the value that the performance counter end with
107 immediately before it rolls over is returned in EndValue. The 64-bit
109 is less than EndValue, then the performance counter counts up. If StartValue
110 is greater than EndValue, then the performance counter counts down. For
112 of 0 and an EndValue of 0xFFFFFFFFFFFFFFFF. A 24-bit free running counter
113 that counts down would have a StartValue of 0xFFFFFF and an EndValue of 0.
117 @param EndValue The value that the performance counter ends with before
127 OUT UINT64 *EndValue OPTIONAL
|
/device/linaro/bootloader/edk2/MdePkg/Include/Library/ |
TimerLib.h | 73 EndValue is not NULL, then the value that the performance counter end with
74 immediately before it rolls over is returned in EndValue. The 64-bit
76 is less than EndValue, then the performance counter counts up. If StartValue
77 is greater than EndValue, then the performance counter counts down. For
79 of 0 and an EndValue of 0xFFFFFFFFFFFFFFFF. A 24-bit free running counter
80 that counts down would have a StartValue of 0xFFFFFF and an EndValue of 0.
84 @param EndValue The value that the performance counter ends with before
94 OUT UINT64 *EndValue OPTIONAL
|
/device/linaro/bootloader/edk2/MdePkg/Library/BaseTimerLibNullTemplate/ |
TimerLibNull.c | 86 EndValue is not NULL, then the value that the performance counter end with
87 immediately before it rolls over is returned in EndValue. The 64-bit
89 is less than EndValue, then the performance counter counts up. If StartValue
90 is greater than EndValue, then the performance counter counts down. For
92 of 0 and an EndValue of 0xFFFFFFFFFFFFFFFF. A 24-bit free running counter
93 that counts down would have a StartValue of 0xFFFFFF and an EndValue of 0.
97 @param EndValue The value that the performance counter ends with before
107 OUT UINT64 *EndValue OPTIONAL
|
/frameworks/base/core/java/android/animation/ |
FloatEvaluator.java | 28 * where <code>x0</code> is <code>startValue</code>, <code>x1</code> is <code>endValue</code>, 34 * @param endValue The end value; should be of type <code>float</code> or <code>Float</code> 38 public Float evaluate(float fraction, Number startValue, Number endValue) { 40 return startFloat + fraction * (endValue.floatValue() - startFloat);
|
IntEvaluator.java | 28 * where <code>x0</code> is <code>startValue</code>, <code>x1</code> is <code>endValue</code>, 34 * @param endValue The end value; should be of type <code>int</code> or <code>Integer</code> 38 public Integer evaluate(float fraction, Integer startValue, Integer endValue) { 40 return (int)(startInt + fraction * (endValue - startInt));
|
/frameworks/base/libs/hwui/ |
PropertyValuesHolder.h | 66 PropertyValuesHolderImpl(const T& startValue, const T& endValue) 68 , mEndValue(endValue) {} 91 float endValue) 92 : PropertyValuesHolderImpl(startValue, endValue) 106 SkColor startValue, SkColor endValue) 107 : PropertyValuesHolderImpl(startValue, endValue) 122 float endValue) 123 : PropertyValuesHolderImpl(startValue, endValue) 137 PathData* endValue) 138 : PropertyValuesHolderImpl(*startValue, *endValue) [all...] |
/device/linaro/bootloader/edk2/ArmPkg/Library/ArmArchTimerLib/ |
ArmArchTimerLib.c | 196 EndValue is not NULL, then the value that the performance counter end with
197 immediately before it rolls over is returned in EndValue. The 64-bit
199 is less than EndValue, then the performance counter counts up. If StartValue
200 is greater than EndValue, then the performance counter counts down. For
202 of 0 and an EndValue of 0xFFFFFFFFFFFFFFFF. A 24-bit free running counter
203 that counts down would have a StartValue of 0xFFFFFF and an EndValue of 0.
207 @param EndValue The value that the performance counter ends with before
217 OUT UINT64 *EndValue OPTIONAL
225 if (EndValue != NULL) {
227 *EndValue = 0xFFFFFFFFFFFFFFFFUL; [all...] |
/device/linaro/bootloader/edk2/CorebootPayloadPkg/Library/AcpiTimerLib/ |
AcpiTimerLib.c | 198 EndValue is not NULL, then the value that the performance counter end with
199 immediately before it rolls over is returned in EndValue. The 64-bit
201 is less than EndValue, then the performance counter counts up. If StartValue
202 is greater than EndValue, then the performance counter counts down. For
204 of 0 and an EndValue of 0xFFFFFFFFFFFFFFFF. A 24-bit free running counter
205 that counts down would have a StartValue of 0xFFFFFF and an EndValue of 0.
209 @param EndValue The value that the performance counter ends with before
219 OUT UINT64 *EndValue OPTIONAL
226 if (EndValue != NULL) {
227 *EndValue = ACPI_TIMER_COUNT_SIZE - 1; [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseTimerLibLocalApic/Ipf/ |
IpfTimerLib.c | 135 EndValue is not NULL, then the value that the performance counter end with
136 immediately before it rolls over is returned in EndValue. The 64-bit
138 is less than EndValue, then the performance counter counts up. If StartValue
139 is greater than EndValue, then the performance counter counts down. For
141 of 0 and an EndValue of 0xFFFFFFFFFFFFFFFF. A 24-bit free running counter
142 that counts down would have a StartValue of 0xFFFFFF and an EndValue of 0.
146 @param EndValue The value that the performance counter ends with before
156 OUT UINT64 *EndValue OPTIONAL
173 if (EndValue != NULL) {
174 *EndValue = (UINT64)(-1); [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseTimerLibLocalApic/ |
X86TimerLib.c | 240 EndValue is not NULL, then the value that the performance counter end with
241 immediately before it rolls over is returned in EndValue. The 64-bit
243 is less than EndValue, then the performance counter counts up. If StartValue
244 is greater than EndValue, then the performance counter counts down. For
246 of 0 and an EndValue of 0xFFFFFFFFFFFFFFFF. A 24-bit free running counter
247 that counts down would have a StartValue of 0xFFFFFF and an EndValue of 0.
251 @param EndValue The value that the performance counter ends with before
261 OUT UINT64 *EndValue OPTIONAL
272 if (EndValue != NULL) {
273 *EndValue = 0; [all...] |
/device/linaro/bootloader/edk2/EmulatorPkg/Library/DxeTimerLib/ |
DxeTimerLib.c | 144 EndValue is not NULL, then the value that the performance counter end with
145 immediately before it rolls over is returned in EndValue. The 64-bit
147 is less than EndValue, then the performance counter counts up. If StartValue
148 is greater than EndValue, then the performance counter counts down. For
150 of 0 and an EndValue of 0xFFFFFFFFFFFFFFFF. A 24-bit free running counter
151 that counts down would have a StartValue of 0xFFFFFF and an EndValue of 0.
155 @param EndValue The value that the performance counter ends with before
165 OUT UINT64 *EndValue OPTIONAL
172 if (EndValue != NULL) {
173 *EndValue = (UINT64)-1LL; [all...] |
/device/linaro/bootloader/edk2/MdePkg/Library/DxeTimerLibEsal/ |
DxeTimerLibEsal.c | 124 EndValue is not NULL, then the value that the performance counter end with
125 immediately before it rolls over is returned in EndValue. The 64-bit
127 is less than EndValue, then the performance counter counts up. If StartValue
128 is greater than EndValue, then the performance counter counts down. For
130 of 0 and an EndValue of 0xFFFFFFFFFFFFFFFF. A 24-bit free running counter
131 that counts down would have a StartValue of 0xFFFFFF and an EndValue of 0.
135 @param EndValue The value that the performance counter ends with before
145 OUT UINT64 *EndValue OPTIONAL
174 if (EndValue != NULL) {
175 *EndValue = (UINT64)(-1); [all...] |
/device/linaro/bootloader/edk2/MdePkg/Library/SecPeiDxeTimerLibCpu/ |
IpfTimerLib.c | 125 EndValue is not NULL, then the value that the performance counter end with
126 immediately before it rolls over is returned in EndValue. The 64-bit
128 is less than EndValue, then the performance counter counts up. If StartValue
129 is greater than EndValue, then the performance counter counts down. For
131 of 0 and an EndValue of 0xFFFFFFFFFFFFFFFF. A 24-bit free running counter
132 that counts down would have a StartValue of 0xFFFFFF and an EndValue of 0.
136 @param EndValue The value that the performance counter ends with before
146 OUT UINT64 *EndValue OPTIONAL
156 if (EndValue != NULL) {
157 *EndValue = (UINT64)(-1); [all...] |
/device/linaro/bootloader/edk2/OvmfPkg/Library/AcpiTimerLib/ |
AcpiTimerLib.c | 147 EndValue is not NULL, then the value that the performance counter end with
148 immediately before it rolls over is returned in EndValue. The 64-bit
150 is less than EndValue, then the performance counter counts up. If StartValue
151 is greater than EndValue, then the performance counter counts down. For
153 of 0 and an EndValue of 0xFFFFFFFFFFFFFFFF. A 24-bit free running counter
154 that counts down would have a StartValue of 0xFFFFFF and an EndValue of 0.
158 @param EndValue The value that the performance counter ends with before
168 OUT UINT64 *EndValue OPTIONAL
175 if (EndValue != NULL) {
176 *EndValue = ACPI_TIMER_COUNT_SIZE - 1; [all...] |
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/SecPeiDxeTimerLibUefiCpu/ |
IpfTimerLib.c | 125 EndValue is not NULL, then the value that the performance counter end with
126 immediately before it rolls over is returned in EndValue. The 64-bit
128 is less than EndValue, then the performance counter counts up. If StartValue
129 is greater than EndValue, then the performance counter counts down. For
131 of 0 and an EndValue of 0xFFFFFFFFFFFFFFFF. A 24-bit free running counter
132 that counts down would have a StartValue of 0xFFFFFF and an EndValue of 0.
136 @param EndValue The value that the performance counter ends with before
146 OUT UINT64 *EndValue OPTIONAL
156 if (EndValue != NULL) {
157 *EndValue = (UINT64)(-1); [all...] |