Home
last modified time | relevance | path

Searched refs:dX (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
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.java777 int dX = mCameraInfoCache.activeAreaWidth() - 2 * offX; in publishFrameData() local
782 int cropOffset = dX / 8; in publishFrameData()
783 dX -= 2 * cropOffset; in publishFrameData()
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()
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/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
99 if (dX > 0) { in onChildDraw()
102 } else if (dX < 0) { in onChildDraw()
106 getDefaultUIUtil().onDraw(c, recyclerView, view, 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
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/apps/Launcher3/go/quickstep/src/com/android/quickstep/
DTaskSwipeCallback.java58 @NonNull ViewHolder viewHolder, float dX, float dY, int actionState, in onChildDraw() argument
61 float alpha = 1.0f - dX / (float) viewHolder.itemView.getWidth(); in onChildDraw()
64 super.onChildDraw(c, recyclerView, viewHolder, dX, dY, 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/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/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/apps/Launcher3/src/com/android/launcher3/
DCellLayout.java1963 final int dX = x1 - x0; in ReorderPreviewAnimation() local
1973 if (dX == dY && dX == 0) { in ReorderPreviewAnimation()
1976 finalDeltaX += - dir * Math.signum(dX) * mReorderPreviewAnimationMagnitude; in ReorderPreviewAnimation()
1977 } else if (dX == 0) { in ReorderPreviewAnimation()
1980 double angle = Math.atan( (float) (dY) / dX); in ReorderPreviewAnimation()
1981 finalDeltaX += (int) (- dir * Math.signum(dX) * in ReorderPreviewAnimation()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DFloatingIconView.java217 float dX = mIsRtl in update() local
222 setTranslationX(dX); in update()
282 int diffX = (int) (dX / mLauncher.getDeviceProfile().availableWidthPx in update()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/
DQuickstepAppTransitionManagerImpl.java466 float dX = centerX - bounds.centerX(); in getOpeningWindowAnimators() local
513 FloatProp mDx = new FloatProp(0, dX, 0, xDuration, AGGRESSIVE_EASE); in getOpeningWindowAnimators()
/packages/apps/Launcher3/go/quickstep/src/com/android/quickstep/views/
DIconRecentsView.java912 float dX = targetRect.left - origRect.left; in setViewToRect() local
914 view.setTranslationX(dX); in setViewToRect()
/packages/apps/Car/Media/src/com/android/car/media/
DMediaActivity.java906 float dX = e2.getX() - e1.getX(); in onFling() local
907 float tan = Math.abs(dX) / dY; in onFling()
/packages/apps/TV/tuner/tests/assets/
Dcapture_kqed.ts2926 �&� dX*%a�����u� Kc@�Lᄾ�
10301 !n`#�!)dX10�A��*����;�2>�@9�R����#@��
10619 |W��dX��O���;�3��1��$c@��@�2����5���� rS�#tXh{�!�2Q�q�B �F�ˀ�<�PI� <�ث�`
14562 !d���dX�u�bP ~J��������e#����P�
15366 6N[��e�^�P���+|�$�M�2O��CT�dX�p����D�����v��vG�A Ca����p� �d�1�I�0�����"akơ�����s@…
17031 …�q$f}���N����d���%�LK6�|դ�r0��� �ʔ}Ј�����i0����L,5�������d�2�X�ii��h& ����dX�B`
23832 r����Z\��dX��93G�1>��L�%�����2�cd0Fo��!��'�߮��h�m��0
32317 …��ꎴ��=y,��O%fD@��*����L���UX��[���GM%.�T�UU;���}��|��P���<R�dX���g_�y~��z<m=�I3`…
32698 ,������ ��8��?��0��2��G�1_!�����NJCp�-�A$\�k���`}<�� �����dX���7/��&� �…
43582 ���O$0�V�";�` ��Y�f���v���dX�G�1�����������������������������������������������������������…
[all …]
/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 …]