Searched defs:distance (Results 1 - 21 of 21) sorted by relevance

/frameworks/base/graphics/java/android/graphics/
H A DPathMeasure.java76 * 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/compile/mclinker/lib/MC/
H A DSymbolCategory.cpp111 int distance = target - source; local
112 if (0 == distance) {
139 // The distance is positive. It means we should bubble sort downward.
140 if (distance > 0) {
161 // The distance is negative. It means we should bubble sort upward.
162 if (distance < 0) {
/frameworks/wilhelm/src/itf/
H A DI3DLocation.c43 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 Dqpisf_2s.c66 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/core/java/android/view/
H A DDisplayList.java261 * Sets the camera distance for the DisplayList
263 * @param distance The distance in z of the camera of the DisplayList
266 public abstract void setCameraDistance(float distance); argument
H A DGLES20DisplayList.java231 public void setCameraDistance(float distance) { argument
233 nSetCameraDistance(mFinalizer.mNativeDisplayList, distance);
302 private static native void nSetCameraDistance(int displayList, float distance); argument
H A DView.java2800 * The distance in pixels from the left edge of this view's parent
2807 * The distance in pixels from the left edge of this view's parent
2814 * The distance in pixels from the top edge of this view's parent
2821 * The distance in pixels from the top edge of this view's parent
2844 * The left padding in pixels, that is the distance in pixels between the
2851 * The right padding in pixels, that is the distance in pixels between the
2858 * The top padding in pixels, that is the distance in pixels between the
2865 * The bottom padding in pixels, that is the distance in pixels between the
2873 * The layout insets in pixels, that is the distance in pixels between the
8763 * Gets the distance alon
8819 setCameraDistance(float distance) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_view_GLES20DisplayList.cpp133 jobject clazz, DisplayList* displayList, float distance) {
134 displayList->setCameraDistance(distance);
132 android_view_GLES20DisplayList_setCameraDistance(JNIEnv* env, jobject clazz, DisplayList* displayList, float distance) argument
/frameworks/compile/mclinker/lib/Support/
H A DMemoryArea.cpp271 off_t distance = pOffset - space->file_offset; local
272 r_start = space->data + distance;
/frameworks/native/include/android/
H A Dsensor.h122 float distance; member in union:ASensorEvent::__anon1379
/frameworks/compile/libbcc/lib/ScriptCRT/
H A Drs_cl.c889 extern float __attribute__((overloadable)) distance(float lhs, float rhs) { function
892 extern float __attribute__((overloadable)) distance(float2 lhs, float2 rhs) { function
895 extern float __attribute__((overloadable)) distance(float3 lhs, float3 rhs) { function
898 extern float __attribute__((overloadable)) distance(float4 lhs, float4 rhs) { function
/frameworks/native/include/utils/
H A DList.h185 return size_t(distance(begin(), end()));
259 * Measure the distance between two iterators. On exist, "first"
273 ptrdiff_t distance( function in class:android::List
/frameworks/base/core/java/android/widget/
H A DGallery.java1268 int distance = getCenterOfGallery() - getCenterOfView(child);
1269 mFlingRunnable.startUsingDistance(distance);
1443 public void startUsingDistance(int distance) { argument
1444 if (distance == 0) return;
1449 mScroller.startScroll(0, 0, -distance, 0, mAnimationDuration);
H A DOverScroller.java157 * @return The new X offset as an absolute distance from the origin.
166 * @return The new Y offset as an absolute distance from the origin.
186 * @return The start X offset as an absolute distance from the origin.
195 * @return The start Y offset as an absolute distance from the origin.
204 * @return The final X offset as an absolute distance from the origin.
213 * @return The final Y offset as an absolute distance from the origin.
256 * @param newX The new X offset as an absolute distance from the origin.
274 * @param newY The new Y offset as an absolute distance from the origin.
346 * Start scrolling by providing a starting point and the distance to travel.
354 * @param dx Horizontal distance t
685 startScroll(int start, int distance, int duration) argument
[all...]
H A DAbsListView.java480 * Maximum distance to record overscroll
605 * Maximum distance to overscroll by during edge effects
610 * Maximum distance to overfling during edge effects
3112 final int distance = Math.abs(deltaY);
3114 if (overscroll || distance > mTouchSlop) {
4110 void startScroll(int distance, int duration, boolean linear) { argument
4111 int initialY = distance < 0 ? Integer.MAX_VALUE : 0;
4114 mScroller.startScroll(0, initialY, 0, distance, duration);
4681 final int distance = (int) (-getHeight() * modifier);
4683 smoothScrollBy(distance, duratio
4801 smoothScrollBy(int distance, int duration) argument
4805 smoothScrollBy(int distance, int duration, boolean linear) argument
[all...]
/frameworks/base/core/jni/android/opengl/
H A Dutil.cpp230 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/libs/hwui/
H A DDisplayListRenderer.h290 void setCameraDistance(float distance) { argument
291 if (distance != mCameraDistance) {
292 mCameraDistance = distance;
298 mTransformCamera->setCameraLocation(0, 0, distance);
/frameworks/base/services/java/com/android/server/accessibility/
H A DTouchExplorer.java55 * <li>5. Pointers that have not moved more than a specified distance after they
98 // The minimal distance before we take the middle of the distance between
151 // The scaled minimal distance before we take the middle of the distance between
350 // have a distance slop before getting into gesture detection
407 // have a distance slop before getting into gesture detection
490 // a given distance perform a drag.
588 // If the dragging pointer are closer that a given distance we
604 final double distance
1152 eventsWithinTimeoutAndDistance(MotionEvent first, MotionEvent second, int timeout, int distance) argument
[all...]
/frameworks/base/services/input/tests/
H A DInputReader_test.cpp1424 float orientation, float distance) {
1434 ASSERT_NEAR(distance, coords.getAxisValue(AMOTION_EVENT_AXIS_DISTANCE), EPSILON);
2533 void processDistance(SingleTouchInputMapper* mapper, int32_t distance);
2596 SingleTouchInputMapper* mapper, int32_t distance) {
2597 process(mapper, ARBITRARY_TIME, DEVICE_ID, EV_ABS, ABS_DISTANCE, distance);
3176 float distance = float(rawDistance); local
3195 x, y, pressure, size, tool, tool, tool, tool, orientation, distance));
3655 void processDistance(MultiTouchInputMapper* mapper, int32_t distance);
3751 MultiTouchInputMapper* mapper, int32_t distance) {
3752 process(mapper, ARBITRARY_TIME, DEVICE_ID, EV_ABS, ABS_MT_DISTANCE, distance);
1421 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
2595 processDistance( SingleTouchInputMapper* mapper, int32_t distance) argument
3750 processDistance( MultiTouchInputMapper* mapper, int32_t distance) argument
4436 float distance = float(rawDistance); local
[all...]
/frameworks/base/services/input/
H A DInputReader.cpp91 inline static float distance(float x1, float y1, float x2, float y2) { function in namespace:android
1419 distance.clear();
2591 info->addMotionRange(mOrientedRanges.distance);
2640 "orientation=%d, tiltX=%d, tiltY=%d, distance=%d, "
2645 pointer.orientation, pointer.tiltX, pointer.tiltY, pointer.distance,
2656 "orientation=%0.3f, tilt=%0.3f, distance=%0.3f, "
2846 dumpRawAbsoluteAxisInfo(dump, mRawPointerAxes.distance, "Distance");
3101 mOrientedRanges.distance.axis = AMOTION_EVENT_AXIS_DISTANCE;
3102 mOrientedRanges.distance.source = mSource;
3103 mOrientedRanges.distance
4077 float distance; local
5534 uint64_t distance = uint64_t(deltaX * deltaX + deltaY * deltaY); local
[all...]
H A DInputReader.h123 // The distance in pixels that the pointer is allowed to move from initial down
670 RawAbsoluteAxisInfo distance; member in struct:android::RawPointerAxes
693 int32_t distance; member in struct:android::RawPointerData::Pointer
1329 InputDeviceInfo::MotionRange distance; member in struct:android::TouchInputMapper::OrientedRanges
1376 uint64_t distance : 48; // squared distance member in struct:android::TouchInputMapper::PointerDistanceHeapElement

Completed in 540 milliseconds