History log of /frameworks/support/emoji/core/tests/java/android/support/text/emoji/FontRequestEmojiCompatConfigTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6436cc6a00500b2b50b1e46d0c12379c15fd4f04 13-Jun-2017 Seigo Nonaka <nona@google.com> Introduce auto retry to FontRequestEmojiCompatConfig.

This CL introduces auto retry mechanism to FontRequestEmojiCompatConfig.
To implement this features, provides setter functions for Handler and
RetryCallback.

The Handler is used for waiting the content observer notification and
asynchronous repeated retrying. If developers don't give this, metadata
loader implicitly creates the thread and use it for asynchronous
retrying.

The RetryCallback is used for giving control to the developers of retry
interval. Developers can use the default retry callback
DEFAULT_RETRY_CALLBACK.

Test: ./gradlew support-emoji:connectedDebugAndroidTest
on API 15, 16, 17, 18, 19, 21, 22, 23, 24, 25, 26
Test: Verified by using test app
on API 15, 16, 17, 18, 19, 21, 22, 23, 24, 25, 26
Bug: 62227949

Change-Id: I17e941caeae7b9c0651072b83e40fd99bf93d475
/frameworks/support/emoji/core/tests/java/android/support/text/emoji/FontRequestEmojiCompatConfigTest.java
c685244d1fa0ac20b32f3b62a301b7d7fbd5a832 08-Jun-2017 Siyamed Sinir <siyamed@google.com> Deprecate LoaderCallback, create MetadataLoaderRepoCallback

- Deprecated MetadataLoader, and created MetadataRepoLoader.
- Deprecated LoaderCallback and created MetadataRepoLoaderCallback.
- Added a new constructor to EmojiCompat.Config that accepts the
MetadataRepoLoader.
- Updated the code to work with both metadata loader interfaces.

Test: ./gradlew support-emoji:connectedAndroidTest
./gradlew uploadArchives
./gradlew generateDocs
./gradlew support-emoji-demos:assemble
Manual test using support-emoji-demos

Bug: 62227782
Change-Id: I7268b68ac7a3a20c610147b14c0aada1ed9741ed
/frameworks/support/emoji/core/tests/java/android/support/text/emoji/FontRequestEmojiCompatConfigTest.java
8346a9a10895008f08f50969689a1ce16fbd577c 10-May-2017 Seigo Nonaka <nona@google.com> Remove FontsContractInternal

This CL includes:
- Rewrite FontRequestEmojiCompatConfig with FontsContractCompat
- Update tests to reflects the implementation.
- Remove FontsContractINternal, FontResult, and related tests.

Bug: 37493347
Test: ./gradlew support-compat:connectedDebugAndroidTest
on API 16, 17, 18, 19, 21, 22, 23, 24, 25, O
Test: ./gradlew support-emoji:connectedDebugAndroidTest
on API 16, 17, 18, 19, 21, 22, 23, 24, 25, O
Test: ./gradlew support-appcompat-v7:connectedDebugAndroidTest
on API 16, 17, 18, 19, 21, 22, 23, 24, 25, O

Change-Id: Iabcca156021af73651eb3c804f640a25951ca91f
/frameworks/support/emoji/core/tests/java/android/support/text/emoji/FontRequestEmojiCompatConfigTest.java
fc857452283b38dfbac9ca023a77a8cf8b8c5599 09-May-2017 Seigo Nonaka <nona@google.com> Refactoring DL Font - Extract thread model from TypefaceCompat.

- Remove TypefaceCompatBaseImpl.create
- Decouple BackgroundThread from TypefaceCompat and put it
FontsContractCompat.
- Extract self destructive handler thread functionality to
SelfDestructiveThread with tests.

Bug: 37493347
Test: ./gradlew support-compat:connectedDebugAndroidTest
on API 16, 17, 18, 19, 21, 22, 23, 24, 25, O
./gradlew support-emoji:connectedDebugAndroidTest
on API 16, 17, 18, 19, 21, 22, 23, 24, 25, O

Change-Id: I577fcb02fe2e266fa88b16fbe4788228dfb96d11
/frameworks/support/emoji/core/tests/java/android/support/text/emoji/FontRequestEmojiCompatConfigTest.java
9094130ddddd944c2f1dd03044baf1bd86442b59 30-Apr-2017 Siyamed Sinir <siyamed@google.com> Merge changes from topic 'emojicompat_api19' into oc-dev

* changes:
Update tests for EmojiCompat on pre 19
Make EmojiCompat no-op pre19
56489fe7b61a3dd6d70fc7ff7a4e5b129773797c 27-Apr-2017 Seigo Nonaka <nona@google.com> Move FontRequest from graphics.font to provider pacakge.

This moving was done in framework by
I0eb501844247c2f07eaa1fc7a71f72e404888b5b

Bug: 37326126
Test: ./gradlew support-emoji:connectedDebugAndroidTest
Test: ./gradlew support-compat:connectedDebugAndroidTest
Change-Id: Ibbc8f5d685f86ef6983eea40f6ca4d6301d8d52a
/frameworks/support/emoji/core/tests/java/android/support/text/emoji/FontRequestEmojiCompatConfigTest.java
9546df94e6393de504f7ef8dc1b12a1f550c47a8 27-Apr-2017 Siyamed Sinir <siyamed@google.com> Update tests for EmojiCompat on pre 19

Test: ./gradlew support-emoji:connectedAndroidTest on SDK 16 and
SDK 25 device.

Bug: 35811035
Change-Id: I642cf9a96f0f5677a16f933dcf1581fffba7c931
/frameworks/support/emoji/core/tests/java/android/support/text/emoji/FontRequestEmojiCompatConfigTest.java
0b03693667d95d2202dfbb24866665ff061acce1 19-Apr-2017 Seigo Nonaka <nona@google.com> Hide TypefaceCompat and introduce FontsContractCompat instead.

This change brings the supportlib implementation of Downloadable
Fonts in sync with the recent changes in the framework.

TypefaceCompat.create is kept but hidden to deal with xml layout font
loading, as is in the framework atm.

The API26 implementation still points to API24, as framework APIs are
not final yet.

Bug: 35381428
Test: support-compat:connectedDebugAndroidTest
Change-Id: I4d73d7a547a0d9b79c4b7158d431a573b80417f3
/frameworks/support/emoji/core/tests/java/android/support/text/emoji/FontRequestEmojiCompatConfigTest.java
484205f290d5cc989074248f876f72d10000eba1 06-Apr-2017 Siyamed Sinir <siyamed@google.com> Integrate TypefaceCompat into EmojiCompat

Test: Added a test
./gradlew support-emoji:connectedAndroidTest

Bug: 37038711
Change-Id: Ib2b28c304f1a5d92dc51a150ee55f0d7bb6d720d
/frameworks/support/emoji/core/tests/java/android/support/text/emoji/FontRequestEmojiCompatConfigTest.java