Home
last modified time | relevance | path

Searched refs:dY (Results 1 – 17 of 17) sorted by relevance

/packages/apps/DevCamera/src/com/android/devcamera/
DNormalizedFace.java34 public NormalizedFace(Face face, int dX, int dY, int offX, int offY) { in NormalizedFace() argument
38 leftEye.y = (float) (face.getLeftEyePosition().y - offY) / dY; in NormalizedFace()
43 rightEye.y = (float) (face.getRightEyePosition().y - offY) / dY; in NormalizedFace()
48 mouth.y = (float) (face.getMouthPosition().y - offY) / dY; in NormalizedFace()
53 bounds.top = (float) (face.getBounds().top - offY) / dY; in NormalizedFace()
55 bounds.bottom = (float) (face.getBounds().bottom - offY) / dY; in NormalizedFace()
DPreviewOverlay.java212 float dY = r1.width() * previewH; in onDraw() local
214 float dP = (dX + dY) * 0.045f; in onDraw()
215 … RectF newR1 = new RectF(newX - dX * 0.5f, newY - dY * 0.5f, newX + dX * 0.5f, newY + dY * 0.5f); in onDraw()
DApi2Camera.java778 int dY = mCameraInfoCache.activeAreaHeight() - 2 * offY; in publishFrameData() local
788 newFaces[i] = new NormalizedFace(faces[i], dX, dY, offX, offY); in publishFrameData()
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DPhotoTouchListener.java88 public void onFling(View target, float dX, float dY) { in onFling() argument
92 log("fling " + dX + ", " + dY); in onFling()
96 dY /= 60f; in onFling()
103 final float v = (float) Math.hypot(dX, dY); in onFling()
116 final float y1 = y0 + s * dY / v; in onFling()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
DCropObject.java188 public boolean moveCurrentSelection(float dX, float dY) { in moveCurrentSelection() argument
198 mBoundedRect.moveInner(dX, dY); in moveCurrentSelection()
208 dy = Math.min(crop.top + dY, crop.bottom - minWidthHeight) - crop.top; in moveCurrentSelection()
215 dy = Math.max(crop.bottom + dY, crop.top + minWidthHeight) in moveCurrentSelection()
/packages/apps/Launcher3/go/quickstep/src/com/android/quickstep/
DTaskSwipeCallback.java58 @NonNull ViewHolder viewHolder, float dX, float dY, int actionState, in onChildDraw() argument
64 super.onChildDraw(c, recyclerView, viewHolder, dX, dY, in onChildDraw()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/slices/
DSwipeDismissalDelegate.java93 @NonNull RecyclerView.ViewHolder viewHolder, float dX, float dY, int actionState, in onChildDraw() argument
106 getDefaultUIUtil().onDraw(c, recyclerView, view, dX, dY, actionState, isCurrentlyActive); in onChildDraw()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/slices/
DSwipeDismissalDelegate.java93 @NonNull RecyclerView.ViewHolder viewHolder, float dX, float dY, int actionState, in onChildDraw() argument
106 getDefaultUIUtil().onDraw(c, recyclerView, view, dX, dY, actionState, isCurrentlyActive); in onChildDraw()
/packages/apps/Settings/src/com/android/settings/localepicker/
DLocaleDragAndDropAdapter.java114 RecyclerView.ViewHolder viewHolder, float dX, float dY, in LocaleDragAndDropAdapter()
117 super.onChildDraw(c, recyclerView, viewHolder, dX, dY, in LocaleDragAndDropAdapter()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/localepicker/
DLocaleDragAndDropAdapter.java114 RecyclerView.ViewHolder viewHolder, float dX, float dY, in LocaleDragAndDropAdapter()
117 super.onChildDraw(c, recyclerView, viewHolder, dX, dY, in LocaleDragAndDropAdapter()
/packages/apps/Car/Media/src/com/android/car/media/
DMediaActivity.java676 float dY = e2.getY() - e1.getY(); in onFling() local
677 if (dY > mViewConfig.getScaledTouchSlop() && in onFling()
680 float tan = Math.abs(dX) / dY; in onFling()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/
DQuickstepAppTransitionManagerImpl.java458 float dY = centerY - bounds.centerY(); in getOpeningWindowAnimators() local
461 || Math.abs(dY) < mLauncher.getDeviceProfile().cellHeightPx; in getOpeningWindowAnimators()
505 FloatProp mDy = new FloatProp(0, dY, 0, yDuration, AGGRESSIVE_EASE); in getOpeningWindowAnimators()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DFloatingIconView.java217 float dY = rect.top - lp.topMargin; in update() local
219 setTranslationY(dY); in update()
280 int diffY = (int) (dY / mLauncher.getDeviceProfile().availableHeightPx in update()
/packages/apps/Launcher3/src/com/android/launcher3/
DCellLayout.java1964 final int dY = y1 - y0; in ReorderPreviewAnimation() local
1973 if (dX == dY && dX == 0) { in ReorderPreviewAnimation()
1975 if (dY == 0) { in ReorderPreviewAnimation()
1978 finalDeltaY += - dir * Math.signum(dY) * mReorderPreviewAnimationMagnitude; in ReorderPreviewAnimation()
1980 double angle = Math.atan( (float) (dY) / dX); in ReorderPreviewAnimation()
1983 finalDeltaY += (int) (- dir * Math.signum(dY) * in ReorderPreviewAnimation()
/packages/apps/Launcher3/go/quickstep/src/com/android/quickstep/views/
DIconRecentsView.java913 float dY = targetRect.top - origRect.top; in setViewToRect() local
915 view.setTranslationY(dY); in setViewToRect()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DPhotoView.java1091 private boolean flingImages(float velocityX, float velocityY, float dY) { in flingImages() argument
1114 && dY >= escapeDistance; in flingImages()
/packages/apps/DocumentsUI/tests/res/raw/
Dimages_tar5261 F=�j�Y�yR�)u�]�p�����OiSX~OaީŽһ�P����p��@�dY�ZcF�6�s�g%�t���E��_[E5�<Ɇ�7ٛj��ts��cHv�…
5926 ��(�x�>���Z����:*M퓸����gQo�پ�8+�I���Y�\w�CR��l��ڬ^�C�'��$dY��.�-����ROR���\Miki{��P %$�����…
6016 �ON��,n�<h ���>lvO���op�<i�X��޸�ʩ�/$``u�����%q�=�dY��r�����"��5������i|w6<T��i�…
8841 �‡dg���5ی4c8=}sO�dY�E�Ae��?Z�"3Ȳ�#
9808 ţ�n�%f/���F��;�1�>��kᛩ$hm.�ϖ  Ï�[��Ii%�H�Y-ە�{`}=k�����$�6��I<���bKS��4}CK�dY�A�����(x��M�͸0…
12535 …w���k/O���;�* ҥ����&�w�{b���,^�5�ڌ2ǡj�}���;����~4ՂR����Zz���'�z~}�dY�$@]F�sP�p��9�@�;ն�…
13353 (,O����^�c����҈�y��Ʌۃ�ޘ5=���i3�s5�I+��d)��q�dY�#��L�K��;ۦ0:�~��z^�
13553 …Ʊ�މL`�|�^~���^KP��d)�B����ʯK����?�ޫ���.X�J�i ��1o����U.��-� ���o��z�dY���1�$ �*���ۢya� �$u�…
13608 …�� �ps�V���Ð�V�VFwe���w=~R��a�9h�}ŷ��'�֎�~���Z9R�<��,�l,��z��J���dYv���������'�o�T�y…
13851 yG�e���Eu���\�ʽ/C֌@�U�1(nX����2��)I��z�Ὕ�-6���s(��I;'-�ry�?ձ�x��W>rh6W����� ������5Yo�dY��…
[all …]