Home
last modified time | relevance | path

Searched refs:dX (Results 1 – 13 of 13) 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.java72 @NonNull ViewHolder viewHolder, float dX, float dY, int actionState, in onChildDraw() argument
74 super.onChildDraw(c, recyclerView, viewHolder, dX, dY, actionState, isCurrentlyActive); in onChildDraw()
79 boolean snapIntoNewLocation = dX < -snapOffset || dX > snapOffset; in onChildDraw()
84 dXLast = dX; 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/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/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/Launcher3/src/com/android/launcher3/views/
DClipIconView.java154 float dX = mIsRtl in update() local
158 container.setTranslationX(dX); in update()
185 float dX = mIsRtl in update() local
239 int diffX = (int) (dX / dp.availableWidthPx * FG_TRANS_X_FACTOR); in update()
/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.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.java2027 final int dX = x1 - x0; in ReorderPreviewAnimation() local
2042 if (dX == dY && dX == 0) { in ReorderPreviewAnimation()
2045 finalDeltaX = -dir * Math.signum(dX) * mReorderPreviewAnimationMagnitude; in ReorderPreviewAnimation()
2046 } else if (dX == 0) { in ReorderPreviewAnimation()
2049 double angle = Math.atan( (float) (dY) / dX); in ReorderPreviewAnimation()
2050 finalDeltaX = (int) (-dir * Math.signum(dX) in ReorderPreviewAnimation()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/
DQuickstepTransitionManager.java654 FloatProp mDx = new FloatProp(0, prop.dX, 0, prop.xDuration, AGGRESSIVE_EASE); in getOpeningWindowAnimators()
1424 public final float dX; field in AnimOpenProperties
1459 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 …]