Merge tag 'android-16.0.0_r3' into 16-dev
Android 16.0.0 Release 3 (BP3A.250905.014) Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
This commit is contained in:
commit
dd4a08be61
2757 files changed
+260625
-114908
No files matched your search
@@ -14,6 +14,7 @@
|
||||
|
||||
package com.android.systemui.plugins.qs;
|
||||
|
||||
import android.graphics.Rect;
|
||||
import android.view.View;
|
||||
|
||||
import androidx.annotation.FloatRange;
|
||||
@@ -35,7 +36,7 @@ public interface QS extends FragmentBase {
|
||||
|
||||
String ACTION = "com.android.systemui.action.PLUGIN_QS";
|
||||
|
||||
int VERSION = 15;
|
||||
int VERSION = 16;
|
||||
|
||||
String TAG = "QS";
|
||||
|
||||
@@ -89,8 +90,45 @@ public interface QS extends FragmentBase {
|
||||
*/
|
||||
int getHeightDiff();
|
||||
|
||||
/**
|
||||
* Returns the header view that contains QQS. This might return null (or throw) if there's no
|
||||
* actual header view.
|
||||
*/
|
||||
View getHeader();
|
||||
|
||||
/**
|
||||
* Returns the top of the header view that contains QQS wrt to the container view
|
||||
*/
|
||||
int getHeaderTop();
|
||||
|
||||
/**
|
||||
* Returns the bottom of the header view that contains QQS wrt to the container view
|
||||
*/
|
||||
int getHeaderBottom();
|
||||
|
||||
/**
|
||||
* Returns the left bound of the header view that contains QQS wrt to the container view
|
||||
*/
|
||||
int getHeaderLeft();
|
||||
|
||||
/**
|
||||
* Fills outBounds with the bounds of the header view (container of QQS) on the screen
|
||||
*/
|
||||
void getHeaderBoundsOnScreen(Rect outBounds);
|
||||
|
||||
/**
|
||||
* Returns the height of the header view that contains QQS. It defaults to bottom - top.
|
||||
*/
|
||||
default int getHeaderHeight() {
|
||||
return getHeaderBottom() - getHeaderTop();
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns whether the header view that contains QQS is shown on screen (similar semantics to
|
||||
* View.isShown).
|
||||
*/
|
||||
boolean isHeaderShown();
|
||||
|
||||
default void setHasNotifications(boolean hasNotifications) {
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user