/development/samples/browseable/BasicRenderScript/src/com.example.android.common.media/ |
D | CameraHelper.java | 69 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE) in getOptimalPreviewSize() 71 if (Math.abs(size.height - targetHeight) < minDiff) { in getOptimalPreviewSize() 73 minDiff = Math.abs(size.height - targetHeight); in getOptimalPreviewSize() 81 if (Math.abs(size.height - targetHeight) < minDiff) { in getOptimalPreviewSize() 83 minDiff = Math.abs(size.height - targetHeight); in getOptimalPreviewSize()
|
/development/samples/browseable/MediaRecorder/src/com.example.android.common.media/ |
D | CameraHelper.java | 69 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE) in getOptimalPreviewSize() 71 if (Math.abs(size.height - targetHeight) < minDiff) { in getOptimalPreviewSize() 73 minDiff = Math.abs(size.height - targetHeight); in getOptimalPreviewSize() 81 if (Math.abs(size.height - targetHeight) < minDiff) { in getOptimalPreviewSize() 83 minDiff = Math.abs(size.height - targetHeight); in getOptimalPreviewSize()
|
/development/samples/browseable/BasicMediaDecoder/src/com.example.android.common.media/ |
D | CameraHelper.java | 69 if (Math.abs(ratio - targetRatio) > ASPECT_TOLERANCE) in getOptimalPreviewSize() 71 if (Math.abs(size.height - targetHeight) < minDiff) { in getOptimalPreviewSize() 73 minDiff = Math.abs(size.height - targetHeight); in getOptimalPreviewSize() 81 if (Math.abs(size.height - targetHeight) < minDiff) { in getOptimalPreviewSize() 83 minDiff = Math.abs(size.height - targetHeight); in getOptimalPreviewSize()
|
/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/ |
D | DefaultCardStreamAnimator.java | 78 float deltaXAbs = Math.abs(deltaX); in getSwipeInAnimator() 81 long duration = Math.abs((int) ((1 - fractionCovered) * 200 * mSpeedFactor)); in getSwipeInAnimator() 102 float deltaXAbs = Math.abs(deltaX); in getSwipeOutAnimator() 105 long duration = Math.abs((int) ((1 - fractionCovered) * 200 * mSpeedFactor)); in getSwipeOutAnimator()
|
D | CardLayout.java | 76 mSwiping = Math.abs(mDownX - event.getX()) > mTouchSlop; in onInterceptTouchEvent()
|
D | CardStreamLinearLayout.java | 110 float deltaXAbs = Math.abs(deltaX); 279 float absDeltaX = Math.abs(deltaX); in isSwiping() 300 float deltaXAbs = Math.abs(deltaX); in swipeView()
|
/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()
|
D | WindowSurface.java | 167 int dist = Math.abs(mBrightLine-index); in makeGreen()
|
/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/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-L/include/ |
D | stdlib.h | 82 extern int abs(int) __pure2;
|
/development/ndk/platforms/android-9/include/ |
D | stdlib.h | 86 static __inline__ int abs(int __n) { in abs() function
|
/development/ndk/platforms/android-8/include/ |
D | stdlib.h | 86 static __inline__ int abs(int __n) { in abs() function
|
/development/ndk/platforms/android-3/include/ |
D | stdlib.h | 85 static __inline__ int abs(int __n) { in abs() function
|
/development/ndk/platforms/android-L/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 | 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) *
|
D | CardFlip.java | 173 boolean xGreaterThanY = Math.abs(velocityX) > Math.abs(velocityY); in rotateCardView()
|
/development/samples/Support7Demos/src/com/example/android/supportv7/widget/ |
D | GridLayoutManagerActivity.java | 46 return 1 + (Math.abs(item.hashCode()) % mLayoutManager.getSpanCount());
|
/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/Wearable/src/com.example.android.wearable.jumpingjack/ |
D | MainActivity.java | 164 if ((Math.abs(xValue) > GRAVITY_THRESHOLD)) { in detectJump()
|
/development/samples/browseable/HdrViewfinder/src/com.example.android.hdrviewfinder/ |
D | HdrViewfinderActivity.java | 337 Math.abs(candidateAspect - TARGET_ASPECT) < ASPECT_TOLERANCE; in configureSurfaces() 339 Math.abs(outputAspect - TARGET_ASPECT) < ASPECT_TOLERANCE; in configureSurfaces()
|