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

/frameworks/support/coordinatorlayout/src/androidTest/java/androidx/coordinatorlayout/widget/
H A DDirectedAcyclicGraphTest.java64 final TestNode edge = new TestNode("edge");
67 mGraph.addNode(edge);
68 mGraph.addEdge(node, edge);
74 final TestNode edge = new TestNode("edge");
76 // Add the node, but not the edge node
80 mGraph.addEdge(node, edge);
86 final TestNode edge = new TestNode("edge");
[all...]
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/
H A DGridTest.java51 public void addItem(Object item, int index, int length, int rowIndex, int edge) { argument
52 if (edge == Integer.MAX_VALUE || edge == Integer.MIN_VALUE) {
53 // initialize edge for first item added
54 edge = 0;
56 mEdges[index] = edge;
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
H A DStaggeredGridDefault.java25 * Returns the max edge value of item (visible or cached) in a row. This
33 int edge = mProvider.getEdge(mFirstVisibleIndex);
35 return edge;
39 edge += loc.offset;
41 return edge;
45 int edge = mProvider.getEdge(mLastVisibleIndex);
48 return edge + loc.size;
51 edge -= loc.offset;
54 return edge + loc.size;
62 * Returns the min edge valu
[all...]
H A DGrid.java33 * (e.g. a max edge that append up to). Visible items are deleted when user calls
86 * add item to given row and given edge. The call is always after createItem().
91 * @param edge min_edge if not reversed or max_edge if reversed.
93 void addItem(Object item, int index, int length, int rowIndex, int edge); argument
102 * Get edge of an existing visible item. edge will be the min_edge
285 * Finds the largest or smallest row min edge of visible items,
294 * Finds the largest or smallest row min edge of visible items, starts searching from
300 * Finds the largest or smallest row max edge of visible items, the row index is returned in
309 * Find largest or smallest row max edge o
[all...]
H A DSingleRow.java81 int edge;
83 edge = mReversedFlow ? Integer.MIN_VALUE : Integer.MAX_VALUE;
87 edge = mProvider.getEdge(index + 1) + mSpacing + size;
89 edge = mProvider.getEdge(index + 1) - mSpacing - size;
93 mProvider.addItem(mTmpItem[0], index, size, 0, edge);
114 int edge;
116 edge = mReversedFlow ? Integer.MAX_VALUE : Integer.MIN_VALUE;
120 edge = mProvider.getEdge(index - 1) - mProvider.getSize(index - 1) - mSpacing;
122 edge = mProvider.getEdge(index - 1) + mProvider.getSize(index - 1) + mSpacing;
126 mProvider.addItem(mTmpItem[0], index, size, 0, edge);
[all...]
H A DStaggeredGrid.java143 int edge;
147 edge = mProvider.getEdge(mFirstVisibleIndex);
152 edge = Integer.MAX_VALUE;
181 mProvider.addItem(mTmpItem[0], itemIndex, size, rowIndex, edge - offset);
185 edge = mProvider.getEdge(itemIndex);
237 protected final int prependVisibleItemToRow(int itemIndex, int rowIndex, int edge) { argument
262 int thisEdge = !mReversedFlow ? edge - loc.size : edge + loc.size;
300 int edge;
304 edge
[all...]
H A DGridLayoutManager.java1678 public void addItem(Object item, int index, int length, int rowIndex, int edge) {
1681 if (edge == Integer.MIN_VALUE || edge == Integer.MAX_VALUE) {
1682 edge = !mGrid.isReversedFlow() ? mWindowAlignment.mainAxis().getPaddingMin()
1688 start = edge;
1689 end = edge + length;
1691 start = edge - length;
1692 end = edge;
1876 // scroll more if first child is above top edge
1886 // scroll more if first child is outside right edge
[all...]
/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/support/core/ktx/src/androidTest/java/androidx/core/graphics/drawable/
H A DIconTest.kt39 val edge = (108.0f * density + 0.5f).toInt()
40 val bitmap = Bitmap.createBitmap(edge, edge, ARGB_8888).apply {
/frameworks/rs/driver/runtime/
H A Drs_cl.c990 extern float __attribute__((overloadable)) step(float edge, float v) { argument
991 return (v < edge) ? 0.f : 1.f;
993 extern float2 __attribute__((overloadable)) step(float2 edge, float2 v) { argument
995 r.x = (v.x < edge.x) ? 0.f : 1.f;
996 r.y = (v.y < edge.y) ? 0.f : 1.f;
999 extern float3 __attribute__((overloadable)) step(float3 edge, float3 v) { argument
1001 r.x = (v.x < edge.x) ? 0.f : 1.f;
1002 r.y = (v.y < edge.y) ? 0.f : 1.f;
1003 r.z = (v.z < edge.z) ? 0.f : 1.f;
1006 extern float4 __attribute__((overloadable)) step(float4 edge, float argument
1014 step(float2 edge, float v) argument
1020 step(float3 edge, float v) argument
1027 step(float4 edge, float v) argument
1035 step(float edge, float2 v) argument
1041 step(float edge, float3 v) argument
1048 step(float edge, float4 v) argument
2191 step(half edge, half v) argument
2194 step(half2 edge, half2 v) argument
2200 step(half3 edge, half3 v) argument
2207 step(half4 edge, half4 v) argument
2215 step(half2 edge, half v) argument
2221 step(half3 edge, half v) argument
2228 step(half4 edge, half v) argument
2236 step(half edge, half2 v) argument
2242 step(half edge, half3 v) argument
2249 step(half edge, half4 v) argument
[all...]
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/solver/
H A DExecutionPath.java80 ExecutionBranch edge = new ExecutionBranch(path, pred, expectedValue);
87 mTrueBranch = edge;
93 mFalseBranch = edge;
/frameworks/support/customview/src/main/java/androidx/customview/widget/
H A DViewDragHelper.java68 * Edge flag indicating that the left edge should be affected.
73 * Edge flag indicating that the right edge should be affected.
78 * Edge flag indicating that the top edge should be affected.
83 * Edge flag indicating that the bottom edge should be affected.
169 * @param left New X coordinate of the left edge of the view
170 * @param top New Y coordinate of the top edge of the view
213 * @param edgeFlags A combination of edge flags describing the edge(s) currently touched
214 * @param pointerId ID of the pointer touching the described edge(s)
223 * Called when the given edge ma
1275 checkNewEdgeDrag(float delta, float odelta, int pointerId, int edge) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DHardwareUiLayout.java101 private void updateEdgeMargin(int edge) { argument
105 params.topMargin = edge;
107 params.bottomMargin = edge;
109 params.rightMargin = edge;
/frameworks/support/leanback/src/main/java/androidx/leanback/transition/
H A DTransitionHelper.java423 public static Object createFadeAndShortSlide(int edge) { argument
425 return new FadeAndShortSlide(edge);
430 public static Object createFadeAndShortSlide(int edge, float distance) { argument
432 FadeAndShortSlide slide = new FadeAndShortSlide(edge);
/frameworks/base/core/java/android/transition/
H A DSlide.java141 * slide edge direction.
148 * Constructor using the provided slide edge direction.
157 int edge = a.getInt(R.styleable.Slide_slideEdge, Gravity.BOTTOM);
159 setSlideEdge(edge);
182 * Change the edge that Views appear and disappear from.
184 * @param slideEdge The edge of the scene to use for Views appearing and disappearing. One of
220 * Returns the edge that Views appear and disappear from.
222 * @return the edge of the scene to use for Views appearing and disappearing. One of
/frameworks/support/transition/src/main/java/androidx/transition/
H A DSlide.java152 * slide edge direction.
159 * Constructor using the provided slide edge direction.
168 int edge = TypedArrayUtils.getNamedInt(a, (XmlPullParser) attrs, "slideEdge",
172 setSlideEdge(edge);
195 * Change the edge that Views appear and disappear from.
197 * @param slideEdge The edge of the scene to use for Views appearing and disappearing. One of
232 * Returns the edge that Views appear and disappear from.
234 * @return the edge of the scene to use for Views appearing and disappearing. One of
/frameworks/base/core/java/android/widget/
H A DOverScroller.java88 * velocity which is preserved in the bounce when the horizontal edge is reached. A null value
106 * velocity which is preserved in the bounce when the horizontal edge is reached. A null value
800 // Simulate a bounce that started from edge
826 final int edge = positive ? max : min;
827 final int overDistance = start - edge;
831 startBounceAfterEdge(start, edge, velocity);
837 startSpringback(start, edge, velocity);
848 // edge is increasing. This ensures that startAfterEdge will not start a new fling.
854 // mStart, mVelocity and mStartTime were adjusted to their values when edge was reached.
877 // If the animation was clamped, we reached the edge
[all...]
/frameworks/support/leanback/api21/androidx/leanback/transition/
H A DFadeAndShortSlide.java166 int edge = a.getInt(R.styleable.lbSlide_lb_slideEdge, Gravity.START);
167 setSlideEdge(edge);
/frameworks/support/leanback/kitkat/androidx/leanback/transition/
H A DSlideKitkat.java39 * Slide distance toward/from a edge.
149 int edge = a.getInt(R.styleable.lbSlide_lb_slideEdge, Gravity.BOTTOM);
150 setSlideEdge(edge);
167 * Change the edge that Views appear and disappear from.
169 * @param slideEdge The edge of the scene to use for Views appearing and disappearing. One of
201 * Returns the edge that Views appear and disappear from.
202 * @return the edge of the scene to use for Views appearing and disappearing. One of
/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/script_api/include/
H A 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, floa
[all...]
/frameworks/compile/mclinker/lib/Target/Mips/
H A DMipsLDBackend.cpp1033 for (const auto &edge : isaTree) {
1034 if (ext == edge.child) {
1035 ext = edge.parent;
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
H A Dcanny.rs236 uchar __attribute__((kernel)) edge(uint32_t x, uint32_t y) {
/frameworks/rs/script_api/
H A Drs_math.spec3191 arg: #2#1 edge
3195 Returns 0.f if v &lt; edge, 1.f otherwise.
3208 arg: #2#1 edge
3218 arg: #2#1 edge
3228 arg: #2#1 edge
3238 arg: #2 edge
3248 arg: #2 edge
/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 566 milliseconds