Methods Summary |
---|
public com.android.systemui.statusbar.ActivatableNotificationView | getActivatedChild()
return mActivatedChild;
|
public java.util.ArrayList | getDraggedViews()
return mDraggedViews;
|
public float | getOverScrollAmount(boolean top)
return top ? mOverScrollTopAmount : mOverScrollBottomAmount;
|
public int | getScrollY()
return mScrollY;
|
public int | getSpeedBumpIndex()
return mSpeedBumpIndex;
|
public boolean | isDark()
return mDark;
|
public boolean | isDimmed()
return mDimmed;
|
public boolean | isHideSensitive()
return mHideSensitive;
|
public void | onBeginDrag(android.view.View view)
mDraggedViews.add(view);
|
public void | onDragFinished(android.view.View view)
mDraggedViews.remove(view);
|
public void | setActivatedChild(com.android.systemui.statusbar.ActivatableNotificationView activatedChild)In dimmed mode, a child can be activated, which happens on the first tap of the double-tap
interaction. This child is then scaled normally and its background is fully opaque.
mActivatedChild = activatedChild;
|
public void | setDark(boolean dark)In dark mode, we draw as little as possible, assuming a black background
mDark = dark;
|
public void | setDimmed(boolean dimmed)
mDimmed = dimmed;
|
public void | setHideSensitive(boolean hideSensitive)
mHideSensitive = hideSensitive;
|
public void | setOverScrollAmount(float amount, boolean onTop)
if (onTop) {
mOverScrollTopAmount = amount;
} else {
mOverScrollBottomAmount = amount;
}
|
public void | setScrollY(int scrollY)
this.mScrollY = scrollY;
|
public void | setSpeedBumpIndex(int speedBumpIndex)
mSpeedBumpIndex = speedBumpIndex;
|