Home
last modified time | relevance | path

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

123

/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DStaggeredGridDefault.java43 int edge = mReversedFlow ? in appendItems() local
58 edge = mReversedFlow ? in appendItems()
63 mRows[rowIndex].low > edge : in appendItems()
64 mRows[rowIndex].high < edge) { in appendItems()
106 int edge = mReversedFlow ? in prependItems() local
116 edge = mReversedFlow ? in prependItems()
121 mRows[rowIndex].high < edge : in prependItems()
122 mRows[rowIndex].low > edge) { in prependItems()
/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/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/rs/driver/runtime/
Drs_cl.c828 extern float __attribute__((overloadable)) step(float edge, float v) { in step() argument
829 return (v < edge) ? 0.f : 1.f; in step()
831 extern float2 __attribute__((overloadable)) step(float2 edge, float2 v) { in step() argument
833 r.x = (v.x < edge.x) ? 0.f : 1.f; in step()
834 r.y = (v.y < edge.y) ? 0.f : 1.f; in step()
837 extern float3 __attribute__((overloadable)) step(float3 edge, float3 v) { in step() argument
839 r.x = (v.x < edge.x) ? 0.f : 1.f; in step()
840 r.y = (v.y < edge.y) ? 0.f : 1.f; in step()
841 r.z = (v.z < edge.z) ? 0.f : 1.f; in step()
844 extern float4 __attribute__((overloadable)) step(float4 edge, float4 v) { in step() argument
[all …]
/frameworks/base/docs/html/design/patterns/
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.
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.
Dnavigation-drawer.jd14 <p>The navigation drawer is a panel that transitions in from the left edge of the screen and
20 <p>The user can bring the navigation drawer onto the screen by swiping from the left edge of the
40 Open the drawer from anywhere in your app by swiping from the left edge of the screen.
49 <li>Swiping to the left anywhere on the screen (including edge swipe from right)</li>
114 …icon. The drawer is still accessible with an edge-swipe, but is not featured in the action bar.</p>
229 user to open the navigation drawer using an edge swipe. However, replace the CAB with the
259 <p> If the user touches the very left edge of the screen (within 20 dp from the left), have the
265 The navigation drawer peeks out when the user touches the very left edge of the screen.
Dswipe-views.jd35 …l swipe should navigate to the next view. In addition, support the use of edge swipes to immediate…
/frameworks/support/v4/java/android/support/v4/widget/
DViewDragHelper.java1248 private boolean checkNewEdgeDrag(float delta, float odelta, int pointerId, int edge) { in checkNewEdgeDrag() argument
1252 if ((mInitialEdgesTouched[pointerId] & edge) != edge || (mTrackingEdges & edge) == 0 || in checkNewEdgeDrag()
1253 (mEdgeDragsLocked[pointerId] & edge) == edge || in checkNewEdgeDrag()
1254 (mEdgeDragsInProgress[pointerId] & edge) == edge || in checkNewEdgeDrag()
1258 if (absDelta < absODelta * 0.5f && mCallback.onEdgeLock(edge)) { in checkNewEdgeDrag()
1259 mEdgeDragsLocked[pointerId] |= edge; in checkNewEdgeDrag()
1262 return (mEdgeDragsInProgress[pointerId] & edge) == 0 && absDelta > mTouchSlop; in checkNewEdgeDrag()
/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/transition/
DSlide.java146 int edge = a.getInt(R.styleable.Slide_slideEdge, Gravity.BOTTOM); in Slide() local
148 setSlideEdge(edge); in Slide()
/frameworks/base/docs/html/design/building-blocks/
Dtext-fields.jd28 the right edge of the input field. Multi-line text fields automatically break to a new line for
29 overflow text and scroll vertically when the cursor reaches the lower edge.</p>
/frameworks/base/core/java/android/widget/
DOverScroller.java825 final int edge = positive ? max : min; in startAfterEdge() local
826 final int overDistance = start - edge; in startAfterEdge()
830 startBounceAfterEdge(start, edge, velocity); in startAfterEdge()
836 startSpringback(start, edge, velocity); in startAfterEdge()
/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/base/docs/html/tools/testing/
Dwhat_to_test.jd22 the user turns the device so that the display is "landscape" (long edge is horizontal) instead
23 of "portrait" (long edge is vertical).
/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.jd219 <td>Put the object at the left edge of its container, not changing its size. </td></tr>
221 <td>Put the object at the right edge of its container, not changing its size. </td></tr>
240 bottom edge, a bottom gravity clips the top edge, and neither clips both edges.
245 the right edge, a right gravity clips the left edge, and neither clips both edges.
264 <td>Replicates the edge color if the shader draws outside of its original bounds</td></tr>
1200 <td>Put the object at the left edge of its container, not changing its size. This is the
1204 <td>Put the object at the right edge of its container, not changing its size. When {@code
1235 bottom edge, a bottom gravity clips the top edge, and neither clips both edges.
1240 the right edge, a right gravity clips the left edge, and neither clips both edges.
1364 <td>Put the object at the left edge of its container, not changing its size. This is the
[all …]
Danimation-resource.jd511 either: in pixels relative to the object's left edge (such as {@code "5"}), in percentage relative
512 to the object's left edge (such as {@code "5%"}), or in percentage relative to the parent
513 container's left edge (such as {@code "5%p"}).</dd>
516 either: in pixels relative to the object's top edge (such as {@code "5"}), in percentage relative
517 to the object's top edge (such as {@code "5%"}), or in percentage relative to the parent
518 container's top edge (such as {@code "5%p"}).</dd>
/frameworks/base/docs/html/tools/help/uiautomator/
DUiScrollable.jd2012 The beginning can be at the top-most edge in the case of vertical controls, or
2013 the left-most edge for horizontal controls. Make sure to take into
2057 The end can be at the bottom-most edge in the case of vertical controls, or
2058 the right-most edge for horizontal controls. Make sure to take into
2456 too near to the edge. The default is 10% from either edge.</p></div>
2906 can be at the top-most edge in the case of vertical controls, or the
2907 left-most edge for horizontal controls. Make sure to take into account
2951 can be at the top-most edge in the case of vertical controls, or the
2952 left-most edge for horizontal controls. Make sure to take into account
3005 bottom-most edge in the case of vertical controls, or the right-most edge for
[all …]
/frameworks/base/docs/html/training/implementing-navigation/
Dnav-drawer.jd40 on the left edge of the screen. It is hidden most of the time, but is revealed
41 when the user swipes a finger from the left edge of the screen or, while at the top level of the
297 edge of the screen, but if you're using the <a
/frameworks/base/docs/html/training/wearables/ui/
Dexit.jd21 contains horizontally scrollable content, users first have to navigate to the edge of the

123