Home
last modified time | relevance | path

Searched refs:edge (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/core/java/android/gesture/
DGesture.java142 public Path toPath(int width, int height, int edge, int numSample) { in toPath() argument
143 return toPath(null, width, height, edge, numSample); in toPath()
146 public Path toPath(Path path, int width, int height, int edge, int numSample) { in toPath() argument
153 path.addPath(strokes.get(i).toPath(width - 2 * edge, height - 2 * edge, numSample)); in toPath()
185 public Bitmap toBitmap(int width, int height, int edge, int numSample, int color) { in toBitmap() argument
189 canvas.translate(edge, edge); in toBitmap()
204 Path path = strokes.get(i).toPath(width - 2 * edge, height - 2 * edge, numSample); in toBitmap()
/frameworks/rs/driver/runtime/
Drs_cl.c990 extern float __attribute__((overloadable)) step(float edge, float v) { in step() argument
991 return (v < edge) ? 0.f : 1.f; in step()
993 extern float2 __attribute__((overloadable)) step(float2 edge, float2 v) { in step() argument
995 r.x = (v.x < edge.x) ? 0.f : 1.f; in step()
996 r.y = (v.y < edge.y) ? 0.f : 1.f; in step()
999 extern float3 __attribute__((overloadable)) step(float3 edge, float3 v) { in step() argument
1001 r.x = (v.x < edge.x) ? 0.f : 1.f; in step()
1002 r.y = (v.y < edge.y) ? 0.f : 1.f; in step()
1003 r.z = (v.z < edge.z) ? 0.f : 1.f; in step()
1006 extern float4 __attribute__((overloadable)) step(float4 edge, float4 v) { in step() argument
[all …]
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
Dbricked.rscript99 if (in_br_y == 0) { // att the edge in brick go to y-1 brick
100 if (by > 0) { // edge of screen
102 } else {// edge of volume
122 if (bz > 0) { // edge of screen
Drasterize.rscript112 // float test = edge(0 , test1) * edge(0 , test2)* edge(0 , test3);
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DHardwareUiLayout.java118 private void updateEdgeMargin(int edge) { in updateEdgeMargin() argument
122 params.topMargin = edge; in updateEdgeMargin()
124 params.bottomMargin = edge; in updateEdgeMargin()
126 params.rightMargin = edge; in updateEdgeMargin()
134 params.topMargin = edge; in updateEdgeMargin()
136 params.bottomMargin = edge; in updateEdgeMargin()
138 params.rightMargin = edge; in updateEdgeMargin()
/frameworks/base/cmds/bootanimation/
DFORMAT.md49 - `n` -- will position the text n pixels from the start; left edge for x-axis, bottom edge
51 - `-n` -- will position the text n pixels from the end; right edge for x-axis, top edge
/frameworks/minikin/doc/
Dhyb_file_format.md28 array, and the pattern field in the tuple is the pattern for that node. Further, each edge
30 represent the label and destination of the edge. The packing strategy is as in
35 The fundamental operation of lookup of the edge from `s` to `t` with label `c` is
111 it with edge slots), which would require very minimal changes to the implementation (TODO
/frameworks/base/core/java/android/widget/
DOverScroller.java834 final int edge = positive ? max : min; in startAfterEdge() local
835 final int overDistance = start - edge; in startAfterEdge()
839 startBounceAfterEdge(start, edge, velocity); in startAfterEdge()
845 startSpringback(start, edge, velocity); in startAfterEdge()
/frameworks/base/core/java/android/transition/
DSlide.java157 int edge = a.getInt(R.styleable.Slide_slideEdge, Gravity.BOTTOM); in Slide() local
159 setSlideEdge(edge); in Slide()
/frameworks/ex/widget/java/com/android/ex/widget/
DStaggeredGridView.java421 EdgeEffectCompat edge = deltaY > 0 ? mTopEdge : mBottomEdge; in trackMotionScroll() local
422 edge.onPull((float) Math.abs(deltaY) / getHeight()); in trackMotionScroll()
555 final EdgeEffectCompat edge; in computeScroll() local
557 edge = mTopEdge; in computeScroll()
559 edge = mBottomEdge; in computeScroll()
561 edge.onAbsorb(Math.abs((int) mScroller.getCurrVelocity())); in computeScroll()
/frameworks/base/core/proto/android/service/
Dprint.proto292 // Duplex where the long edge attached
295 // Duplex where the short edge attach
/frameworks/compile/mclinker/lib/Target/Mips/
DMipsLDBackend.cpp1033 for (const auto &edge : isaTree) { in isIsaMatched() local
1034 if (ext == edge.child) { in isIsaMatched()
1035 ext = edge.parent; in isIsaMatched()
/frameworks/rs/script_api/include/
Drs_math.rsh6174 * Returns 0.f if v < edge, 1.f otherwise.
6181 step(float edge, float v);
6184 step(float2 edge, float2 v);
6187 step(float3 edge, float3 v);
6190 step(float4 edge, float4 v);
6194 step(half edge, half v);
6199 step(half2 edge, half2 v);
6204 step(half3 edge, half3 v);
6209 step(half4 edge, half4 v);
6213 step(float2 edge, float v);
[all …]
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
Dcanny.rscript236 uchar __attribute__((kernel)) edge(uint32_t x, uint32_t y) {
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayContent.java5320 private static int addToGlobalAndConsumeLimit(Region local, Region global, Rect edge, in addToGlobalAndConsumeLimit() argument
5323 r.op(edge, Op.INTERSECT); in addToGlobalAndConsumeLimit()
/frameworks/rs/script_api/
Drs_math.spec3195 Returns 0.f if v &lt; edge, 1.f otherwise.
/frameworks/ml/nn/tools/api/
DNeuralNetworks.t396 * directed edge from an operand to an operation indicates that the
397 * operand is an input to the operation, and a directed edge from an
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGSMPhoneTest.java.broken764 // Test outgoing call fail-immediately edge case