Merge "Add a hidden API to apply a transform the content of an event." into sc-dev am: 00c2e36c3b am: 952a8104c2

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/14420241

Change-Id: I4af2c8c1a784c6cb2ff79b9285ec0d6cf1213ee3