/frameworks/support/design/jvm-tests/src/android/support/design/widget/ |
D | DirectedAcyclicGraphTest.java | 66 final TestNode edge = new TestNode("edge"); in test_addEdge() local 69 mGraph.addNode(edge); in test_addEdge() 70 mGraph.addEdge(node, edge); in test_addEdge() 76 final TestNode edge = new TestNode("edge"); in test_addEdgeWithNotAddedEdgeNode() local 82 mGraph.addEdge(node, edge); in test_addEdgeWithNotAddedEdgeNode() 88 final TestNode edge = new TestNode("edge"); in test_getIncomingEdges() local 90 mGraph.addNode(edge); in test_getIncomingEdges() 91 mGraph.addEdge(node, edge); in test_getIncomingEdges() 96 assertEquals(edge, incomingEdges.get(0)); in test_getIncomingEdges() 102 final TestNode edge = new TestNode("edge"); in test_getOutgoingEdges() local [all …]
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | StaggeredGridDefault.java | 33 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 …]
|
D | StaggeredGrid.java | 148 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 …]
|
D | SingleRow.java | 79 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()
|
D | Grid.java | 72 public abstract void addItem(Object item, int index, int length, int rowIndex, int edge); in addItem() argument
|
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/ |
D | GridTest.java | 52 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/ |
D | deblock.cpp | 293 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/ |
D | Gesture.java | 142 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/ |
D | rs_cl.c | 987 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/ |
D | TransitionHelperApi21.java | 94 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()
|
D | FadeAndShortSlide.java | 156 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/ |
D | buttons.jd | 30 <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.
|
D | fullscreen.jd | 30 <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/ |
D | TransitionHelper.java | 106 public Object createFadeAndShortSlide(int edge); in createFadeAndShortSlide() argument 108 public Object createFadeAndShortSlide(int edge, float distance); in createFadeAndShortSlide() argument 251 public Object createFadeAndShortSlide(int edge) { in createFadeAndShortSlide() argument 256 public Object createFadeAndShortSlide(int edge, float distance) { in createFadeAndShortSlide() argument 578 public Object createFadeAndShortSlide(int edge) { in createFadeAndShortSlide() argument 579 return TransitionHelperApi21.createFadeAndShortSlide(edge); in createFadeAndShortSlide() 583 public Object createFadeAndShortSlide(int edge, float distance) { in createFadeAndShortSlide() argument 584 return TransitionHelperApi21.createFadeAndShortSlide(edge, distance); in createFadeAndShortSlide() 827 public static Object createFadeAndShortSlide(int edge) { in createFadeAndShortSlide() argument 828 return sImpl.createFadeAndShortSlide(edge); in createFadeAndShortSlide() [all …]
|
/frameworks/support/core-ui/java/android/support/v4/widget/ |
D | ViewDragHelper.java | 1268 private boolean checkNewEdgeDrag(float delta, float odelta, int pointerId, int edge) { in checkNewEdgeDrag() argument 1272 if ((mInitialEdgesTouched[pointerId] & edge) != edge || (mTrackingEdges & edge) == 0 in checkNewEdgeDrag() 1273 || (mEdgeDragsLocked[pointerId] & edge) == edge in checkNewEdgeDrag() 1274 || (mEdgeDragsInProgress[pointerId] & edge) == edge in checkNewEdgeDrag() 1278 if (absDelta < absODelta * 0.5f && mCallback.onEdgeLock(edge)) { in checkNewEdgeDrag() 1279 mEdgeDragsLocked[pointerId] |= edge; in checkNewEdgeDrag() 1282 return (mEdgeDragsInProgress[pointerId] & edge) == 0 && absDelta > mTouchSlop; in checkNewEdgeDrag()
|
/frameworks/base/docs/html/guide/topics/ui/layout/ |
D | relative.jd | 48 <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/minikin/doc/ |
D | hyb_file_format.md | 28 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/training/ |
D | building-graphics.jd | 9 that can give your app an edge on the competition.
|
/frameworks/base/docs/html/guide/topics/sensors/ |
D | sensors_position.jd | 273 If the top edge of the device faces magnetic north, the azimuth is 0 274 degrees; if the top edge faces south, the azimuth is 180 degrees. Similarly, 275 if the top edge faces east, the azimuth is 90 degrees, and if the top edge 282 edge closest to you and tilt the top edge of the device toward the ground, 284 moving the top edge of the device away from the ground—causes 292 with the bottom edge closest to you and tilt the left edge of the device 294 direction—moving the right edge of the device toward the ground—
|
/frameworks/base/core/java/android/widget/ |
D | OverScroller.java | 824 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/ |
D | Slide.java | 156 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/ |
D | SlideKitkat.java | 146 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/ |
D | StaggeredGridView.java | 421 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/ |
D | widget_design.jd | 215 <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/ |
D | scroll.jd | 164 // 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.
|