commit | d3755f46cc992635a7928376f748e65b5fad0aa3 | [log] [tgz] |
---|---|---|
author | Brandon Dayauon <brdayauon@google.com> | Mon Aug 29 11:48:27 2022 -0700 |
committer | Brandon Dayauon <brdayauon@google.com> | Tue Oct 11 13:29:35 2022 -0700 |
tree | 3034ff4e9918328b97c0e268cea56b5e4300f846 | |
parent | e2791f0cf69f8d721ab5a41b22db06e9fbf154e2 [diff] |
Scale icons from search to make app icons big like AA -> workspace when dragging from search. To scale the icon during dragging (instead of long press) I created a scale variable within DragOptions so that right before dragStart gets called in DragController.java (in callOnDragStart()) the dragview scales before dragging.. * note: the scale from search is 1.687 and the scale from allApps is 1.107 - included searchResult and smallSearchResult - Added animation for scaling icon (used Interpolators.EMPHASIZED 500ms as suggested by motion designer) - Cancel animation when drag finishes bug: 222666176 test: Manual - after: https://drive.google.com/file/d/1ZZHnXlzdTxlM-RUIdJ6EOYkPPg6tCUxC/view?usp=sharing before: https://drive.google.com/file/d/1NpBz3kT_slHXtpXObr_G8K6SZYG9_bLX/view?usp=sharing Change-Id: I01309a3be928987ba00422ad947b80a3df865973