Commit Graph

4 Commits

Author SHA1 Message Date
Joanne Chung
db78cc2cd8 The service implementatoin of selection toolbar
We clone most the render logic from LocalFloatingToolbarPopup to the
DefaultSelectionToolbarRenderService to render the menu items in the
system process. When the rendering is done, the system will notify
the application process events to let the application to position
the rendered content.

The changes also removes unused file SelctionContext. We punt the TC
part to the next release, the file is unnecessary now.

This change is only for the service implementation, the client side
implementation will be done on the next change.

Bug: 190030331
Bug: 205823018
Test: manual.

Merged-In: I3915e8165b4d371700cb5fb9e7eb23d46f39bd5c
Change-Id: I2e704432b1e149ce8dd6853fcad6850cf02b60bb
2022-01-27 21:22:03 +08:00
Joanne Chung
895098daeb Change path for DefaultSelectionToolbarRenderService
We met the ClassNotFoundException when putting the service under
system service folder. Cannot find the root cause to fix it now. We
need to more time to find the reason so the workaround is to move the
class to the framework/base/core/service/selectiontoolbar to fix the
problem now. We will go back to fix the problem later.

Bug: 214122495
Test: manual. Can bind to DefaultSelectionToolbarRenderService and
the methods can be called successfully.

Change-Id: I9218c9ceee25a105fe592c0c63905ba2e2f8a305
2022-01-12 16:20:42 +08:00
Joanne Chung
25c054d3a0 Initial layout of selection toolbar for render service part.
The initial selection toolbar render service part architecture. The
implementation will be done in the follow up changes.

Bug: 190030331
Bug: 205822301
Test: manual. Call API and can bind service successfully.
Ignore-AOSP-First: new feature for T.

Change-Id: I3a5d3802c2afca432f137742cfd6a1e0045ed975
2021-12-16 22:55:29 +08:00
Joanne Chung
41c4a0ac71 Initial layout of selection toolbar.
The initial selection toolbar related architecture. Render service
part and the implementation will be revised in the follow up changes.

Bug: 190030331
Bug: 205822301
Test: manual. Can boot to home and get manager successfully.
Ignore-AOSP-First: new file for T

Change-Id: Iab5d5f2e5e48e6258a63fb0c479194c958ea61e8
2021-12-16 11:35:23 +08:00