Move common code from DesktopTaskView and GroupedTaskView to TaskView
- Most TaskView method will now loop through taskContainer instead of accessing the first/second - Moved TaskThumbnailView, showWindowsView, and TaskOverlay to be part of TaskContainer. There are still some TaskOverlay access from TaskThumbnailViewDeprecated that should be remove as we start using TaskThumbnailView Fix: 339787250 Test: Manual Flag: EXEMPT refactor Change-Id: Icfaa4f5eb50582faed01113465335b6d2899f781
This commit is contained in:
1 parent
5a4b813d38
commit
4127e460b0
20 files changed
+562
-740
No files matched your search
+1
-1
@@ -252,7 +252,7 @@ public abstract class TaskViewTouchController<CONTAINER extends Context & Recent
|
||||
mTaskBeingDragged, maxDuration, currentInterpolator);
|
||||
|
||||
// Since the thumbnail is what is filling the screen, based the end displacement on it.
|
||||
View thumbnailView = mTaskBeingDragged.getFirstThumbnailView();
|
||||
View thumbnailView = mTaskBeingDragged.getFirstThumbnailViewDeprecated();
|
||||
mTempCords[1] = orientationHandler.getSecondaryDimension(thumbnailView);
|
||||
dl.getDescendantCoordRelativeToSelf(thumbnailView, mTempCords);
|
||||
mEndDisplacement = secondaryLayerDimension - mTempCords[1];
|
||||
|
||||
Reference in new issue
Block a user