Skip to content
Snippets Groups Projects
  1. 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
    • Tadashi G. Takaoka's avatar
      Simplify onComputeInsets of LatinIME · 37beaf15
      Tadashi G. Takaoka authored
      This CL expands SoftInputWindow to the entire screen. Thus a key
      review backing view is eliminated and onComputeInsets() gets
      simplified too.
      
      Bug: 17212702
      Bug: 10841052
      Bug: 10541453
      Change-Id: I2d859f4e4698c64cabe399000821f13bab729996
      37beaf15
    • Yohei Yukawa's avatar
      Set highlight color along with the commit indicator · 97681ebd
      Yohei Yukawa authored
      With this CL, the text highlight color is applied
      when the commit indicator is displayed.
      
      Note that the underline is not rendered when the
      background color is enabled. This is a known issue.
      
      Change-Id: Ia19355e1303e3a10e8a7d69bc47c779feb70248a
      97681ebd
    • 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
    • Yohei Yukawa's avatar
      Introduce a mechanism to hide the indicator speculatively · a475c854
      Yohei Yukawa authored
      This is an optional optimization to reduce the UI latency.
      
      Imagine that the commit indicator is now displayed and the
      composing text is being updated, it is highly likely that
      the commit indicator will disappear unless the application
      rejects the setComposingText request.
      
      If we assume that the application will accept the new
      composing text without any modifications, we can hide the
      indicator without waiting for the arrival of new
      CursorAnchorInfo event.
      
      This optimization isn't dangerous because we can show the
      indicator again when we receive new CursorAnchorInfo event
      and the assumption is turned out to be invalid.
      
      Change-Id: Id59c6607a1029782410611e768791af9984f14ac
      a475c854
    • Yohei Yukawa's avatar
      Introduce commit/add-to-dictionary indicators · bea17c49
      Yohei Yukawa authored
      This CL introduces commit/add-to-dictionary indicators.
      
      Note that the text is not yet highlighted when the commit
      indicator is displayed. It will be addressed in subsequent
      CLs.
      
      Change-Id: I7e9b0fcfdc0776a50a1d8cfb41ee0add813317dd
      bea17c49
  2. Aug 26, 2014
    • Jean Chalard's avatar
      Fix a bug where the top prediction would disappear. · 8380f921
      Jean Chalard authored
      This is because prediction can't be easily distinguished in
      style. This fixes the bug by simulating the right members,
      but some refactoring should be done to remove useless
      booleans.
      
      Bug: 17271923
      Change-Id: Ib88f3fb95678021624e59535492926dd315d26fb
      8380f921
  3. Aug 25, 2014
    • Yohei Yukawa's avatar
      Use more descriptive names for some internal fields · a61b7245
      Yohei Yukawa authored
      This CL clarifies that delay parameters are specified with
      milliseconds.
      
      Change-Id: I401a60b8c09c2a04201af5b74babcdb091c07f4a
      a61b7245
    • Tadashi G. Takaoka's avatar
      Show view even when IME is explicitly shown with physical keyboard · 19dd34a0
      Tadashi G. Takaoka authored
      Bug: 17242477
      Bug: 13988700
      Change-Id: I519c0481760a9aa93a5d9bee68e0f6a3a8fc4d9d
      19dd34a0
    • Yohei Yukawa's avatar
      Fix build due to an illegal character · 8681287c
      Yohei Yukawa authored
      Change-Id: I597ab26db70387b80ddcd7d51de6ae751380030d
      8681287c
    • Yohei Yukawa's avatar
      Introduce #shouldShowAddToDictionaryHint · ebc15090
      Yohei Yukawa authored
      This is a groundwork for subsequent CLs where we need to
      call this method from multiple places. This CL does not
      change any existing behaviors.
      
      Change-Id: Id8fa0360305d7383571edffab6752b2240367cf9
      ebc15090
    • Yohei Yukawa's avatar
      Dismiss "Add to dictionary" hint with non-special char event · 034c3260
      Yohei Yukawa authored
      This CL slightly extends the condition when "Add to dictionary"
      hint is dismissed.
      
      With this CL, "Add to dictionary hint" will be dismissed by any
      non-special char event. This is more comfortable especially if
      we start using more intrusive UIs such as indicator and/or
      background color with the text hint in the suggestion strip.
      
      Change-Id: I2ea0fa40d9c6663ebf5d5439be3eca2a2cbd5166
      034c3260
    • 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
  4. Aug 24, 2014
  5. Aug 22, 2014
  6. Aug 20, 2014
  7. Aug 16, 2014
    • Yohei Yukawa's avatar
      Let the backing view cover the entire content area · 16a43d2b
      Yohei Yukawa authored
      With this CL, the backing view starts covering the content area
      entirely.  This allows the IME to render its UI elements at an
      arbitrary position on the screen.
      
      Change-Id: I8b4173410931b776964dddf66de2fe247e51d9de
      16a43d2b
  8. Aug 14, 2014
  9. Aug 13, 2014
  10. Aug 12, 2014
  11. Aug 08, 2014
  12. Aug 06, 2014
  13. Aug 05, 2014
Loading