Skip to content
Snippets Groups Projects
  1. Mar 22, 2012
    • Tadashi G. Takaoka's avatar
      Fix shift locked keyboard layouts of caseless scripts · 9a964ed5
      Tadashi G. Takaoka authored
      The scripts/languages such as Georgian, Hndi have no notion of case.
      In such scripts/language, shift locked keyboard should be the same of
      manually shifted keyboard.
      
      Change-Id: Iadea3a332674a52188de7f1566727e4b56dced8c
      9a964ed5
    • Kurt Partridge's avatar
      log through group level abstractions · fdd68f06
      Kurt Partridge authored
      For the groups:
      - LogGroup.MOTION subfields now deteremined in Utils.writeMotionEvent() rather
        than in LatinKeyboardView.processMotionEvent()
      - LogGroup.KEY is now logged throguh LatinIME.onCodeInput() rather than
        Utils.push().  This catches keys more generally, including modifiers, and
        records touch positions for everything.  Removed now-redundant
        Utils.writeBackspace() and Utils.writeChar().
      - LogGroup.CORRECTION uses Utils.writeCorrection(), and formats instead of
        leaving this to callers.
      - LogGroup.STATE_CHANGE uses Utils.writeStateChange().  Optional fields are
        still left to callers, as this group has more variety.
      
      Formats have changed to incorporate new fields.
      
      Minor housekeeping:
      
      ENABLE_USABILITY_STUDY_LOG constants replaced with variable references, as
      the logging feature can be changed in Settings and therefore dynamically
      changes.
      
      New log format:
      
      20120322-111203.621+0900        1332382323621   s       [onStartInputView]      com.socialnmobile.dictapps.notepad.color.note   2131624043      147457  1140850694
      20120322-111204.912+0900        1332382324912   m       [Down]  2782355 0       243     171     0.5666667       0.895
      20120322-111204.975+0900        1332382324975   m       [Move]  2782419 0       240     171     0.6     1.17
      20120322-111204.983+0900        1332382324983   m       [Move]  2782428 0       238     171     0.6     1.1899999
      20120322-111204.992+0900        1332382324992   m       [Move]  2782437 0       236     171     0.6     1.1899999
      20120322-111205.002+0900        1332382325002   m       [Move]  2782446 0       232     170     0.6     1.1899999
      20120322-111205.012+0900        1332382325012   m       [Move]  2782456 0       227     169     0.6     1.125
      20120322-111205.021+0900        1332382325021   m       [Move]  2782465 0       224     168     0.6     1.125
      20120322-111205.031+0900        1332382325031   m       [Move]  2782475 0       221     167     0.6     0.895
      20120322-111205.040+0900        1332382325040   m       [Move]  2782483 0       213     164     0.6     0.58
      20120322-111205.047+0900        1332382325047   m       [Up]    2782491 0       213     164     0.6     0.58
      20120322-111205.052+0900        1332382325052   k       'D'     243     171
      20120322-111205.228+0900        1332382325228   m       [Down]  2782622 0       171     71      0.6333334       1.275
      20120322-111205.243+0900        1332382325243   m       [Move]  2782677 0       178     69      0.6333334       1.275
      20120322-111205.325+0900        1332382325325   m       [Up]    2782750 0       178     69      0.6333334       1.275
      20120322-111205.333+0900        1332382325333   k       'e'     171     71
      20120322-111205.509+0900        1332382325509   m       [Down]  2782936 0       265     139     0.53333336      0.885
      20120322-111205.512+0900        1332382325512   m       [Move]  2782954 0       265     141     0.53333336      1.04
      20120322-111205.552+0900        1332382325552   m       [Move]  2782973 0       265     143     0.5666667       1.14
      20120322-111205.663+0900        1332382325663   m       [Up]    2783102 0       265     143     0.5666667       1.14
      20120322-111205.668+0900        1332382325668   k       'f'     265     139
      20120322-111206.140+0900        1332382326140   m       [Down]  2783584 0       348     352     0.53333336      0.675
      20120322-111206.206+0900        1332382326206   m       [Move]  2783648 0       348     354     0.5666667       0.73499995
      20120322-111206.223+0900        1332382326223   m       [Move]  2783666 0       348     356     0.5666667       0.545
      20120322-111206.232+0900        1332382326232   m       [Up]    2783674 0       348     356     0.5666667       0.545
      20120322-111206.236+0900        1332382326236   k       ' '     348     352
      20120322-111206.245+0900        1332382326245   c       [----]  Def             -1
      
      Bug: 6188932
      Change-Id: Iea46a0c683f858b72005b8e81191ef1d70262dca
      fdd68f06
    • Ken Wakasa's avatar
      Revive the Makefile for makedict · 2aa02b84
      Ken Wakasa authored
      Follow up to I4d2ef504.  Address a compiler warning and a small optimization as well.
      
      bug: 6188977
      bug: 6209651
      Change-Id: Ibc9da51d48ebf0b8815ad0bb2f697242970ba8f7
      2aa02b84
  2. Mar 21, 2012
    • Eric Fischer's avatar
      Import translations. DO NOT MERGE · 2e66afcc
      Eric Fischer authored
      Change-Id: Iea3ffbd477e54bbccd65266ce4e070efb7a8c3fc
      2e66afcc
    • Tadashi G. Takaoka's avatar
      Refactor key drawing code in KeyboardView · 72913f97
      Tadashi G. Takaoka authored
      Change-Id: Ic7af05caee32eb6cba68d27ba4e2d9072472b34d
      72913f97
    • Kurt Partridge's avatar
      Add additional structure to output logs to group entries by optional fields. · 78bf41b8
      Kurt Partridge authored
      The new format has time, time as int, and the new logGroup code
          (m=motionEvent, k=key, s=statechange, c=correction)
          followed by additional text whose format depends on the logGroup code.
      
      The additional text will be cleaned up in later CL's.
      
      20120321-170548.067+0900        1332317148067   m
      [Down]143116235,0,691,378,0.40000004,0.435
      20120321-170548.133+0900        1332317148133   m
      [Up]143116302,0,691,378,0.40000004,0.435
      20120321-170548.146+0900        1332317148146   k       <enter> 691     378
      20120321-170602.485+0900        1332317162485   s
      [onStartInputView]com.socialnmobile.dictapps.notepad.color.note,2131624043,147457,1140850694
      20120321-170606.508+0900        1332317166508   m
      [Down]143134679,0,40,154,0.4666667,0.64
      20120321-170606.567+0900        1332317166567   m
      [Move]143134723,0,42,154,0.4666667,0.765
      20120321-170606.577+0900        1332317166577   m
      [Move]143134746,0,44,154,0.4666667,0.775
      20120321-170606.652+0900        1332317166652   m
      [Up]143134824,0,44,154,0.4666667,0.775
      20120321-170606.662+0900        1332317166662   k       A       40      154
      20120321-170607.200+0900        1332317167200   m
      [Down]143135372,0,411,390,0.53333336,0.585
      20120321-170607.311+0900        1332317167311   m
      [Up]143135483,0,411,390,0.53333336,0.585
      20120321-170607.313+0900        1332317167313   c       [----]A
      
      Bug: 6188932
      Change-Id: I8694eb9016d8cf0389ef582f6c7d2820aa4d2c92
      78bf41b8
    • Tom Ouyang's avatar
      Move makedict to LatinIME android keyboard. · e276c240
      Tom Ouyang authored
      Bug: 6188977
      Change-Id: I4d2ef504bb983abbda3cb52ee450cb46f58d95cf
      e276c240
    • Tadashi G. Takaoka's avatar
      Use "dp" instead of "dip" · 7c38b73f
      Tadashi G. Takaoka authored
      Change-Id: Iaab1032a0ce0f97742288e76221433ef400e4b4f
      7c38b73f
    • Tadashi G. Takaoka's avatar
      Use "dp" instead of "sp" · a6dd0c27
      Tadashi G. Takaoka authored
      Change-Id: I772d117d88eb7361d8695c4d97c051f0c7397df8
      a6dd0c27
    • Tadashi G. Takaoka's avatar
      Refactor to memorize device dependent override parameters · 624f1bab
      Tadashi G. Takaoka authored
      Change-Id: I79482a8ef3846525669979a30dec183ea18138b5
      624f1bab
    • Jean Chalard's avatar
      Correctly close the gzip stream · bc89f5d3
      Jean Chalard authored
      I had gotten the chain call in reverse.
      Bug: 6177523
      
      Change-Id: Ic5b76425de2d5d05d5132f8d2c7ade0d79c14ccc
      bc89f5d3
    • Jean Chalard's avatar
      Strengthen java code against bad returns from native · 6ca3ac08
      Jean Chalard authored
      This doesn't really fix the following bug but it may alleviate
      the symptoms
      
      Bug: 6191885
      Change-Id: I0de3f550cc7c6cdf79b291399785ad31b205d2ac
      6ca3ac08
  3. Mar 20, 2012
  4. Mar 19, 2012
  5. Mar 16, 2012
    • Ken Wakasa's avatar
      Small performance improvement by removing interface accesses. · 660776e0
      Ken Wakasa authored
      Change-Id: I6d91f3b086470b79306dbe2874db9748b9e0eb5f
      660776e0
    • satok's avatar
      Fix NPE · cbb5053b
      satok authored
      bug: 6181736
      
      Change-Id: I6522f19555c27f33c9ff4eaa8b2559a51a38f015
      cbb5053b
    • satok's avatar
      Calculate proximity characters in the native code · 1caff47e
      satok authored
      Bug: 4343280
      
      Change-Id: I6adaf560f7a4f1f96dcb6ec2f61f20ee3001167e
      1caff47e
    • Tadashi G. Takaoka's avatar
      Support preliminary Hindi Keyboard · 53eca32f
      Tadashi G. Takaoka authored
      Bug: 5964777
      Change-Id: Id12c75966f6302e6f4ebbd4a8f474e05c601c88a
      53eca32f
    • Jean Chalard's avatar
      Remove UserUnigramDictionary. · 7dcbed04
      Jean Chalard authored
      This isn't used any more.
      
      Change-Id: Ie63ae621bcac9342b869b9f236f35bf66ec3a09b
      7dcbed04
    • Jean Chalard's avatar
      Move the UserUnigramDictionary functionality over · c68d1bbf
      Jean Chalard authored
      UserBigramDictionary now assumes both functionalities. It will
      be renamed to UserHistoryDictionary in a future change.
      
      There are several reasons to do this. First, there is a lot of
      duplicate code in User{Unigram,Bigram}Dictionaries that are
      factored by the few lines of code in this change. Also, other
      dictionaries like BinaryDictionary or ContactsDictionary all
      assume both responsibilities, as should be the case
      theoretically.
      
      It is also possible to do this because previous versions don't
      write any unigram data that we'd want to reuse. For even older
      versions that do write data, we can't really make any sense out
      of it. Bigram data however can be useful, and this allows us to
      reuse it easily.
      
      Change-Id: I755525f92744e1536eaef097527e8151b7859a30
      c68d1bbf
    • satok's avatar
      Do not change the proximity orders · ef08dadd
      satok authored
      Bug: 4343280
      Change-Id: I4e2dfb00d9c843a8a285d409ac5ab8fca5fb1694
      ef08dadd
    • Jean Chalard's avatar
      Streamline some user history dictionary code · c24f66e1
      Jean Chalard authored
      A lot of things don't really make sense in the old code.
      Let's streamline it for now so that we have a cleaner interface
      to work with. This is preliminary work for bug 4192129.
      
      Change-Id: If01a5974cfadc43afced610c57fcf7fde67c1346
      c24f66e1
    • Tadashi G. Takaoka's avatar
      Don't reset animation alpha value when keyboard is set · b9720a55
      Tadashi G. Takaoka authored
      The keys' blinking that mentioned in the bug is caused by switching
      keyboard layout resets the animation's alpha value to opaque but the
      animation is still running and changing the alpha value
      asynchronously.
      
      I think that switching keyboard layout between alphabet and symbols
      doesn't imply that the user stops typing. So the keyboard view should
      continue typing state timer to keep animations' alpha values changing
      and never reset the value.
      
      Bug: 6174273
      Change-Id: Id795feaf44750358f30c1b3dc8e783a7e62aefe8
      b9720a55
  6. Mar 15, 2012
Loading