/development/samples/browseable/MediaRecorder/src/com.example.android.common.media/ |
D | CameraHelper.java | 77 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE) in getOptimalVideoSize() 79 if (Math.abs(size.height - targetHeight) < minDiff && previewSizes.contains(size)) { in getOptimalVideoSize() 81 minDiff = Math.abs(size.height - targetHeight); in getOptimalVideoSize() 89 if (Math.abs(size.height - targetHeight) < minDiff && previewSizes.contains(size)) { in getOptimalVideoSize() 91 minDiff = Math.abs(size.height - targetHeight); in getOptimalVideoSize()
|
/development/samples/browseable/BasicMediaDecoder/src/com.example.android.common.media/ |
D | CameraHelper.java | 77 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE) in getOptimalVideoSize() 79 if (Math.abs(size.height - targetHeight) < minDiff && previewSizes.contains(size)) { in getOptimalVideoSize() 81 minDiff = Math.abs(size.height - targetHeight); in getOptimalVideoSize() 89 if (Math.abs(size.height - targetHeight) < minDiff && previewSizes.contains(size)) { in getOptimalVideoSize() 91 minDiff = Math.abs(size.height - targetHeight); in getOptimalVideoSize()
|
/development/samples/browseable/BasicRenderScript/src/com.example.android.common.media/ |
D | CameraHelper.java | 77 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE) in getOptimalVideoSize() 79 if (Math.abs(size.height - targetHeight) < minDiff && previewSizes.contains(size)) { in getOptimalVideoSize() 81 minDiff = Math.abs(size.height - targetHeight); in getOptimalVideoSize() 89 if (Math.abs(size.height - targetHeight) < minDiff && previewSizes.contains(size)) { in getOptimalVideoSize() 91 minDiff = Math.abs(size.height - targetHeight); in getOptimalVideoSize()
|
/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/ |
D | DefaultCardStreamAnimator.java | 79 float deltaXAbs = Math.abs(deltaX); in getSwipeInAnimator() 82 long duration = Math.abs((int) ((1 - fractionCovered) * 200 * mSpeedFactor)); in getSwipeInAnimator() 103 float deltaXAbs = Math.abs(deltaX); in getSwipeOutAnimator() 106 long duration = Math.abs((int) ((1 - fractionCovered) * 200 * mSpeedFactor)); in getSwipeOutAnimator()
|
D | CardLayout.java | 77 mSwiping = Math.abs(mDownX - event.getX()) > mTouchSlop; in onInterceptTouchEvent()
|
D | CardStreamLinearLayout.java | 111 float deltaXAbs = Math.abs(deltaX); 280 float absDeltaX = Math.abs(deltaX); in isSwiping() 301 float deltaXAbs = Math.abs(deltaX); in swipeView()
|
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/ |
D | CameraFragment.java | 300 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE) in getOptimalPreviewSize() 302 if (Math.abs(size.height - targetHeight) < minDiff) { in getOptimalPreviewSize() 304 minDiff = Math.abs(size.height - targetHeight); in getOptimalPreviewSize() 312 if (Math.abs(size.height - targetHeight) < minDiff) { in getOptimalPreviewSize() 314 minDiff = Math.abs(size.height - targetHeight); in getOptimalPreviewSize()
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | CameraPreview.java | 280 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE) continue; in getOptimalPreviewSize() 281 if (Math.abs(size.height - targetHeight) < minDiff) { in getOptimalPreviewSize() 283 minDiff = Math.abs(size.height - targetHeight); in getOptimalPreviewSize() 291 if (Math.abs(size.height - targetHeight) < minDiff) { in getOptimalPreviewSize() 293 minDiff = Math.abs(size.height - targetHeight); in getOptimalPreviewSize()
|
D | SensorTest.java | 90 if (Math.abs(diff[i]) > 0) { 111 boolean gestX = Math.abs(x) > 3; 112 boolean gestY = Math.abs(y) > 3;
|
D | FingerPaint.java | 101 float dx = Math.abs(x - mX); in touch_move() 102 float dy = Math.abs(y - mY); in touch_move()
|
/development/samples/browseable/MidiScope/src/com.example.android.common.midi/synth/ |
D | SawOscillatorDPW.java | 32 freq = Math.abs(freq); in setFrequency()
|
/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/synth/ |
D | SawOscillatorDPW.java | 32 freq = Math.abs(freq); in setFrequency()
|
/development/ndk/platforms/android-3/include/linux/ |
D | input.h | 61 #define EVIOCGABS(abs) _IOR('E', 0x40 + abs, struct input_absinfo) argument 62 #define EVIOCSABS(abs) _IOW('E', 0xc0 + abs, struct input_absinfo) argument
|
/development/samples/devbytes/animation/ListViewItemAnimations/src/com/example/android/listviewitemanimations/ |
D | ListViewItemAnimations.java | 123 float deltaXAbs = Math.abs(deltaX); 148 float deltaXAbs = Math.abs(deltaX); 239 float fraction = Math.abs(deltaX) / view.getWidth(); in setSwipePosition()
|
/development/samples/devbytes/animation/ListViewRemovalAnimation/src/com/example/android/listviewremovalanimation/ |
D | ListViewRemovalAnimation.java | 99 float deltaXAbs = Math.abs(deltaX); 119 float deltaXAbs = Math.abs(deltaX);
|
/development/ndk/platforms/android-8/include/ |
D | stdlib.h | 86 static __inline__ int abs(int __n) { in abs() function
|
/development/ndk/platforms/android-21/include/ |
D | stdlib.h | 86 extern int abs(int) __pure2;
|
/development/ndk/platforms/android-3/include/ |
D | stdlib.h | 85 static __inline__ int abs(int __n) { in abs() function
|
/development/ndk/platforms/android-9/include/ |
D | stdlib.h | 86 static __inline__ int abs(int __n) { in abs() function
|
/development/ndk/platforms/android-16/include/ |
D | stdlib.h | 89 static __inline__ int abs(int __n) { in abs() function
|
/development/ndk/platforms/android-21/include/linux/ |
D | input.h | 85 #define EVIOCGABS(abs) _IOR('E', 0x40 + (abs), struct input_absinfo) argument 86 #define EVIOCSABS(abs) _IOW('E', 0xc0 + (abs), struct input_absinfo) argument
|
/development/samples/devbytes/animation/CardFlip/src/com/example/android/cardflip/ |
D | CardFlip.java | 173 boolean xGreaterThanY = Math.abs(velocityX) > Math.abs(velocityY); in rotateCardView()
|
D | CardView.java | 163 int duration = MAX_FLIP_DURATION - Math.abs(velocity) / VELOCITY_TO_DURATION_CONSTANT; in flipHorizontally() 222 params.leftMargin = (int)(params.leftMargin + ((Math.abs(getRotationY()) % 360) / 180) *
|
/development/samples/devbytes/graphics/FoldingLayout/src/com/example/android/foldinglayout/ |
D | FoldingLayoutActivity.java | 384 factor = Math.abs((float)(mTranslation) / (float)(mFoldLayout.getHeight())); in onScroll() 402 factor = Math.abs(((float)mTranslation) / ((float) mFoldLayout.getWidth())); in onScroll()
|
/development/samples/browseable/JumpingJack/src/com.example.android.wearable.jumpingjack/ |
D | MainActivity.java | 164 if ((Math.abs(xValue) > GRAVITY_THRESHOLD)) { in detectJump()
|