mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-03 17:36:49 +00:00
Use rotation based on PagedOrientationHandler instead of touch
Fixes: 154928106 Test: Tested overview w/ and w/o home rotation enabled. Change-Id: Ib7e91e51b2181824e5520ad69965ed3379302c27
This commit is contained in:
@@ -81,6 +81,7 @@ public interface PagedOrientationHandler {
|
||||
void setMaxScroll(AccessibilityEvent event, int maxScroll);
|
||||
boolean getRecentsRtlSetting(Resources resources);
|
||||
float getDegreesRotated();
|
||||
int getRotation();
|
||||
void offsetTaskRect(RectF rect, float value, int delta, int launcherRotation);
|
||||
int getPrimaryValue(int x, int y);
|
||||
int getSecondaryValue(int x, int y);
|
||||
@@ -95,7 +96,7 @@ public interface PagedOrientationHandler {
|
||||
float getTaskMenuX(float x, View thumbnailView);
|
||||
float getTaskMenuY(float y, View thumbnailView);
|
||||
int getTaskMenuWidth(View view);
|
||||
int getTaskMenuLayoutOrientation();
|
||||
int getTaskMenuLayoutOrientation(LinearLayout taskMenuLayout);
|
||||
void setLayoutParamsForTaskMenuOptionItem(LinearLayout.LayoutParams lp);
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user