Home
last modified time | relevance | path

Searched refs:dY (Results 1 – 21 of 21) 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.java779 int dY = mCameraInfoCache.activeAreaHeight() - 2 * offY; in publishFrameData() local
789 newFaces[i] = new NormalizedFace(faces[i], dX, dY, offX, offY); in publishFrameData()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/inputconsumers/
DTaskbarUnstashInputConsumer.java186 float dY = mLastPos.y - mDownPos.y; in onMotionEvent() local
190 Math.abs(dY) > mTouchSlop || Math.abs(dX) > mTouchSlop; in onMotionEvent()
193 mIsVerticalGestureOverBubbleBar = Math.abs(dY) > Math.abs(dX); in onMotionEvent()
201 boolean passedTaskbarNavThreshold = dY < 0 in onMotionEvent()
202 && Math.abs(dY) >= mTaskbarNavThreshold; in onMotionEvent()
214 if (dY < 0) { in onMotionEvent()
215 dY = -OverScroll.dampedScroll(-dY, mTaskbarNavThresholdY); in onMotionEvent()
217 mTransitionCallback.onActionMove(dY); in onMotionEvent()
253 float dY = mLastPos.y - mDownPos.y; in onMotionEvent() local
256 boolean passedTaskbarNavThreshold = dY < 0 in onMotionEvent()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/celllayout/
DReorderPreviewAnimation.kt88 val dY = y1 - y0 constant
90 if (dX != 0 || dY != 0) {
91 if (dY == 0) {
94 finalDeltaY = -dir * sign(dY.toFloat()) * reorderMagnitude
96 val angle = atan((dY.toFloat() / dX))
98 finalDeltaY = (-dir * sign(dY.toFloat()) * abs(sin(angle) * reorderMagnitude))
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissiontypes/prioritylist/
DPriorityListItemMoveCallback.kt52 dY: Float, in onChildDraw()
56 val topY: Float = viewHolder.itemView.top + dY in onChildDraw()
61 super.onChildDraw(c, recyclerView, viewHolder, dX, dY, actionState, isCurrentlyActive) in onChildDraw()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/datasources/appsources/
DAppSourcesItemMoveCallback.kt50 dY: Float, in onChildDraw()
54 val topY: Float = viewHolder.itemView.top + dY in onChildDraw()
59 super.onChildDraw(c, recyclerView, viewHolder, dX, dY, actionState, isCurrentlyActive) in onChildDraw()
/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/Car/Launcher/app/src/com/android/car/carlauncher/recents/view/
DTaskTouchHelperCallback.java66 float dX, float dY, int actionState, boolean isCurrentlyActive) { in onChildDraw() argument
67 super.onChildDraw(c, recyclerView, viewHolder, dX, dY, actionState, in onChildDraw()
73 float newVal = 1 - (Math.abs(dY) / threshold); in onChildDraw()
/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/quickstep/src/com/android/quickstep/views/
DFloatingTaskView.java208 float dY = bounds.top - lp.topMargin; in update() local
215 setTranslationY(dY); in update()
338 final FloatProp mDy = new FloatProp(0, prop.dY, in addAnimation()
409 private final float dY; field in FloatingTaskView.SplitOverlayProperties
424 dY = centerY - startTaskViewBounds.centerY(); in SplitOverlayProperties()
/packages/apps/Settings/src/com/android/settings/notification/history/
DNotificationHistoryRecyclerView.java71 @NonNull ViewHolder viewHolder, float dX, float dY, int actionState, in onChildDraw() argument
73 super.onChildDraw(c, recyclerView, viewHolder, dX, dY, actionState, isCurrentlyActive); in onChildDraw()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/slices/
DSwipeDismissalDelegate.java92 @NonNull RecyclerView.ViewHolder viewHolder, float dX, float dY, int actionState, in onChildDraw() argument
105 getDefaultUIUtil().onDraw(c, recyclerView, view, dX, dY, actionState, isCurrentlyActive); in onChildDraw()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarTranslationController.java206 public void onActionMove(float dY) { in onActionMove() argument
212 mTranslationYForSwipe.updateValue(dY); in onActionMove()
/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/
DCbGeoUtilsTest.java135 double dY = seg.distance(newPoint(0.0, 200.0)); in testDistanceFromSegmentToPerpendicularPoint() local
136 assertEqualsWithinPrecision(100.0, dY); in testDistanceFromSegmentToPerpendicularPoint()
/packages/apps/Settings/src/com/android/settings/localepicker/
DLocaleDragAndDropAdapter.java124 RecyclerView.ViewHolder viewHolder, float dX, float dY, in LocaleDragAndDropAdapter()
127 super.onChildDraw(c, recyclerView, viewHolder, dX, dY, in LocaleDragAndDropAdapter()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DClipIconView.java127 float dY = rect.top - lp.topMargin; in update() local
129 container.setTranslationY(dY); in update()
/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/Launcher3/quickstep/src/com/android/launcher3/
DQuickstepTransitionManager.java756 FloatProp mDy = new FloatProp(0, prop.dY, mOpeningInterpolator); in getOpeningWindowAnimators()
1949 public final float dY; field in AnimOpenProperties
1980 dY = centerY - launcherIconBounds.centerY(); in AnimOpenProperties()
/packages/modules/Virtualization/zipfuse/testdata/dir/
Dfile2121 iUFNrclww5e/tFV4KVDbZd+vIvwqRtPKjD5UPJrrLmq1m+dY+/kP2ot9OLwC0bnE5oQoXSV5TVBh
/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 …]