Load some recent tasks
Bug: 69166452 Test: Build quickstep Change-Id: Id4b0172256d6920616a6b9529d61abd1fe0c1a36
This commit is contained in:
1 parent
f8088eecf1
commit
b63b44c3d5
16 files changed
+399
-135
No files matched your search
@@ -27,7 +27,6 @@ import android.graphics.Rect;
|
||||
import android.util.DisplayMetrics;
|
||||
import android.view.Gravity;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.view.ViewGroup.LayoutParams;
|
||||
import android.widget.FrameLayout;
|
||||
|
||||
@@ -681,13 +680,13 @@ public class DeviceProfile {
|
||||
}
|
||||
}
|
||||
|
||||
private int getCurrentWidth() {
|
||||
public int getCurrentWidth() {
|
||||
return isLandscape
|
||||
? Math.max(widthPx, heightPx)
|
||||
: Math.min(widthPx, heightPx);
|
||||
}
|
||||
|
||||
private int getCurrentHeight() {
|
||||
public int getCurrentHeight() {
|
||||
return isLandscape
|
||||
? Math.min(widthPx, heightPx)
|
||||
: Math.max(widthPx, heightPx);
|
||||
|
||||
Reference in new issue
Block a user