/frameworks/compile/mclinker/lib/Support/ |
H A D | MemoryArea.cpp | 70 off_t distance = pOffset - space->start(); local 71 void* r_start = space->memory() + distance;
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
H A D | LocationCluster.java | 115 public void moveAwayCluster(LocationCluster cluster, float distance) { argument 129 double radian = distance / EARTH_RADIUS;
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | PathMeasure.java | 76 * Pins distance to 0 <= distance <= getLength(), and then computes the 81 * @param distance The distance along the current contour to sample 86 public boolean getPosTan(float distance, float pos[], float tan[]) { argument 91 return native_getPosTan(native_instance, distance, pos, tan); 98 * Pins distance to 0 <= distance <= getLength(), and then computes the 102 * @param distance The distance alon 107 getMatrix(float distance, Matrix matrix, int flags) argument 144 native_getPosTan(int native_instance, float distance, float pos[], float tan[]) argument 145 native_getMatrix(int native_instance, float distance, int native_matrix, int flags) argument [all...] |
/frameworks/base/services/java/com/android/server/accessibility/ |
H A D | GestureUtils.java | 27 int timeout, int distance, int actionIndex) { 32 if (deltaMove >= distance) { 26 eventsWithinTimeAndDistanceSlop(MotionEvent first, MotionEvent second, int timeout, int distance, int actionIndex) argument
|
/frameworks/wilhelm/src/itf/ |
H A D | I3DLocation.c | 43 SLmillidegree azimuth, SLmillidegree elevation, SLmillimeter distance) 49 (0 <= distance) && (distance <= SL_MILLIMETER_MAX))) { 56 thiz->mLocationSpherical.mDistance = distance; 42 I3DLocation_SetLocationSpherical(SL3DLocationItf self, SLmillidegree azimuth, SLmillidegree elevation, SLmillimeter distance) argument
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
H A D | qpisf_2s.c | 66 Word32 i, k, temp, min_err, distance; local 78 distance = MAX_32; 93 if(temp < distance) 95 distance = temp; 107 distance = MAX_32; 121 if(temp < distance) 123 distance = temp; 156 Word32 temp, min_err, distance; local 168 distance = MAX_32; 182 if(temp < distance) [all...] |
/frameworks/base/libs/hwui/ |
H A D | GradientCache.cpp | 267 float distance = positions[1] - startPos; local 279 distance = positions[currentPos] - startPos; 282 float amount = (pos - startPos) / distance;
|
H A D | DisplayList.h | 326 void setCameraDistance(float distance) { argument 327 if (distance != mCameraDistance) { 328 mCameraDistance = distance; 334 mTransformCamera->setCameraLocation(0, 0, distance);
|
/frameworks/base/services/java/com/android/server/location/ |
H A D | LocationFudger.java | 131 * The distance between grids for snap-to-grid. See {@link #createCoarse}. 329 private static double metersToDegreesLatitude(double distance) { argument 330 return distance / APPROXIMATE_METERS_PER_DEGREE_AT_EQUATOR; 334 * Requires latitude since longitudinal distances change with distance from equator. 336 private static double metersToDegreesLongitude(double distance, double lat) { argument 337 return distance / APPROXIMATE_METERS_PER_DEGREE_AT_EQUATOR / Math.cos(Math.toRadians(lat));
|
/frameworks/compile/mclinker/lib/MC/ |
H A D | SymbolCategory.cpp | 107 int distance = pTarget - pSource; local 108 if (0 == distance) { 137 // The distance is positive. It means we should bubble sort downward. 138 if (distance > 0) { 159 // The distance is negative. It means we should bubble sort upward. 160 if (distance < 0) {
|
/frameworks/native/include/android/ |
H A D | sensor.h | 147 float distance; member in union:ASensorEvent::__anon1365::__anon1366
|
/frameworks/native/include/ui/ |
H A D | TVecHelpers.h | 365 T PURE distance(const BASE<T>& lv, const BASE<RT>& rv) { function in class:android::TVecFunctions
|
/frameworks/base/core/java/android/view/ |
H A D | DisplayList.java | 566 * Sets the camera distance for the display list. Refer to 570 * @param distance The distance in Z of the camera of the display list 575 public abstract void setCameraDistance(float distance); argument 578 * Returns the distance in Z of the camera of the display list.
|
H A D | GLES20DisplayList.java | 348 public void setCameraDistance(float distance) { argument 350 nSetCameraDistance(mFinalizer.mNativeDisplayList, distance); 452 private static native void nSetCameraDistance(int displayList, float distance); argument
|
H A D | View.java | 2947 * The distance in pixels from the left edge of this view's parent 2954 * The distance in pixels from the left edge of this view's parent 2961 * The distance in pixels from the top edge of this view's parent 2968 * The distance in pixels from the top edge of this view's parent 2991 * The left padding in pixels, that is the distance in pixels between the 2998 * The right padding in pixels, that is the distance in pixels between the 3005 * The top padding in pixels, that is the distance in pixels between the 3012 * The bottom padding in pixels, that is the distance in pixels between the 3020 * The layout insets in pixels, that is the distance in pixels between the 9372 * Gets the distance alon 9428 setCameraDistance(float distance) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_view_GLES20DisplayList.cpp | 162 jobject clazz, DisplayList* displayList, float distance) { 163 displayList->setCameraDistance(distance); 161 android_view_GLES20DisplayList_setCameraDistance(JNIEnv* env, jobject clazz, DisplayList* displayList, float distance) argument
|
/frameworks/rs/driver/runtime/ |
H A D | rs_cl.c | 942 extern float __attribute__((overloadable)) distance(float lhs, float rhs) { function 945 extern float __attribute__((overloadable)) distance(float2 lhs, float2 rhs) { function 948 extern float __attribute__((overloadable)) distance(float3 lhs, float3 rhs) { function 951 extern float __attribute__((overloadable)) distance(float4 lhs, float4 rhs) { function
|
/frameworks/base/core/java/android/widget/ |
H A D | Gallery.java | 1277 int distance = getCenterOfGallery() - getCenterOfView(child); 1278 mFlingRunnable.startUsingDistance(distance); 1452 public void startUsingDistance(int distance) { argument 1453 if (distance == 0) return; 1458 mScroller.startScroll(0, 0, -distance, 0, mAnimationDuration);
|
H A D | OverScroller.java | 155 * @return The new X offset as an absolute distance from the origin. 164 * @return The new Y offset as an absolute distance from the origin. 184 * @return The start X offset as an absolute distance from the origin. 193 * @return The start Y offset as an absolute distance from the origin. 202 * @return The final X offset as an absolute distance from the origin. 211 * @return The final Y offset as an absolute distance from the origin. 254 * @param newX The new X offset as an absolute distance from the origin. 272 * @param newY The new Y offset as an absolute distance from the origin. 344 * Start scrolling by providing a starting point and the distance to travel. 352 * @param dx Horizontal distance t 680 startScroll(int start, int distance, int duration) argument [all...] |
H A D | AbsListView.java | 494 * Maximum distance to record overscroll 619 * Maximum distance to overscroll by during edge effects 624 * Maximum distance to overfling during edge effects 3157 final int distance = Math.abs(deltaY); 3159 if (overscroll || distance > mTouchSlop) { 4159 void startScroll(int distance, int duration, boolean linear) { argument 4160 int initialY = distance < 0 ? Integer.MAX_VALUE : 0; 4163 mScroller.startScroll(0, initialY, 0, distance, duration); 4732 final int distance = (int) (-getHeight() * modifier); 4734 smoothScrollBy(distance, duratio 4849 smoothScrollBy(int distance, int duration) argument 4853 smoothScrollBy(int distance, int duration, boolean linear) argument [all...] |
/frameworks/av/media/libstagefright/mp4/ |
H A D | FragmentedMP4Parser.cpp | 1075 void FragmentedMP4Parser::skip(off_t distance) { argument 1080 CHECK_LE(distance, (off_t)container->mBytesRemaining); 1082 container->mBytesRemaining -= distance; 1129 if (distance < (off_t)mBuffer->size()) { 1130 mBuffer->setRange(mBuffer->offset() + distance, mBuffer->size() - distance); 1131 mBufferPos += distance; 1136 mBufferPos += distance;
|
/frameworks/base/core/jni/android/opengl/ |
H A D | util.cpp | 230 inline float distance(float x, float y, float z) { function in namespace:android 303 *pSphere++ = distance(dx, dy, dz) * 0.5f; 309 float rdist = 1.0f / distance(p[0], p[1], p[2]);
|
/frameworks/base/services/input/tests/ |
H A D | InputReader_test.cpp | 1449 float orientation, float distance) { 1459 ASSERT_NEAR(distance, coords.getAxisValue(AMOTION_EVENT_AXIS_DISTANCE), EPSILON); 2563 void processDistance(SingleTouchInputMapper* mapper, int32_t distance); 2626 SingleTouchInputMapper* mapper, int32_t distance) { 2627 process(mapper, ARBITRARY_TIME, DEVICE_ID, EV_ABS, ABS_DISTANCE, distance); 3206 float distance = float(rawDistance); local 3225 x, y, pressure, size, tool, tool, tool, tool, orientation, distance)); 3685 void processDistance(MultiTouchInputMapper* mapper, int32_t distance); 3781 MultiTouchInputMapper* mapper, int32_t distance) { 3782 process(mapper, ARBITRARY_TIME, DEVICE_ID, EV_ABS, ABS_MT_DISTANCE, distance); 1446 assertPointerCoords(const PointerCoords& coords, float x, float y, float pressure, float size, float touchMajor, float touchMinor, float toolMajor, float toolMinor, float orientation, float distance) argument 2625 processDistance( SingleTouchInputMapper* mapper, int32_t distance) argument 3780 processDistance( MultiTouchInputMapper* mapper, int32_t distance) argument 4466 float distance = float(rawDistance); local [all...] |
/frameworks/base/services/input/ |
H A D | InputReader.cpp | 91 inline static float distance(float x1, float y1, float x2, float y2) { function in namespace:android 1407 distance.clear(); 2608 info->addMotionRange(mOrientedRanges.distance); 2673 "orientation=%d, tiltX=%d, tiltY=%d, distance=%d, " 2678 pointer.orientation, pointer.tiltX, pointer.tiltY, pointer.distance, 2689 "orientation=%0.3f, tilt=%0.3f, distance=%0.3f, " 2888 dumpRawAbsoluteAxisInfo(dump, mRawPointerAxes.distance, "Distance"); 3209 mOrientedRanges.distance.axis = AMOTION_EVENT_AXIS_DISTANCE; 3210 mOrientedRanges.distance.source = mSource; 3211 mOrientedRanges.distance 4223 float distance; local 5742 uint64_t distance = uint64_t(deltaX * deltaX + deltaY * deltaY); local [all...] |
H A D | InputReader.h | 185 // The distance in pixels that the pointer is allowed to move from initial down 721 RawAbsoluteAxisInfo distance; member in struct:android::RawPointerAxes 744 int32_t distance; member in struct:android::RawPointerData::Pointer 1412 InputDeviceInfo::MotionRange distance; member in struct:android::TouchInputMapper::OrientedRanges 1457 uint64_t distance : 48; // squared distance member in struct:android::TouchInputMapper::PointerDistanceHeapElement
|