Home
last modified time | relevance | path

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

12

/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/base/docs/html/design/patterns/
Dfullscreen.jd29 <p>Swipe from the any edge of the screen with a hidden bar to bring back system bars. </p>
66 they swipe from any edge where a system bar is hidden. By requiring this more
105 In the Immersive approach, any time a user swipes from an edge with a system
111 But in some apps, the user might occasionally need to swipe from the edge as
118 approach: when a user swipes from an edge with a system bar, system bars are
125 draw a line that begins at the very edge of the screen, swiping from the edge
127 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/rs/driver/runtime/
Drs_cl.c825 extern float __attribute__((overloadable)) step(float edge, float v) { in step() argument
826 return (v < edge) ? 0.f : 1.f; in step()
828 extern float2 __attribute__((overloadable)) step(float2 edge, float2 v) { in step() argument
830 r.x = (v.x < edge.x) ? 0.f : 1.f; in step()
831 r.y = (v.y < edge.y) ? 0.f : 1.f; in step()
834 extern float3 __attribute__((overloadable)) step(float3 edge, float3 v) { in step() argument
836 r.x = (v.x < edge.x) ? 0.f : 1.f; in step()
837 r.y = (v.y < edge.y) ? 0.f : 1.f; in step()
838 r.z = (v.z < edge.z) ? 0.f : 1.f; in step()
841 extern float4 __attribute__((overloadable)) step(float4 edge, float4 v) { in step() argument
[all …]
/frameworks/support/v4/java/android/support/v4/widget/
DViewDragHelper.java1217 private boolean checkNewEdgeDrag(float delta, float odelta, int pointerId, int edge) { in checkNewEdgeDrag() argument
1221 if ((mInitialEdgesTouched[pointerId] & edge) != edge || (mTrackingEdges & edge) == 0 || in checkNewEdgeDrag()
1222 (mEdgeDragsLocked[pointerId] & edge) == edge || in checkNewEdgeDrag()
1223 (mEdgeDragsInProgress[pointerId] & edge) == edge || in checkNewEdgeDrag()
1227 if (absDelta < absODelta * 0.5f && mCallback.onEdgeLock(edge)) { in checkNewEdgeDrag()
1228 mEdgeDragsLocked[pointerId] |= edge; in checkNewEdgeDrag()
1231 return (mEdgeDragsInProgress[pointerId] & edge) == 0 && absDelta > mTouchSlop; in checkNewEdgeDrag()
/frameworks/base/docs/html/training/
Dbuilding-graphics.jd9 that can give your app an edge on the competition.
/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/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.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/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>
Dicon_design_list.jd114 safeframe area for the edge of the anti-alias of a round shape.</li>
Dicon_design.jd274 loss of detail and edge crispness.</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/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
295 edge of the screen, but if you're using the <a
/frameworks/base/docs/html/design/get-started/
Dui-overview.jd130 options. The navigation drawer expands from the left edge of the screen, overlaying the content
/frameworks/base/docs/html/training/printing/
Dcustom-docs.jd359 elements on the edge of a PDF document, many printers are not able to print to the edge of a
/frameworks/rs/scriptc/
Drs_cl.rsh918 * if (v < edge)
925 _RS_RUNTIME float __attribute__((const, overloadable)) step(float edge, float v);
/frameworks/base/docs/html/about/versions/
Dkitkat.jd465 mode that lets you create full-bleed UIs reaching from edge to edge on phones
482 4.4</span> supports a new gesture &mdash; in immersive mode, an edge swipe
917 The text style includes foreground and background colors, edge properties,

12