Searched refs:edge (Results 1 - 11 of 11) sorted by relevance

/frameworks/base/core/java/android/gesture/
H A DGesture.java142 public Path toPath(int width, int height, int edge, int numSample) { argument
143 return toPath(null, width, height, edge, numSample);
146 public Path toPath(Path path, int width, int height, int edge, int numSample) { argument
153 path.addPath(strokes.get(i).toPath(width - 2 * edge, height - 2 * edge, numSample));
180 * @param edge the edge
185 public Bitmap toBitmap(int width, int height, int edge, int numSample, int color) { argument
189 canvas.translate(edge, edge);
[all...]
/frameworks/av/media/libstagefright/codecs/avc/common/src/
H A Ddeblock.cpp60 //static void GetStrength(AVCCommonObj *video, uint8 *Strength, AVCMacroblock* MbP, AVCMacroblock* MbQ, int dir, int edge);
293 int edge, QP, QPC; local
318 /* NOTE: edge=0 and edge=1~3 are separate cases because of the difference of MbP, index A and indexB calculation */
319 /* for edge = 1~3, MbP, indexA and indexB remain the same, and thus there is no need to re-calculate them for each edge */
323 /* 1.VERTICAL EDGE + MB BOUNDARY (edge = 0) */
327 //GetStrength(video, Strength, MbP, MbQ, 0, 0); // Strength for 4 blks in 1 stripe, 0 => vertical edge
401 GetStrength_VerticalEdges(Strength + 4, MbQ); // Strength for 4 blks in 1 stripe, 0 => vertical edge
403 for (edge
[all...]
/frameworks/compile/libbcc/lib/Renderscript/runtime/
H A Drs_cl.c759 extern float __attribute__((overloadable)) step(float edge, float v) { argument
760 return (v < edge) ? 0.f : 1.f;
762 extern float2 __attribute__((overloadable)) step(float2 edge, float2 v) { argument
764 r.x = (v.x < edge.x) ? 0.f : 1.f;
765 r.y = (v.y < edge.y) ? 0.f : 1.f;
768 extern float3 __attribute__((overloadable)) step(float3 edge, float3 v) { argument
770 r.x = (v.x < edge.x) ? 0.f : 1.f;
771 r.y = (v.y < edge.y) ? 0.f : 1.f;
772 r.z = (v.z < edge.z) ? 0.f : 1.f;
775 extern float4 __attribute__((overloadable)) step(float4 edge, float argument
783 step(float2 edge, float v) argument
789 step(float3 edge, float v) argument
796 step(float4 edge, float v) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DOverScroller.java85 * velocity which is preserved in the bounce when the horizontal edge is reached. A null value
102 * velocity which is preserved in the bounce when the horizontal edge is reached. A null value
800 // Simulate a bounce that started from edge
824 final int edge = positive ? max : min;
825 final int overDistance = start - edge;
829 startBounceAfterEdge(start, edge, velocity);
835 startSpringback(start, edge, velocity);
846 // edge is increasing. This ensures that startAfterEdge will not start a new fling.
852 // mStart, mVelocity and mStartTime were adjusted to their values when edge was reached.
873 // If the animation was clamped, we reached the edge
[all...]
/frameworks/ex/widget/java/com/android/ex/widget/
H A DStaggeredGridView.java353 // Break fling velocity if we impacted an edge.
421 EdgeEffectCompat edge = deltaY > 0 ? mTopEdge : mBottomEdge;
422 edge.onPull((float) Math.abs(deltaY) / getHeight());
555 final EdgeEffectCompat edge;
557 edge = mTopEdge;
559 edge = mBottomEdge;
561 edge.onAbsorb(Math.abs((int) mScroller.getCurrVelocity()));
878 * @param overhang the number of extra pixels to fill beyond the current top edge
992 * @param overhang the number of extra pixels to fill beyond the current bottom edge
/frameworks/rs/driver/
H A DrsdRuntimeMath.cpp116 static float SC_step_f32(float edge, float v) { argument
117 if (v < edge) return 0.f;
/frameworks/support/renderscript/v8/rs_support/driver/
H A DrsdRuntimeMath.cpp119 static float SC_step_f32(float edge, float v) { argument
120 if (v < edge) return 0.f;
/frameworks/rs/scriptc/
H A Drs_cl.rsh836 * if (v < edge)
843 _RS_RUNTIME float __attribute__((overloadable)) step(float edge, float v);
/frameworks/support/renderscript/v8/rs_support/scriptc/
H A Drs_cl.rsh836 * if (v < edge)
843 _RS_RUNTIME float __attribute__((overloadable)) step(float edge, float v);
/frameworks/base/core/jni/
H A Dandroid_view_GLES20Canvas.cpp262 SkCanvas::EdgeType edge) {
260 android_view_GLES20Canvas_quickReject(JNIEnv* env, jobject clazz, OpenGLRenderer* renderer, jfloat left, jfloat top, jfloat right, jfloat bottom, SkCanvas::EdgeType edge) argument
/frameworks/base/core/java/android/view/
H A DGLES20Canvas.java522 float right, float bottom, int edge);
521 nQuickReject(int renderer, float left, float top, float right, float bottom, int edge) argument

Completed in 221 milliseconds