Searched refs:distance (Results 76 - 96 of 96) sorted by relevance

1234

/frameworks/base/libs/hwui/
H A DSpotShadow.cpp116 * @return The distance along the ray if it intersects with the line segment, negative if otherwise
134 float distance = (p1.x * (rayOrigin.y - p2.y) + p2.x * (p1.y - rayOrigin.y) + local
137 return distance; // may be negative in error cases
604 * @param rayDist (In and Out) The distance for each ray.
701 // then check the next one until the distance increase.
712 // currently found smallest distance, so we can simply break here.
739 // That distance ratio b/t Ui to U1 and Ui to U5 decides its paired penumbra
979 // shorter distance to the centroid, b/t the umbra vertex or the intersection point.
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DTouchExplorer.java89 // The minimal distance before we take the middle of the distance between
129 // The scaled minimal distance before we take the middle of the distance between
573 // It is *important* to use the distance traveled by the pointers
591 // a given distance perform a drag.
692 final double distance = Math.hypot(deltaX, deltaY);
694 if (distance > mScaledMinPointerDistanceToUseMiddleLocation) {
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
H A DPhotoView.java262 int distance = (deltaX * deltaX) + (deltaY * deltaY);
263 if (distance > sTouchSlopSquare) {
933 // The (negative) relative maximum distance from an image edge such that
/frameworks/support/v4/java/android/support/v4/widget/
H A DSwipeRefreshLayout.java572 * Set the distance to trigger a sync in dips
574 * @param distance
576 public void setDistanceToTriggerSync(int distance) { argument
577 mTotalDragDistance = distance;
H A DViewDragHelper.java488 * @return The minimum distance in pixels that the user must travel to initiate a drag
633 final float distance = halfWidth + halfWidth *
639 duration = 4 * Math.round(1000 * Math.abs(distance / velocity));
926 // Count backwards - let topmost views consume scroll distance first.
/frameworks/base/core/java/android/widget/
H A DGridView.java1954 int distance = getDistance(previouslyFocusedRect, otherRect, direction);
1956 if (distance < minDistance) {
1957 minDistance = distance;
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
H A DCameraTestUtils.java1907 float distance = Math.abs(values[i] - target);
1908 if (minDistance > distance) {
1909 minDistance = distance;
/frameworks/native/services/inputflinger/tests/
H A DInputReader_test.cpp1467 float orientation, float distance) {
1477 ASSERT_NEAR(distance, coords.getAxisValue(AMOTION_EVENT_AXIS_DISTANCE), EPSILON);
2601 void processDistance(SingleTouchInputMapper* mapper, int32_t distance);
2664 SingleTouchInputMapper* mapper, int32_t distance) {
2665 process(mapper, ARBITRARY_TIME, DEVICE_ID, EV_ABS, ABS_DISTANCE, distance);
3244 float distance = float(rawDistance); local
3263 x, y, pressure, size, tool, tool, tool, tool, orientation, distance));
3747 void processDistance(MultiTouchInputMapper* mapper, int32_t distance);
3843 MultiTouchInputMapper* mapper, int32_t distance) {
3844 process(mapper, ARBITRARY_TIME, DEVICE_ID, EV_ABS, ABS_MT_DISTANCE, distance);
1464 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
2663 processDistance( SingleTouchInputMapper* mapper, int32_t distance) argument
3842 processDistance( MultiTouchInputMapper* mapper, int32_t distance) argument
4528 float distance = float(rawDistance); local
[all...]
/frameworks/compile/slang/BitWriter_2_9/
H A DValueEnumerator.cpp164 OS << " Uses(" << std::distance(V->use_begin(),V->use_end()) << "):";
/frameworks/compile/slang/BitWriter_2_9_func/
H A DValueEnumerator.cpp164 OS << " Uses(" << std::distance(V->use_begin(),V->use_end()) << "):";
/frameworks/compile/slang/BitWriter_3_2/
H A DValueEnumerator.cpp164 OS << " Uses(" << std::distance(V->use_begin(),V->use_end()) << "):";
/frameworks/rs/driver/runtime/
H A Drs_cl.c1120 extern float __attribute__((overloadable)) distance(float lhs, float rhs) { function
1123 extern float __attribute__((overloadable)) distance(float2 lhs, float2 rhs) { function
1126 extern float __attribute__((overloadable)) distance(float3 lhs, float3 rhs) { function
1129 extern float __attribute__((overloadable)) distance(float4 lhs, float4 rhs) { function
1918 H_FUNC_HN_HN(distance); variable
/frameworks/base/core/java/com/android/internal/widget/
H A DViewPager.java764 // We want the duration of the page snap animation to be influenced by the distance that
766 // purely linear fashion. Instead, we use this method to moderate the effect that the distance
814 final float distance = halfWidth + halfWidth *
820 duration = 4 * Math.round(1000 * Math.abs(distance / velocity));
2245 * @param deltaX the distance of the touch event stream
2438 // Count backwards - let topmost views consume scroll distance first.
/frameworks/support/v4/java/android/support/v4/view/
H A DViewPager.java913 // We want the duration of the page snap animation to be influenced by the distance that
915 // purely linear fashion. Instead, we use this method to moderate the effect that the distance
977 final float distance = halfWidth + halfWidth *
983 duration = 4 * Math.round(1000 * Math.abs(distance / velocity));
2696 // Count backwards - let topmost views consume scroll distance first.
/frameworks/rs/api/
H A Drs_math.spec32 See <a href='rs_vector_math.html'>Vector Math Functions</a> for functions like @distance() and @length() that interpret
2906 quotient gives the quadrant and the remainder the distance within the quadrant.
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DGridLayoutManager.java244 final int distance = (int) Math.sqrt(dx * dx + dy * dy);
245 final int time = calculateTimeForDeceleration(distance);
/frameworks/wilhelm/include/SLES/
H A DOpenSLES.h1727 SLmillimeter distance
/frameworks/native/opengl/include/GLES2/
H A Dgl2ext.h2557 typedef GLboolean (GL_APIENTRYP PFNGLPOINTALONGPATHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY);
2615 GL_APICALL GLboolean GL_APIENTRY glPointAlongPathNV (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY);
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DRecyclerView.java4219 * the distance scrolled in either direction within the adapter's data set instead of absolute
4226 * @param dx horizontal distance scrolled in pixels
4227 * @param dy vertical distance scrolled in pixels
4493 final float distance = halfContainerSize + halfContainerSize *
4498 duration = 4 * Math.round(1000 * Math.abs(distance / velocity));
6832 * Scroll horizontally by dx pixels in screen coordinates and return the distance traveled.
6835 * @param dx distance to scroll by in pixels. X increases as scroll position
6840 * @return The actual distance scrolled. The return value will be negative if dx was
6849 * Scroll vertically by dy pixels in screen coordinates and return the distance traveled.
6852 * @param dy distance t
[all...]
/frameworks/base/core/java/android/view/
H A DView.java3320 * The distance in pixels from the left edge of this view's parent
3327 * The distance in pixels from the left edge of this view's parent
3334 * The distance in pixels from the top edge of this view's parent
3341 * The distance in pixels from the top edge of this view's parent
3364 * The left padding in pixels, that is the distance in pixels between the
3371 * The right padding in pixels, that is the distance in pixels between the
3378 * The top padding in pixels, that is the distance in pixels between the
3385 * The bottom padding in pixels, that is the distance in pixels between the
3393 * The layout insets in pixels, that is the distance in pixels between the
11848 * Gets the distance alon
11898 setCameraDistance(float distance) argument
[all...]
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 1507 milliseconds

1234