Home
last modified time | relevance | path

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

123

/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DStaggeredGridDefault.java33 int edge = mProvider.getEdge(mFirstVisibleIndex); in getRowMax() local
35 return edge; in getRowMax()
39 edge += loc.offset; in getRowMax()
41 return edge; in getRowMax()
45 int edge = mProvider.getEdge(mLastVisibleIndex); in getRowMax() local
48 return edge + loc.size; in getRowMax()
51 edge -= loc.offset; in getRowMax()
54 return edge + loc.size; in getRowMax()
70 int edge = mProvider.getEdge(mLastVisibleIndex); in getRowMin() local
73 return edge - loc.size; in getRowMin()
[all …]
DStaggeredGrid.java148 int edge; in prependVisbleItemsWithCache() local
152 edge = mProvider.getEdge(mFirstVisibleIndex); in prependVisbleItemsWithCache()
157 edge = Integer.MAX_VALUE; in prependVisbleItemsWithCache()
185 mProvider.addItem(mTmpItem[0], itemIndex, size, rowIndex, edge - offset); in prependVisbleItemsWithCache()
189 edge = mProvider.getEdge(itemIndex); in prependVisbleItemsWithCache()
241 protected final int prependVisibleItemToRow(int itemIndex, int rowIndex, int edge) { in prependVisibleItemToRow() argument
266 int thisEdge = !mReversedFlow ? edge - loc.size : edge + loc.size; in prependVisibleItemToRow()
304 int edge; in appendVisbleItemsWithCache() local
308 edge = mProvider.getEdge(mLastVisibleIndex); in appendVisbleItemsWithCache()
311 edge = Integer.MAX_VALUE; in appendVisbleItemsWithCache()
[all …]
DSingleRow.java79 int edge; in prependVisibleItems() local
81 edge = mReversedFlow ? Integer.MIN_VALUE : Integer.MAX_VALUE; in prependVisibleItems()
85 edge = mProvider.getEdge(index + 1) + mMargin + size; in prependVisibleItems()
87 edge = mProvider.getEdge(index + 1) - mMargin - size; in prependVisibleItems()
91 mProvider.addItem(mTmpItem[0], index, size, 0, edge); in prependVisibleItems()
112 int edge; in appendVisibleItems() local
114 edge = mReversedFlow ? Integer.MAX_VALUE : Integer.MIN_VALUE; in appendVisibleItems()
118 edge = mProvider.getEdge(index - 1) - mProvider.getSize(index - 1) - mMargin; in appendVisibleItems()
120 edge = mProvider.getEdge(index - 1) + mProvider.getSize(index - 1) + mMargin; in appendVisibleItems()
124 mProvider.addItem(mTmpItem[0], index, size, 0, edge); in appendVisibleItems()
DGrid.java73 public abstract void addItem(Object item, int index, int length, int rowIndex, int edge); in addItem() argument
/frameworks/support/v17/tests/src/android/support/v17/leanback/widget/
DGridTest.java52 public void addItem(Object item, int index, int length, int rowIndex, int edge) { in addItem() argument
53 if (edge == Integer.MAX_VALUE || edge == Integer.MIN_VALUE) { in addItem()
55 edge = 0; in addItem()
57 mEdges[index] = edge; in addItem()
/frameworks/av/media/libstagefright/codecs/avc/common/src/
Ddeblock.cpp293 int edge, QP, QPC; in DeblockMb() local
403 for (edge = 1; edge < 4; edge++) // 4 vertical strips of 16 pel in DeblockMb()
406 if (*((int*)(Strength + (edge << 2)))) // only if one of the 4 Strength bytes is != 0 in DeblockMb()
410 … EdgeLoop_Luma_vertical(SrcY + (edge << 2), Strength + (edge << 2), Alpha, Beta, clipTable, 20); in DeblockMb()
412 …EdgeLoop_Luma_vertical(SrcY + (edge << 2), Strength + (edge << 2), Alpha, Beta, clipTable, pitch); in DeblockMb()
415 if (!(edge & 1) && Alpha_c > 0 && Beta_c > 0) in DeblockMb()
418 …EdgeLoop_Chroma_vertical(SrcU + (edge << 1), Strength + (edge << 2), Alpha_c, Beta_c, clipTable_c,… in DeblockMb()
419 …EdgeLoop_Chroma_vertical(SrcV + (edge << 1), Strength + (edge << 2), Alpha_c, Beta_c, clipTable_c,… in DeblockMb()
421 …EdgeLoop_Chroma_vertical(SrcU + (edge << 1), Strength + (edge << 2), Alpha_c, Beta_c, clipTable_c,… in DeblockMb()
422 …EdgeLoop_Chroma_vertical(SrcV + (edge << 1), Strength + (edge << 2), Alpha_c, Beta_c, clipTable_c,… in DeblockMb()
[all …]
/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.c987 extern float __attribute__((overloadable)) step(float edge, float v) { in step() argument
988 return (v < edge) ? 0.f : 1.f; in step()
990 extern float2 __attribute__((overloadable)) step(float2 edge, float2 v) { in step() argument
992 r.x = (v.x < edge.x) ? 0.f : 1.f; in step()
993 r.y = (v.y < edge.y) ? 0.f : 1.f; in step()
996 extern float3 __attribute__((overloadable)) step(float3 edge, float3 v) { in step() argument
998 r.x = (v.x < edge.x) ? 0.f : 1.f; in step()
999 r.y = (v.y < edge.y) ? 0.f : 1.f; in step()
1000 r.z = (v.z < edge.z) ? 0.f : 1.f; in step()
1003 extern float4 __attribute__((overloadable)) step(float4 edge, float4 v) { in step() argument
[all …]
/frameworks/support/v17/leanback/api21/android/support/v17/leanback/transition/
DTransitionHelperApi21.java94 public static Object createFadeAndShortSlide(int edge) { in createFadeAndShortSlide() argument
95 return new FadeAndShortSlide(edge); in createFadeAndShortSlide()
98 public static Object createFadeAndShortSlide(int edge, float distance) { in createFadeAndShortSlide() argument
99 FadeAndShortSlide slide = new FadeAndShortSlide(edge); in createFadeAndShortSlide()
DFadeAndShortSlide.java156 int edge = a.getInt(R.styleable.lbSlide_lb_slideEdge, Gravity.START); in FadeAndShortSlide() local
157 setSlideEdge(edge); in FadeAndShortSlide()
/frameworks/base/docs/html/design/patterns/
Dfullscreen.jd30 <p>Swipe from the any edge of the screen with a hidden bar to bring back system bars. </p>
67 they swipe from any edge where a system bar is hidden. By requiring this more
106 In the Immersive approach, any time a user swipes from an edge with a system
112 But in some apps, the user might occasionally need to swipe from the edge as
119 approach: when a user swipes from an edge with a system bar, system bars are
126 draw a line that begins at the very edge of the screen, swiping from the edge
128 very edge.
Dbuttons.jd30 <p>Swipe from the any edge of the screen with a hidden bar to bring back system bars. </p>
67 they swipe from any edge where a system bar is hidden. By requiring this more
106 In the Immersive approach, any time a user swipes from an edge with a system
112 But in some apps, the user might occasionally need to swipe from the edge as
119 approach: when a user swipes from an edge with a system bar, system bars are
126 draw a line that begins at the very edge of the screen, swiping from the edge
128 very edge.
/frameworks/support/v17/leanback/src/android/support/v17/leanback/transition/
DTransitionHelper.java106 public Object createFadeAndShortSlide(int edge); in createFadeAndShortSlide() argument
108 public Object createFadeAndShortSlide(int edge, float distance); in createFadeAndShortSlide() argument
247 public Object createFadeAndShortSlide(int edge) { in createFadeAndShortSlide() argument
252 public Object createFadeAndShortSlide(int edge, float distance) { in createFadeAndShortSlide() argument
570 public Object createFadeAndShortSlide(int edge) { in createFadeAndShortSlide() argument
571 return TransitionHelperApi21.createFadeAndShortSlide(edge); in createFadeAndShortSlide()
575 public Object createFadeAndShortSlide(int edge, float distance) { in createFadeAndShortSlide() argument
576 return TransitionHelperApi21.createFadeAndShortSlide(edge, distance); in createFadeAndShortSlide()
819 public static Object createFadeAndShortSlide(int edge) { in createFadeAndShortSlide() argument
820 return sImpl.createFadeAndShortSlide(edge); in createFadeAndShortSlide()
[all …]
/frameworks/support/v4/java/android/support/v4/widget/
DViewDragHelper.java1266 private boolean checkNewEdgeDrag(float delta, float odelta, int pointerId, int edge) { in checkNewEdgeDrag() argument
1270 if ((mInitialEdgesTouched[pointerId] & edge) != edge || (mTrackingEdges & edge) == 0 || in checkNewEdgeDrag()
1271 (mEdgeDragsLocked[pointerId] & edge) == edge || in checkNewEdgeDrag()
1272 (mEdgeDragsInProgress[pointerId] & edge) == edge || in checkNewEdgeDrag()
1276 if (absDelta < absODelta * 0.5f && mCallback.onEdgeLock(edge)) { in checkNewEdgeDrag()
1277 mEdgeDragsLocked[pointerId] |= edge; in checkNewEdgeDrag()
1280 return (mEdgeDragsInProgress[pointerId] & edge) == 0 && absDelta > mTouchSlop; in checkNewEdgeDrag()
/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/docs/html/guide/topics/ui/layout/
Drelative.jd48 <dd>If {@code "true"}, makes the top edge of this view match the top edge of the parent. </dd>
56 <dd>Positions the top edge of this view below the view specified with a resource ID.</dd>
60 …<dd>Positions the left edge of this view to the right of the view specified with a resource ID.</d…
/frameworks/base/docs/html/training/
Dbuilding-graphics.jd9 that can give your app an edge on the competition.
/frameworks/base/core/java/android/widget/
DOverScroller.java824 final int edge = positive ? max : min; in startAfterEdge() local
825 final int overDistance = start - edge; in startAfterEdge()
829 startBounceAfterEdge(start, edge, velocity); in startAfterEdge()
835 startSpringback(start, edge, velocity); in startAfterEdge()
/frameworks/base/core/java/android/transition/
DSlide.java156 int edge = a.getInt(R.styleable.Slide_slideEdge, Gravity.BOTTOM); in Slide() local
158 setSlideEdge(edge); in Slide()
/frameworks/support/v17/leanback/kitkat/android/support/v17/leanback/transition/
DSlideKitkat.java146 int edge = a.getInt(R.styleable.lbSlide_lb_slideEdge, Gravity.BOTTOM); in SlideKitkat() local
147 setSlideEdge(edge); in SlideKitkat()
/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/docs/html/guide/practices/ui_guidelines/
Dwidget_design.jd215 <p>As previously mentioned, Android 4.0 will automatically add small, standard margins to each edge
235 to take up the entire available space. The nine-patch should be edge-to-edge with no transparent
253 that is edge-to-edge with little or no border transparent pixels for margins.</p>
/frameworks/base/docs/html/training/gestures/
Dscroll.jd164 // Initiates the decay phase of any active edge effects.
182 // Initiates the decay phase of any active edge effects.
230 location of x and y. When the criteria for displaying an overscroll "glow" edge effect are met
269 * glow edge effect.
/frameworks/base/docs/html/training/material/
Dtheme.jd118 primary toolbar, except for cases where you show edge-to-edge rich imagery or media content behind
/frameworks/base/docs/html/guide/topics/resources/
Ddrawable-resource.jd220 <td>Put the object at the left edge of its container, not changing its size. </td></tr>
222 <td>Put the object at the right edge of its container, not changing its size. </td></tr>
241 bottom edge, a bottom gravity clips the top edge, and neither clips both edges.
246 the right edge, a right gravity clips the left edge, and neither clips both edges.
265 <td>Replicates the edge color if the shader draws outside of its original bounds</td></tr>
1201 <td>Put the object at the left edge of its container, not changing its size. This is the
1205 <td>Put the object at the right edge of its container, not changing its size. When {@code
1236 bottom edge, a bottom gravity clips the top edge, and neither clips both edges.
1241 the right edge, a right gravity clips the left edge, and neither clips both edges.
1365 <td>Put the object at the left edge of its container, not changing its size. This is the
[all …]

123