Home
last modified time | relevance | path

Searched refs:dX (Results 1 – 18 of 18) 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
37 leftEye.x = (float) (face.getLeftEyePosition().x - offX) / dX; in NormalizedFace()
42 rightEye.x = (float) (face.getRightEyePosition().x - offX) / dX; in NormalizedFace()
47 mouth.x = (float) (face.getMouthPosition().x - offX) / dX; in NormalizedFace()
52 bounds.left = (float) (face.getBounds().left - offX) / dX; in NormalizedFace()
54 bounds.right = (float) (face.getBounds().right - offX) / dX; in NormalizedFace()
DPreviewOverlay.java213 float dX = r1.height() * previewW; 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 dX = mCameraInfoCache.activeAreaWidth() - 2 * offX; in publishFrameData() local
783 int cropOffset = dX / 8; in publishFrameData()
784 dX -= 2 * cropOffset; in publishFrameData()
789 newFaces[i] = new NormalizedFace(faces[i], dX, dY, offX, offY); in publishFrameData()
/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()
78 boolean snapIntoNewLocation = dX < -snapOffset || dX > snapOffset; in onChildDraw()
83 dXLast = dX; in onChildDraw()
/packages/apps/Launcher3/src/com/android/launcher3/celllayout/
DReorderPreviewAnimation.kt87 val dX = x1 - x0 constant
90 if (dX != 0 || dY != 0) {
92 finalDeltaX = -dir * sign(dX.toFloat()) * reorderMagnitude
93 } else if (dX == 0) {
96 val angle = atan((dY.toFloat() / dX))
97 finalDeltaX = (-dir * sign(dX.toFloat()) * abs(cos(angle) * reorderMagnitude))
/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
98 if (dX > 0) { in onChildDraw()
101 } else if (dX < 0) { in onChildDraw()
105 getDefaultUIUtil().onDraw(c, recyclerView, view, 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()
95 dX /= 60f; in onFling()
103 final float v = (float) Math.hypot(dX, dY); in onFling()
115 final float x1 = x0 + s * dX / v; in onFling()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissiontypes/prioritylist/
DPriorityListItemMoveCallback.kt51 dX: Float, 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.kt49 dX: Float, in onChildDraw()
59 super.onChildDraw(c, recyclerView, viewHolder, dX, dY, actionState, isCurrentlyActive) 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()
205 dx = Math.min(crop.left + dX, crop.right - minWidthHeight) - crop.left; in moveCurrentSelection()
211 dx = Math.max(crop.right + dX, crop.left + minWidthHeight) in moveCurrentSelection()
/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()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DFloatingTaskView.java207 float dX = bounds.left - mStartingPosition.left; in update() local
214 setTranslationX(dX); in update()
334 final FloatProp mDx = new FloatProp(0, prop.dX, in addAnimation()
408 private final float dX; field in FloatingTaskView.SplitOverlayProperties
423 dX = centerX - startTaskViewBounds.centerX(); in SplitOverlayProperties()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/inputconsumers/
DTaskbarUnstashInputConsumer.java185 float dX = mLastPos.x - mDownPos.x; in onMotionEvent() local
190 Math.abs(dY) > mTouchSlop || Math.abs(dX) > mTouchSlop; in onMotionEvent()
193 mIsVerticalGestureOverBubbleBar = Math.abs(dY) > Math.abs(dX); in onMotionEvent()
/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/
DCbGeoUtilsTest.java132 double dX = seg.distance(newPoint(50.0, 50)); in testDistanceFromSegmentToPerpendicularPoint() local
133 assertEqualsWithinPrecision(50.0, dX); 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.java124 float dX = mIsRtl in update() local
128 container.setTranslationX(dX); in update()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/
DQuickstepTransitionManager.java755 FloatProp mDx = new FloatProp(0, prop.dX, mOpeningXInterpolator); in getOpeningWindowAnimators()
1948 public final float dX; field in AnimOpenProperties
1979 dX = centerX - launcherIconBounds.centerX(); in AnimOpenProperties()
/packages/apps/DocumentsUI/tests/res/raw/
Dimages_tar609 …`@�������ےx�{� �'�[9����k3C��߈�<+������_-5?i�Y鑝�ȣ�8����^�4[X,l�dX��A��O�N}��J$�r{…
1277 "&dX�U[q�ʬ�1�l�?SM��W�[�� �?J�Q����6y���ۻ-l\�I ~���)O�V����cC���
1775 ….���Z���g{ ^[�B��p��gz�)<�� F�#�ii�G�iቖ��r|�'��9��z�(�7� o��o�k���� /�C���dX?��Ӟ�s��
2143 …�lc�~u{If�)D�J�`��c����ꎃ� H��B��~`8v�q�^e����jw7��>��<t�[���#P�Le��OǽdX�j���#�f%� ��Q��WNv"…
2880 N<�zteHc�z�֠��s��H����9Z��u�];Ǹgqm�'>���T$�$���dX�c+$�GZ��o0u�p3@��-'�Đ�O/�dy'����A…
3242 ;�'q8ϵ+&H�IJpKj��dX�1�p�=}����˒�%~���ҵ�|Ij�20Px�I�T�7E�Vg��2�����†[��u难���(�F$n�A������o…
4599 …1S�,�bFq�9�q���F�;��q�,#��/� Ҁ.����('HC퓐z��ҟ�Z��l.�D?.ûr�c>��߱�_2���̥'v@�^��^�|)y��dX�9�w�
4800 …X���<pk��&ʪ ő�������x� ~�W� y�IJn¨�/��^�����m�3^4���:� �^X����Њ�{�S�>������8��n���dX�s�u�m�۝
6278 J�dXу�W?�y�J��m��3����v�'�o�^w��C�����,��mف̟�`�?�Ƶ�hg&��E�u�O�����Mdx��+g� R�K}�Rx�_�]���…
8877 …l]��Qpd`O����g q �(g ��1ۥa\jq��H�U�!H$;��\T���X��ۜ��K�+�\s��*� (?�dX��2M���d-��;]F���5…
[all …]