summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorRoozbeh Pournader <roozbeh@google.com>2017-06-20 15:57:30 -0700
committerRoozbeh Pournader <roozbeh@google.com>2017-06-20 16:50:01 -0700
commit2ee9075462c53db73b6bb59b1f3d9174f9542bbd (patch)
tree0f618efc3c731dfa4ba336e0dfee76d2e3735e02 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent2739fb9e279312266e0e944fd52ff56398c0fcb5 (diff)
Switch formatElapsedTime to use ICU's MeasureFormat
Previously, localizable strings were used instead, causing various difficulties and inconsistencies. The formatting code also hard-coded the pluralization rules for English and used it for all locales. Now we use ICU's MeasureFormat. There are some small formatting differences with the previous code, but they are not important, especially since the old strings were not necessarily well-thought. Bug: 36994779 Test: adb shell am instrument -w -e package android.text com.android.frameworks.coretests/android.support.test.runner.AndroidJUnitRunner Change-Id: Ie8cb119a76e89e2ee971353761fbd54e0d9a556c
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions