Searched refs:dy (Results 76 - 100 of 202) sorted by relevance

123456789

/frameworks/support/v17/leanback/src/android/support/v17/leanback/graphics/
H A DColorOverlayDimmer.java151 float dy = v.getTop() + v.getTranslationY();
152 c.translate(dx, dy);
154 c.translate(-dx, -dy);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/
H A DarmVCM4P10_Interpolate_Chroma_s.s58 dy RN 7 label
147 M_LDRD dx, dy, Dx
151 ;// EightMinusdy = 8 - dy
155 ;// CCoeff = EightMinusdx * dy
156 ;// DCoeff = dx * dy
159 RSB EightMinusdy, dy, #8
160 CMN dx,dy
171 SMULBB CCoeff, EightMinusdx, dy
172 SMULBB DCoeff, dx, dy
/frameworks/base/graphics/java/android/graphics/
H A DRectF.java232 * adding dy to its top and bottom coordinates.
235 * @param dy The amount to add to the rectangle's top and bottom coordinates
237 public void offset(float dx, float dy) { argument
239 top += dy;
241 bottom += dy;
259 * Inset the rectangle by (dx,dy). If dx is positive, then the sides are
262 * for dy and the top and bottom.
265 * @param dy The amount to add(subtract) from the rectangle's top(bottom)
267 public void inset(float dx, float dy) { argument
269 top += dy;
[all...]
H A DRect.java287 * adding dy to its top and bottom coordinates.
290 * @param dy The amount to add to the rectangle's top and bottom coordinates
292 public void offset(int dx, int dy) { argument
294 top += dy;
296 bottom += dy;
314 * Inset the rectangle by (dx,dy). If dx is positive, then the sides are
317 * for dy and the top and bottom.
320 * @param dy The amount to add(subtract) from the rectangle's top(bottom)
322 public void inset(int dx, int dy) { argument
324 top += dy;
[all...]
H A DRegion.java218 * Translate the region by [dx, dy]. If the region is empty, do nothing.
220 public void translate(int dx, int dy) { argument
221 translate(dx, dy, null);
225 * Set the dst region to the result of translating this region by [dx, dy].
228 public native void translate(int dx, int dy, Region dst); argument
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/dirlist/
H A DMultiSelectManager_GridModelTest.java274 private void scroll(int dy) { argument
275 assertTrue(env.verticalOffset + VIEWPORT_HEIGHT + dy <= env.getTotalHeight());
276 env.verticalOffset += dy;
278 mSelectionPoint.y += dy;
279 model.onScrolled(null, 0, dy);
422 public void scrollBy(int dy) { argument
H A DTestSelectionEnvironment.java49 public void scrollBy(int dy) { argument
/frameworks/base/libs/hwui/utils/
H A DPaintUtils.h102 float dy; member in struct:android::uirenderer::PaintUtils::TextShadow
112 textShadow->dy = blur.fOffset.fY;
/frameworks/base/tests/RenderThreadTest/src/com/example/renderthread/
H A DMainActivity.java68 int dy = adapterView.getHeight();
75 RenderNodeAnimator.TRANSLATION_Y, dy * delta);
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
H A DTextViewBindingAdapter.java285 float dy = view.getShadowDy();
287 view.setShadowLayer(r, dx, dy, color);
295 float dy = view.getShadowDy();
297 view.setShadowLayer(r, dx, dy, color);
302 public static void setShadowDy(TextView view, float dy) { argument
307 view.setShadowLayer(r, dx, dy, color);
316 float dy = view.getShadowDy();
317 view.setShadowLayer(r, dx, dy, color);
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/d1new/
H A DKernelDataForRenderScriptd1new.java93 // (dx,dy)} uniformly within [-0.5,0.5]*[-0.5,0.5].
102 float dy = dy0 + (float) v / (float) getNumSubPixels();
106 float yf = y - kernelRadius + dy;
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/f32/
H A DKernelDataForRenderScriptF32.java91 // (dx,dy)} uniformly within [-0.5,0.5]*[-0.5,0.5].
100 float dy = dy0 + (float) v / (float) getNumSubPixels();
104 float yf = y - kernelRadius + dy;
/frameworks/support/design/src/android/support/design/widget/
H A DBottomSheetBehavior.java347 int dy, int[] consumed) {
353 int newTop = currentTop - dy;
354 if (dy > 0) { // Upward
360 consumed[1] = dy;
361 ViewCompat.offsetTopAndBottom(child, -dy);
364 } else if (dy < 0) { // Downward
367 consumed[1] = dy;
368 ViewCompat.offsetTopAndBottom(child, -dy);
378 mLastNestedScrollDy = dy;
659 public void onViewPositionChanged(View changedView, int left, int top, int dx, int dy) {
346 onNestedPreScroll(CoordinatorLayout coordinatorLayout, V child, View target, int dx, int dy, int[] consumed) argument
[all...]
/frameworks/base/core/java/android/gesture/
H A DGestureStroke.java139 float dy = Math.abs(y - mY);
140 if (dx >= TOUCH_TOLERANCE || dy >= TOUCH_TOLERANCE) {
188 float dy = Math.abs(y - mY);
189 if (dx >= TOUCH_TOLERANCE || dy >= TOUCH_TOLERANCE) {
H A DGestureUtils.java381 float dy = points[i + 3] - points[i + 1];
382 sum += Math.hypot(dx, dy);
390 float dy = points[3] - points[1];
391 return (float) Math.hypot(dx, dy) / totalLen;
396 float dy = points[3] - points[1];
397 return (float) Math.hypot(dx, dy) / totalLen;
576 static float[] translate(float[] points, float dx, float dy) { argument
580 points[i + 1] += dy;
/frameworks/base/core/java/android/text/method/
H A DTouch.java140 float dy;
145 dy = event.getY() - ds[0].mY;
148 dy = ds[0].mY - event.getY();
154 int ny = widget.getScrollY() + (int) dy;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DLockscreenWallpaper.java256 float dx = 0, dy = 0;
267 dy = (vheight - dheight * scale) * 0.5f;
271 bounds.top + Math.round(dy),
273 bounds.top + Math.round(dheight * scale + dy));
/frameworks/rs/java/tests/HealingBrush/src/rs/example/android/com/healingbrush/
H A Dfind_region.rs143 int dy = y-imagePosY;
146 float3 orig = convert_float3(rsGetElementAt_uchar4(image, coord.x + dx, coord.y + dy).xyz);
/frameworks/base/core/java/android/widget/
H A DOverScroller.java352 * @param dy Vertical distance to travel. Positive numbers will scroll the
355 public void startScroll(int startX, int startY, int dx, int dy) { argument
356 startScroll(startX, startY, dx, dy, DEFAULT_DURATION);
368 * @param dy Vertical distance to travel. Positive numbers will scroll the
372 public void startScroll(int startX, int startY, int dx, int dy, int duration) { argument
375 mScrollerY.startScroll(startY, dy, duration);
533 final int dy = mScrollerY.mFinal - mScrollerY.mStart;
535 Math.signum(yvel) == Math.signum(dy);
621 float y, dy;
625 dy
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DSlidingTab.java245 int dy = horiz ? 0 : (alignment == ALIGN_TOP ? alignment_value - tab.getBottom()
248 Animation trans = new TranslateAnimation(0, dx, 0, dy);
263 int dy = horiz ? 0: (alignment == ALIGN_TOP ? tab.getHeight() : -tab.getHeight());
265 Animation trans = new TranslateAnimation(-dx, 0, -dy, 0);
306 int dy = horiz ? 0 : (alignment == ALIGN_TOP ? alignment_value - tab.getTop()
309 TranslateAnimation trans = new TranslateAnimation(0, dx, 0, dy);
319 text.offsetTopAndBottom(dy);
320 tab.offsetTopAndBottom(dy);
649 final int dy;
658 dy
[all...]
/frameworks/support/core-ui/java/android/support/v4/widget/
H A DSwipeRefreshLayout.java793 public void onNestedPreScroll(View target, int dx, int dy, int[] consumed) { argument
796 if (dy > 0 && mTotalUnconsumed > 0) {
797 if (dy > mTotalUnconsumed) {
798 consumed[1] = dy - (int) mTotalUnconsumed;
801 mTotalUnconsumed -= dy;
802 consumed[1] = dy;
811 if (mUsingCustomStart && dy > 0 && mTotalUnconsumed == 0
812 && Math.abs(dy - consumed[1]) > 0) {
818 if (dispatchNestedPreScroll(dx - consumed[0], dy - consumed[1], parentConsumed, null)) {
855 final int dy
897 dispatchNestedPreScroll(int dx, int dy, int[] consumed, int[] offsetInWindow) argument
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/api/
H A DomxVC_s.h102 dy EQU 2;
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/api/
H A DomxVC_s.h102 dy EQU 2;
/frameworks/base/libs/hwui/
H A DSpotShadow.h45 const Vector2& point, float dx, float dy);
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DRecyclerViewAccessibilityTest.java122 public int scrollVerticallyBy(int dy, RecyclerView.Recycler recycler,
124 if (dy > 0) {
126 } else if (dy < 0) {

Completed in 723 milliseconds

123456789