Skip to content
Snippets Groups Projects
  1. Feb 26, 2015
    • Dan Zivkovic's avatar
      Ignore the Emoji key when not connected. · edd94a44
      Dan Zivkovic authored
      When the LatinIME does not have an active InputConnection, it will not try
      to toggle the Emoji keyboard.
      
      Bug 19513415.
      
      Change-Id: I31f928cd7db1cddd771c548cd3dc42f8af64d0e2
      edd94a44
  2. Feb 11, 2015
    • Dan Zivkovic's avatar
      Fix master build. · 5254c01d
      Dan Zivkovic authored
      For some reason, we can't import android.os package in our Constants.
      
      Change-Id: I357ed72d13c5039a83c6e2489cdf5ef74d0ffea8
      5254c01d
    • Dan Zivkovic's avatar
      Remove shortcut support from LatinIME. · 12d80ebe
      Dan Zivkovic authored
      Note this change does not affect the native decoder interface.
      
      Change-Id: I73b7dc008a5acaf75a31a36a2d332b5afabd82d0
      12d80ebe
  3. Feb 05, 2015
  4. Feb 04, 2015
  5. Oct 28, 2014
  6. Oct 23, 2014
  7. Oct 21, 2014
    • Tadashi G. Takaoka's avatar
      Fix some compiler warnings · 5f00fe09
      Tadashi G. Takaoka authored
      This CL fixes the following compiler warnings.
      
      - Indirect access to static member
      - Access to a non-accessible member of an enclosing type
      - Parameter assignment
      - Method can be static
      - Local variable declaration hides another field or variable
      - Value of local variable is not used
      - Unused import
      - Unused private member
      - Unnecessary 'else' statement
      - Unnecessary declaration of throw exception
      - Redundant type arguments
      - Missing '@Override' annotation
      - Unused '@SuppressWarning' annotations
      
      Bug: 18003991
      Change-Id: Icfebe753e53a2cc621848f769d6a3d7ce501ebc7
      5f00fe09
  8. Oct 14, 2014
    • Jean Chalard's avatar
      Fix an NPE. · 7d745941
      Jean Chalard authored
      Bug: 17958289
      Change-Id: I5c9ea668ff75b38c7ddebd767c36a950835c0c9f
      7d745941
  9. Oct 03, 2014
  10. Oct 01, 2014
  11. Sep 29, 2014
  12. Sep 18, 2014
    • Yohei Yukawa's avatar
      Use Add-To-Dictionary indicator only · 5896153f
      Yohei Yukawa authored
      With this CL, the previously used commit indicator was reverted.
      Instead we use the add-to-dictionary indicator only at the moment.
      
      This CL also fixes the indicator position in bidi context.
      
      BUG: 17335734
      Change-Id: I5f7cf173ddc30876e2b01320acaff8ba4265edf6
      5896153f
  13. Sep 08, 2014
  14. Sep 03, 2014
    • Yohei Yukawa's avatar
      Follow up API signature change · 5d6ac777
      Yohei Yukawa authored
      This is a follow up CL for API signature change in
      I772c48ff18918e48a81e807b48ff907614485c09
      
      BUG: 17320996
      Change-Id: Ic8b6162bda12bf74fae79af212c5d81c400eb9e8
      5d6ac777
  15. Aug 27, 2014
    • Yohei Yukawa's avatar
      Make sure to obtain the IC before requesting CursorAnchorInfo · acce1aa5
      Yohei Yukawa authored
      RichInputConnection#requestUpdateCursorAnchorInfo must make
      sure to obtain the input connection before calling methods
      of it.
      
      BUG: 17299587
      Change-Id: I8e0cd473a4cc32583cd47634c227d702f7c69c6c
      acce1aa5
    • Yohei Yukawa's avatar
      Set the text bgcolor only when CursorAnchorInfo is available · 29200b0a
      Yohei Yukawa authored
      When CursorAnchorInfo is unavailable, we shouldn't try to show
      the commit indicator and set the text highlight color.
      
      With this CL, RichInputConnection can be used to track if the
      application responded that it does support CursorAnchorInfo or
      not.  This result will be taken into consideration when
      InputLogic needs to determine whether the commit indicator
      should be displayed or not.
      
      Change-Id: I945d70eeb02a7a5f3d9b22459b23d7028508910f
      29200b0a
  16. Aug 25, 2014
    • Yohei Yukawa's avatar
      Allow to add/remove background color to/from the committed text · 4a71d2c4
      Yohei Yukawa authored
      This is a groundwork for subsequent CLs where we need to
      add/remove background color to/from the commited text.
      
      In this CL, we use Spanned#SPAN_COMPOSING so that we can easily
      remove such a background color by calling
      InputConnection#finishComposingText. To make this operation easy
      and realiable, we need to track whether we have specified the
      background color to the commited text or not at one place. Here
      we use RichInputConnection for this purpose.
      
      Change-Id: I5f9bc4425c5d1b80a719a20e5baf336729ec08d2
      4a71d2c4
  17. Aug 06, 2014
    • Jean Chalard's avatar
      [HS3] Fix a bug on ICS · 9273f383
      Jean Chalard authored
      There is a bug in ICS where the input connection won't take
      any writing commands after rotation until the cursor moves.
      This fixes it by wiggling the cursor position once before trying
      to do anything.
      
      Bug: 16810766
      Change-Id: Ib14c70bd0550420cecfa86dea501d13a1a91e296
      9273f383
  18. Jul 07, 2014
  19. Jul 01, 2014
  20. Jun 30, 2014
  21. Jun 27, 2014
  22. Jul 01, 2014
  23. Jun 30, 2014
  24. Jun 27, 2014
  25. Jun 25, 2014
  26. Jun 06, 2014
    • Jean Chalard's avatar
      Fix a bug on rotation with selection. · 9fd9a68d
      Jean Chalard authored
      The symptom : when text is selected and the device is rotated,
      sometimes the keyboard sets the word as being composed around
      the start of the selection. Upon the next rotation this ends up
      with the keyboard committing some text in place of the selection.
      
      The cause : another bug in the framework with rotation >.>
      The keyboard receives a call to startInput with a wrong cursor
      position, namely one that does not represent a selection. The
      keyboard sets a composition according to this wrong data. When
      the keyboard is rotated again, it commits the text, which takes
      the place of the selection.
      
      The solution : actually when restarting input the keyboard
      realizes that the cursor position is wrong. We cancel composition
      at that time.
      For robustness, this change also implements two other defensive
      changes : upon call to onUpdateSelection, we actually realize
      that the previous values were wrong, so we also fix it at that
      time, and in addition, when rotating, we finishComposingText()
      instead of commitText() which is less dangerous. Implementing
      this later change also allows us to let less internal variables
      from InputLogic escape to LatinIME, so it's also a good change
      for design.
      
      Bug: 14140799
      
      Change-Id: Ib10de18e53e376ac1bbc8487e13d969828483346
      9fd9a68d
  27. May 30, 2014
  28. May 29, 2014
Loading