Skip to content
Snippets Groups Projects
  1. Oct 03, 2024
  2. Sep 21, 2024
  3. Sep 19, 2024
  4. Sep 02, 2024
  5. Aug 31, 2024
  6. Aug 24, 2024
    • Aleksandras Kostarevas's avatar
      Refactor layout definition system · 2e883781
      Aleksandras Kostarevas authored
      Layouts are now defined in yaml files at latinime/java/assets/layouts. The new system makes simple layouts significantly easier to add.
      
      Many layouts still need to be ported over to the new system and some bugs still remain. The old layout system and XML layouts will need to be removed.
      2e883781
  7. Jun 21, 2024
  8. Apr 12, 2024
  9. Apr 11, 2024
  10. Mar 07, 2024
  11. Jan 17, 2024
  12. Aug 15, 2023
  13. Aug 14, 2023
  14. Jul 06, 2023
  15. Oct 17, 2022
    • Cole Faust's avatar
      Fix errorprone warnings that should be errors · 91cb9a6a
      Cole Faust authored
      This commit is part of a large scale change to fix errorprone
      errors that have been downgraded to warnings in the android
      source tree, so that they can be promoted to errors again.
      The full list of changes include the following, but not all
      will be present in any one individual commit:
      
      BadAnnotationImplementation
      BadShiftAmount
      BanJNDI
      BoxedPrimitiveEquality
      ComparableType
      ComplexBooleanConstant
      CollectionToArraySafeParameter
      ConditionalExpressionNumericPromotion
      DangerousLiteralNull
      DoubleBraceInitialization
      DurationFrom
      DurationTemporalUnit
      EmptyTopLevelDeclaration
      EqualsNull
      EqualsReference
      FormatString
      FromTemporalAccessor
      GetClassOnAnnotation
      GetClassOnClass
      HashtableContains
      IdentityBinaryExpression
      IdentityHashMapBoxing
      InstantTemporalUnit
      InvalidTimeZoneID
      InvalidZoneId
      IsInstanceIncompatibleType
      JUnitParameterMethodNotFound
      LockOnBoxedPrimitive
      MathRoundIntLong
      MislabeledAndroidString
      MisusedDayOfYear
      MissingSuperCall
      MisusedWeekYear
      ModifyingCollectionWithItself
      NoCanIgnoreReturnValueOnClasses
      NonRuntimeAnnotation
      NullableOnContainingClass
      NullTernary
      OverridesJavaxInjectableMethod
      ParcelableCreator
      PeriodFrom
      PreconditionsInvalidPlaceholder
      ProtoBuilderReturnValueIgnored
      ProtoFieldNullComparison
      RandomModInteger
      RectIntersectReturnValueIgnored
      ReturnValueIgnored
      SelfAssignment
      SelfComparison
      SelfEquals
      SizeGreaterThanOrEqualsZero
      StringBuilderInitWithChar
      TreeToString
      TryFailThrowable
      UnnecessaryCheckNotNull
      UnusedCollectionModifiedInPlace
      XorPower
      
      See https://errorprone.info/bugpatterns for more
      information on the checks.
      
      Bug: 253827323
      Test: m RUN_ERROR_PRONE=true javac-check
      Change-Id: I454a105ae82484a2d19aff1808e8d9dd55ba64f4
      91cb9a6a
  16. Jul 31, 2020
  17. Dec 14, 2018
  18. Oct 29, 2018
    • Tadashi G. Takaoka's avatar
      Fix dicttool build · 6a1b3735
      Tadashi G. Takaoka authored
      This CL partially reverts
        - Id88b02b74bdfe4ca05b08181ceb6b34d5652fc0c
        - I05c7d8429e8d9a26139456763c77997340fea8c2
      And followup (remove shortcut support)
        - I73b7dc008a5acaf75a31a36a2d332b5afabd82d0
      
      Bug: 28255684
      Test: make -j10 dicttool_aosp
      Change-Id: I2e01ed86b9517a1141aee35ea6d8ef39258981d1
      6a1b3735
  19. Aug 13, 2018
    • Yohei Yukawa's avatar
      Add missing test runner annotations · d6525756
      Yohei Yukawa authored
      These tests are supposed to run even withotu @RunWith annocation, but
      for better consistency we should have it there.
      
      Bug: 110805255
      Test: verified as follows. No new test failures.
          tapas adb LatinIME LatinIMETests arm64 userdebug && \
          DISABLE_PROGUARD=true make -j LatinIME && \
          adb install -r $OUT/system/app/LatinIME/LatinIME.apk && \
          atest LatinIMETests:com.android.inputmethod.latin.ContactsDictionaryUtilsTest && \
          atest LatinIMETests:com.android.inputmethod.latin.ContactsContentObserverTest
      Change-Id: I5c115d57b2ad41642f5f9b09b0c0d8f8c12480b0
      d6525756
  20. Jul 24, 2018
    • Yohei Yukawa's avatar
      Migrate to Android Testing Support Lib (part 7/N) · c0aa76f8
      Yohei Yukawa authored
      InstrumentationTestCase and ActivityInstrumentationTestCase2 are
      deprecated.  This CL rewrites tests that rely on those deprecated
      classes by using Android Testing Support Library.
      
      Bug: 110805255
      Test: verified as follows. No new test failures.
          tapas adb LatinIME LatinIMETests arm64 userdebug && \
          DISABLE_PROGUARD=true make -j LatinIME && \
          adb install -r $OUT/system/app/LatinIME/LatinIME.apk && \
          atest LatinIMETests:com.android.inputmethod.keyboard.internal.MoreKeySpecStringReferenceTests LatinIMETests:com.android.inputmethod.latin.settings.AccountsSettingsFragmentTests
      Change-Id: I4fefccaa0c480cfba7142ed36883da2f19b6a5f9
      c0aa76f8
    • Yohei Yukawa's avatar
      Migrate to Android Testing Support Lib (part 6/N) · 560a5bc5
      Yohei Yukawa authored
      This is a follow up CL to previous CLs that converted unit tests to
      use Android Testing Support Library but forgot to remove unused import
      lines.
      
      Bug: 110805255
      Test: verified as follows. No new test failures.
              tapas adb LatinIME LatinIMETests arm64 userdebug && \
              DISABLE_PROGUARD=true make -j LatinIME && \
              adb install -r $OUT/system/app/LatinIME/LatinIME.apk && \
              atest LatinIMETests:com.android.inputmethod.latin
      Change-Id: I8762b0dfc209bdf68867f725b03a22286026faae
      560a5bc5
  21. Jul 06, 2018
    • Yohei Yukawa's avatar
      Migrate to Android Testing Support Lib (part 5/N) · d3b93cc9
      Yohei Yukawa authored
      This CL converts 19 test classes under com.android.inputmethod.latin
      to Android Testing Support Library.
      
      Bug: 110805255
      Test: verified as follows. No new test failures.
              tapas adb LatinIME LatinIMETests arm64 userdebug && \
              DISABLE_PROGUARD=true make -j LatinIME && \
              adb install -r $OUT/system/app/LatinIME/LatinIME.apk && \
              atest LatinIMETests:com.android.inputmethod.latin
      Change-Id: I878fcae0126f57c43a644af341e5a0a8ac8f5cc9
      d3b93cc9
    • Yohei Yukawa's avatar
      Migrate to Android Testing Support Lib (part 4/N) · a497886d
      Yohei Yukawa authored
      This CL converts 7 test classes under com.android.inputmethod.keyboard
      to Android Testing Support Library.
      
      This CL also fix missing annotations in KeyboardLayoutTest.
      
      Bug: 110805255
      Test: verified as follows. No new test failures.
              tapas adb LatinIME LatinIMETests arm64 userdebug && \
              DISABLE_PROGUARD=true make -j LatinIME && \
              adb install -r $OUT/system/app/LatinIME/LatinIME.apk && \
              atest LatinIMETests:com.android.inputmethod.keyboard
      Change-Id: I8ab9e3329f159f0df02812fafe44c25efa76c0d1
      a497886d
  22. Jul 05, 2018
    • Yohei Yukawa's avatar
      Migrate to Android Testing Support Lib (part 3/N) · 5fb15a46
      Yohei Yukawa authored
      This CL converts the following 3 test cases to Android Testing Support
      Library.
       * MoreKeysKeyboardBuilderAutoOrderTests
       * MoreKeysKeyboardBuilderFixedOrderTests
       * MoreKeysKeyboardBuilderMaxOrderTests
      
      Bug: 110805255
      Test: atest LatinIMETests:com.android.inputmethod.keyboard.MoreKeysKeyboardBuilderAutoOrderTests
      Test: atest LatinIMETests:com.android.inputmethod.keyboard.MoreKeysKeyboardBuilderFixedOrderTests
      Test: atest LatinIMETests:com.android.inputmethod.keyboard.MoreKeysKeyboardBuilderMaxOrderTests
      Change-Id: I68d6c1901d4bb77bdc59d0be71eb565984fbd97d
      5fb15a46
    • Yohei Yukawa's avatar
      Migrate to Android Testing Support Lib (part 1/N) · 9c49581e
      Yohei Yukawa authored
      This CL converts tests under com.android.inputmethod.latin.utils to
      Android Testing Support Library.
      
      Bug: 110805255
      Test: verified as follows. No new test failures.
              tapas adb LatinIME LatinIMETests arm64 userdebug && \
              DISABLE_PROGUARD=true make -j LatinIME && \
              adb install -r $OUT/system/app/LatinIME/LatinIME.apk && \
              atest LatinIMETests:com.android.inputmethod.latin.utils
      Change-Id: I5cc2ddbc4116003ab6407432ab521b6b560052ae
      9c49581e
    • Yohei Yukawa's avatar
      Migrate to Android Testing Support Lib (part 2/N) · bfa55818
      Yohei Yukawa authored
      This CL converts tests under com.android.inputmethod.compat to
      Android Testing Support Library.
      
      Bug: 110805255
      Test: verified as follows. No new test failures.
              tapas adb LatinIME LatinIMETests arm64 userdebug && \
              DISABLE_PROGUARD=true make -j LatinIME && \
              adb install -r $OUT/system/app/LatinIME/LatinIME.apk && \
              atest LatinIMETests:com.android.inputmethod.compat
      Change-Id: I6766447ca27f5cccdb1e9f7e751235daa04cc252
      bfa55818
    • Yohei Yukawa's avatar
      Remove unused class PersonalDictionaryLookup · 28022504
      Yohei Yukawa authored
      PersonalDictionaryLookup has never been used.  Usually proguard can
      remove this class but it also makes it difficult to run unit tests.
      
      We should just remove this unused class.
      
      Bug: 111164993
      Test: compile
      Test: No new test failure
      Change-Id: I732db94cb3aac4ed9c6b5954679b896334a12a9c
      28022504
  23. Jul 15, 2015
    • Mohammadinamul Sheik's avatar
      [LatinIME] Support MNC permissions. · 60415866
      Mohammadinamul Sheik authored
      This build has been compiled against API 23
      
      This build is approved to go out with the M OTA, but may NOT be released
      to the public until the Play Store has enabled API level 23 apps
      
      Version: 4.1.2300x.build_id
      
      1. Replaces the personalization is on information with the suggest
         contacts.
      2. Enables "Use Contacts" only if the app has permission to read
         contacts.
      3. Disables the contacts dictionary in the Facilitator.
      4. Do not register/read the contacts in the contact observer.
      
      Bug: 22236416
      Change-Id: I9674e13d0d0f4a2014c5024fde0178de684c07e7
      60415866
Loading