use of com.android.internal.widget.FloatingToolbar in project android_frameworks_base by DirtyUnicorns.
the class StatusBarWindowView method setHandledFloatingActionMode.
private void setHandledFloatingActionMode(ActionMode mode) {
mFloatingActionMode = mode;
mFloatingToolbar = new FloatingToolbar(mContext, mFakeWindow);
((FloatingActionMode) mFloatingActionMode).setFloatingToolbar(mFloatingToolbar);
// Will show the floating toolbar if necessary.
mFloatingActionMode.invalidate();
mFloatingActionModeOriginatingView.getViewTreeObserver().addOnPreDrawListener(mFloatingToolbarPreDrawListener);
}
use of com.android.internal.widget.FloatingToolbar in project android_frameworks_base by DirtyUnicorns.
the class DecorView method setHandledFloatingActionMode.
private void setHandledFloatingActionMode(ActionMode mode) {
mFloatingActionMode = mode;
mFloatingToolbar = new FloatingToolbar(mContext, mWindow);
((FloatingActionMode) mFloatingActionMode).setFloatingToolbar(mFloatingToolbar);
// Will show the floating toolbar if necessary.
mFloatingActionMode.invalidate();
mFloatingActionModeOriginatingView.getViewTreeObserver().addOnPreDrawListener(mFloatingToolbarPreDrawListener);
}
use of com.android.internal.widget.FloatingToolbar in project android_frameworks_base by ResurrectionRemix.
the class DecorView method setHandledFloatingActionMode.
private void setHandledFloatingActionMode(ActionMode mode) {
mFloatingActionMode = mode;
mFloatingToolbar = new FloatingToolbar(mContext, mWindow);
((FloatingActionMode) mFloatingActionMode).setFloatingToolbar(mFloatingToolbar);
// Will show the floating toolbar if necessary.
mFloatingActionMode.invalidate();
mFloatingActionModeOriginatingView.getViewTreeObserver().addOnPreDrawListener(mFloatingToolbarPreDrawListener);
}
use of com.android.internal.widget.FloatingToolbar in project android_frameworks_base by ResurrectionRemix.
the class StatusBarWindowView method setHandledFloatingActionMode.
private void setHandledFloatingActionMode(ActionMode mode) {
mFloatingActionMode = mode;
mFloatingToolbar = new FloatingToolbar(mContext, mFakeWindow);
((FloatingActionMode) mFloatingActionMode).setFloatingToolbar(mFloatingToolbar);
// Will show the floating toolbar if necessary.
mFloatingActionMode.invalidate();
mFloatingActionModeOriginatingView.getViewTreeObserver().addOnPreDrawListener(mFloatingToolbarPreDrawListener);
}
use of com.android.internal.widget.FloatingToolbar in project android_frameworks_base by crdroidandroid.
the class DecorView method setHandledFloatingActionMode.
private void setHandledFloatingActionMode(ActionMode mode) {
mFloatingActionMode = mode;
mFloatingToolbar = new FloatingToolbar(mContext, mWindow);
((FloatingActionMode) mFloatingActionMode).setFloatingToolbar(mFloatingToolbar);
// Will show the floating toolbar if necessary.
mFloatingActionMode.invalidate();
mFloatingActionModeOriginatingView.getViewTreeObserver().addOnPreDrawListener(mFloatingToolbarPreDrawListener);
}
Aggregations