Loading core/java/android/service/selectiontoolbar/FloatingToolbarRoot.java +4 −1 Original line number Diff line number Diff line Loading @@ -81,7 +81,10 @@ public class FloatingToolbarRoot extends LinearLayout { return super.dispatchTouchEvent(event); } void dump(String prefix, PrintWriter pw) { /** * Dumps information about this class. */ public void dump(String prefix, PrintWriter pw) { pw.print(prefix); pw.println("FloatingToolbarRoot:"); pw.print(prefix + " "); pw.print("last down X: "); pw.println(mLastDownX); pw.print(prefix + " "); pw.print("last down Y: "); pw.println(mLastDownY); Loading core/java/android/service/selectiontoolbar/RemoteSelectionToolbar.java +6 −3 Original line number Diff line number Diff line Loading @@ -71,7 +71,7 @@ import java.util.Objects; * @hide */ // TODO(b/215497659): share code with LocalFloatingToolbarPopup final class RemoteSelectionToolbar { public final class RemoteSelectionToolbar { private static final String TAG = "RemoteSelectionToolbar"; /* Minimum and maximum number of items allowed in the overflow. */ Loading Loading @@ -167,7 +167,7 @@ final class RemoteSelectionToolbar { private final Rect mTempContentRectForRoot = new Rect(); private final int[] mTempCoords = new int[2]; RemoteSelectionToolbar(int callingUid, Context context, long selectionToolbarToken, public RemoteSelectionToolbar(int callingUid, Context context, long selectionToolbarToken, ShowInfo showInfo, SelectionToolbarRenderService.RemoteCallbackWrapper callbackWrapper, SelectionToolbarRenderService.TransferTouchListener transferTouchListener, SelectionToolbarRenderService.OnPasteActionCallback onPasteActionCallback) { Loading Loading @@ -1427,7 +1427,10 @@ final class RemoteSelectionToolbar { } } void dump(String prefix, PrintWriter pw) { /** * Dumps information about this class. */ public void dump(String prefix, PrintWriter pw) { pw.print(prefix); pw.print("toolbar token: "); pw.println(mSelectionToolbarToken); pw.print(prefix); pw.print("dismissed: "); pw.println(mDismissed); pw.print(prefix); pw.print("hidden: "); pw.println(mHidden); Loading core/res/res/values/config.xml +3 −0 Original line number Diff line number Diff line Loading @@ -7507,4 +7507,7 @@ <!-- Whether cv is available on the device. --> <bool name="config_cv_available">false</bool> <!-- The selection toolbar render service component name --> <string translatable="false" name="config_systemUiSelectionToolbarRenderService">com.android.systemui/.selectiontoolbar.app.service.SysUiSelectionToolbarRenderService</string> </resources> core/res/res/values/symbols.xml +3 −0 Original line number Diff line number Diff line Loading @@ -6186,4 +6186,7 @@ <!-- Whether cv is available on the device. --> <java-symbol type="bool" name="config_cv_available" /> <!-- The selection toolbar render service component name --> <java-symbol type="string" name="config_systemUiSelectionToolbarRenderService" /> </resources> packages/SystemUI/AndroidManifest.xml +7 −1 Original line number Diff line number Diff line Loading @@ -1185,5 +1185,11 @@ <category android:name="android.intent.category.DEFAULT" /> </intent-filter> </service> <service android:name=".selectiontoolbar.app.service.SysUiSelectionToolbarRenderService" android:permission="android.permission.BIND_SELECTION_TOOLBAR_RENDER_SERVICE" android:exported="true" /> </application> </manifest> Loading
core/java/android/service/selectiontoolbar/FloatingToolbarRoot.java +4 −1 Original line number Diff line number Diff line Loading @@ -81,7 +81,10 @@ public class FloatingToolbarRoot extends LinearLayout { return super.dispatchTouchEvent(event); } void dump(String prefix, PrintWriter pw) { /** * Dumps information about this class. */ public void dump(String prefix, PrintWriter pw) { pw.print(prefix); pw.println("FloatingToolbarRoot:"); pw.print(prefix + " "); pw.print("last down X: "); pw.println(mLastDownX); pw.print(prefix + " "); pw.print("last down Y: "); pw.println(mLastDownY); Loading
core/java/android/service/selectiontoolbar/RemoteSelectionToolbar.java +6 −3 Original line number Diff line number Diff line Loading @@ -71,7 +71,7 @@ import java.util.Objects; * @hide */ // TODO(b/215497659): share code with LocalFloatingToolbarPopup final class RemoteSelectionToolbar { public final class RemoteSelectionToolbar { private static final String TAG = "RemoteSelectionToolbar"; /* Minimum and maximum number of items allowed in the overflow. */ Loading Loading @@ -167,7 +167,7 @@ final class RemoteSelectionToolbar { private final Rect mTempContentRectForRoot = new Rect(); private final int[] mTempCoords = new int[2]; RemoteSelectionToolbar(int callingUid, Context context, long selectionToolbarToken, public RemoteSelectionToolbar(int callingUid, Context context, long selectionToolbarToken, ShowInfo showInfo, SelectionToolbarRenderService.RemoteCallbackWrapper callbackWrapper, SelectionToolbarRenderService.TransferTouchListener transferTouchListener, SelectionToolbarRenderService.OnPasteActionCallback onPasteActionCallback) { Loading Loading @@ -1427,7 +1427,10 @@ final class RemoteSelectionToolbar { } } void dump(String prefix, PrintWriter pw) { /** * Dumps information about this class. */ public void dump(String prefix, PrintWriter pw) { pw.print(prefix); pw.print("toolbar token: "); pw.println(mSelectionToolbarToken); pw.print(prefix); pw.print("dismissed: "); pw.println(mDismissed); pw.print(prefix); pw.print("hidden: "); pw.println(mHidden); Loading
core/res/res/values/config.xml +3 −0 Original line number Diff line number Diff line Loading @@ -7507,4 +7507,7 @@ <!-- Whether cv is available on the device. --> <bool name="config_cv_available">false</bool> <!-- The selection toolbar render service component name --> <string translatable="false" name="config_systemUiSelectionToolbarRenderService">com.android.systemui/.selectiontoolbar.app.service.SysUiSelectionToolbarRenderService</string> </resources>
core/res/res/values/symbols.xml +3 −0 Original line number Diff line number Diff line Loading @@ -6186,4 +6186,7 @@ <!-- Whether cv is available on the device. --> <java-symbol type="bool" name="config_cv_available" /> <!-- The selection toolbar render service component name --> <java-symbol type="string" name="config_systemUiSelectionToolbarRenderService" /> </resources>
packages/SystemUI/AndroidManifest.xml +7 −1 Original line number Diff line number Diff line Loading @@ -1185,5 +1185,11 @@ <category android:name="android.intent.category.DEFAULT" /> </intent-filter> </service> <service android:name=".selectiontoolbar.app.service.SysUiSelectionToolbarRenderService" android:permission="android.permission.BIND_SELECTION_TOOLBAR_RENDER_SERVICE" android:exported="true" /> </application> </manifest>