aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/compat/TextViewCompatUtils.java (unfollow)
Commit message (Expand)AuthorFilesLines
2013-04-02Move typing policy to AOSP•••Bug: 8197301 Change-Id: Ife9b41a465d7b8d707623a6d3e4c1c88c3c3c4ab Satoshi Kataoka10-1/+704
2013-04-02Revert "[DO NOT MERGE] Activate hardware keyboard handling"•••This reverts commit c741f1f83b98293bf0040b6b81e95b75ecf3f6bc DO NOT MERGE is ignored and this is merged anyway :( Change-Id: Ie044cdfc6021933379ec97ad7346c5c8591f70bf Jean Chalard1-1/+1
2013-04-02[DO NOT MERGE] Activate hardware keyboard handling•••Change-Id: Ifdec9338a454291621b2b87c899f5d4301480b27 Jean Chalard1-1/+1
2013-04-01Deactivate hardware keyboard handling.•••Bug: 8000119 Change-Id: I021481343d6d87efd8ff6110e9aa0906a1a3d11d Jean Chalard1-1/+1
2013-04-01Interpolate gesture preview trails•••There is the boolean flag to kill interpolation. Bug: 7167303 Change-Id: Iac7e4cb88cf437c2ee77c003c9cddb92416025c7 Tadashi G. Takaoka4-16/+507
2013-04-01Move policy and session to AOSP•••Bug: 8197301 Change-Id: I742ff0d939f9ad1ee2cd8b959b6c5ee2757fd177 Satoshi Kataoka10-1/+1032
2013-04-01Ask the client to make itself known when it's not•••Upon invoking the settings of the dictionary pack with an unknown client, we now launch an intent to ask the client to make itself known. This change also includes the code that receives this intent and acts upon it. Bug: 8492879 Change-Id: I2c6496dea845646961ecafcf64e282cb93ee91dc Jean Chalard8-10/+134
2013-04-01Fix two nasty bugs with surrogate pairs.•••The important bug is in findWordInTree. The problem, which is not obvious, is that we were calling codePointAt() with the code point index in the string, instead of the char index. The other bug this change fixes was harmless in the practice, because it's in the iteration which is only used for debug and pretty printing purposes. It's very similar in that it would substract a length in code point to a length in chars and truncate a StringBuilder at that length, so it would fail in a quite similar manner. This changes the meaning of the "length" attribute in Position, but it's clearer this way anyway. Bug: 8450145 Change-Id: If396f883a9e6449de39351553ba83f5be5bd30f0 Jean Chalard3-27/+141
2013-04-01Move dicnode to AOSP•••Bug: 8187060 Change-Id: I72398fa45b12683bd46d23c5ca69e6bcd5ca2b7e Satoshi Kataoka15-1/+2308
2013-03-29Import translations. DO NOT MERGE•••Change-Id: I8752437b40f9f8bcb7b8920bc1dc4342e51b3621 Auto-generated-cl: translation import Baligh Uddin40-320/+160
2013-03-29Refactor•••Change-Id: Ie50fdd1081d306e520300245498a605e79e03818 Satoshi Kataoka4-19/+21
2013-03-29Fix an NPE•••Also remove an unused method and make 2 private variables final. Bug: 8461093 Change-Id: I676d93fda28e82eb5a6978f2e7ad5a0add2cbecf Jean Chalard1-18/+10
2013-03-28Fix potential NPE in MainKeyboardView.KeyTimerHandler•••Bug: 8469652 Change-Id: Ib7a548e6a24d2e02de85ab444c0ec99d8f6b82c3 Tadashi G. Takaoka1-0/+3
2013-03-28Fix an NPE•••The code was passing the wrong parameter. Bug: 8492879 Change-Id: I091d62ca29601e3807eed287c7bdad38bf43a502 Jean Chalard1-2/+1
2013-03-28Cleanup•••Seems there was an unclosed cursor :o Change-Id: I7616849ace5217d8c6f54465f7b3a634e3c14116 Jean Chalard1-0/+5
2013-03-28Increase string limits•••These have been requested by the translators. For some reason the limits were shorter than the actual source strings. Both these messages are meant to be displayed alone on the screen, and 50 chars should fit comfortably. Bug: 8442366 Bug: 8442144 Change-Id: I7062e533e5d4521d2866a6c5f947c8f25b790675 Jean Chalard1-2/+2
2013-03-28[DO NOT MERGE] Increase string limits•••These have been requested by the translators. For some reason the limits were shorter than the actual source strings. Both these messages are meant to be displayed alone on the screen, and 50 chars should fit comfortably. Bug: 8442366 Bug: 8442144 Change-Id: I7845f85ddee992313f658e0268d090eae73778b3 Jean Chalard1-2/+2
2013-03-27Import translations. DO NOT MERGE•••Change-Id: Ic1a341b949098fc55c0e5f46c976547ba02f8eca Auto-generated-cl: translation import Baligh Uddin4-16/+12
2013-03-27Import translations. DO NOT MERGE•••Change-Id: If21c77c39e8945f39c3ecb5186b80fd8229a7659 Auto-generated-cl: translation import Baligh Uddin4-16/+12
2013-03-27Import translations. DO NOT MERGE•••Change-Id: I7ddec7dead61077b9972ca3a661571c096650bec Auto-generated-cl: translation import Baligh Uddin3-8/+8
2013-03-27Fix possible SIOOBE•••Bug: 8461021 Change-Id: I8b0385610b80b5a672ec380935c485a0e01ae984 Satoshi Kataoka1-2/+9
2013-03-26Split LogUnits differently.•••Previously an autocorrection caused a new LogUnit to be started, splitting off the previous LogUnit right at the autocorrection method time. This change causes the split to happen before the MotionEvents that led to the autocorrection being called. Change-Id: I2504df8eb47ee77e5f46bac34a8450636c03fd9f Kurt Partridge1-2/+1
2013-03-26Reorder ResearchLogger call•••Previously, ResearchLogger#onWordFinished() was called with an outdated parameter value for isBatchMode, causing it to report false even for gestures. This changes fixes this problem. Change-Id: Ifcabee236ba5fe20376ad882155d3f3142cd7613 Kurt Partridge1-2/+2
2013-03-26Add const_cast to live with host's jni.h•••Bug: 7970626 Change-Id: I2fd09e16dd9df36eebca2d737a0b7cc3ddd1c862 Tadashi G. Takaoka3-22/+36
2013-03-26Fix Possible NPE•••Bug: 8448448 Change-Id: Ibe89c9abd24c4debb33a69c372eadf2afb09ea1c Satoshi Kataoka1-1/+6
2013-03-26Use XmlPullParser.getEventType()•••Change-Id: Ie423d3416639f81409cc920658c8088b7519b045 Tadashi G. Takaoka2-17/+19
2013-03-26Clean up XmlParserUtils•••Change-Id: I636e8f359d47f39e61a7f77e3e686f2721779b6f Tadashi G. Takaoka3-27/+30
2013-03-25Close ResearchLogger upon onFinishInputView•••Previously, ResearchLogger#stop() was called both in LatinIME#onFinishInputView() and in LatinIME#onWindowHidden(). This resulted in multiple logs being written. Since onFinishInputView is the more reliable of the two (it is called in InputMethodService#onDestroy; onWindowHidden is not), the code now uses onFinishInputView as a stopping signal. Change-Id: Iae4b8c3bdab226027624eeab19b3737367e4a108 Kurt Partridge2-17/+17
2013-03-25Import translations. DO NOT MERGE•••Change-Id: I8468f1e69374a5ada2ea03e427895b771b8dc048 Auto-generated-cl: translation import Baligh Uddin1-1/+1
2013-03-25Import translations. DO NOT MERGE•••Change-Id: I2bb04e50403eebc62bcb05a63228405fb80b2e41 Auto-generated-cl: translation import Baligh Uddin1-1/+1
2013-03-25Import translations. DO NOT MERGE•••Change-Id: I7457efe556011fc20d44ea5d58dba92d31feb566 Auto-generated-cl: translation import Baligh Uddin1-1/+1
2013-03-25Import translations. DO NOT MERGE•••Change-Id: I502c6b5a38d4495774179eb587775e713d5c98c9 Auto-generated-cl: translation import Baligh Uddin1-1/+1
2013-03-25Fix possible NPE•••Bug: 8457109 Change-Id: I321fbef53e20a7c36ef4bd9f544b50abe6a52be9 Satoshi Kataoka1-19/+21
2013-03-25Fix possible ArrayIndexOutOfBoundsException•••Bug: 8461864 Change-Id: Icd8f4f51ec064461c08d00c1c58bedf5fbae2553 Tadashi G. Takaoka1-1/+1
2013-03-22Import translations. DO NOT MERGE•••Change-Id: I84d0b4a11df3ac9a5706419e5c9f76eeb8c5cfd1 Auto-generated-cl: translation import Baligh Uddin49-1730/+1942
2013-03-22Import translations. DO NOT MERGE•••Change-Id: Ib1a70c593647850ead05ecd9440b8db78c8139c7 Auto-generated-cl: translation import Baligh Uddin49-1631/+1551
2013-03-22Import translations. DO NOT MERGE•••Change-Id: I31bcd942f18166658143b4dbd5695f66f4717a22 Auto-generated-cl: translation import Baligh Uddin49-1730/+1942
2013-03-22Import translations. DO NOT MERGE•••Change-Id: I7531241854018cd052606f7f4a9b82fccd2e725c Auto-generated-cl: translation import Baligh Uddin49-1631/+1551
2013-03-22Don't announce changes for A11y within the same keyboard mode.•••Bug: 8439108 Change-Id: If9f14bb65625468dcd399df47ad0d2123be30be7 Alan Viverette1-20/+17
2013-03-22Fix appname•••Bug: 6789579 Change-Id: Ic4694e36e0846af95fa8dcdef919be251983b528 Satoshi Kataoka57-1343/+49
2013-03-22Remove unused import•••This is a follow up of I062c076f. Change-Id: Ic3a83d95aed1f86121ed552a6f20f0d24f9d6d83 Tadashi G. Takaoka2-2/+0
2013-03-22Use correct appname resource•••Bug: 6789579 Change-Id: Id11435a28d6c5b6c72867814e23f5e62429080f8 Satoshi Kataoka1-7/+8
2013-03-22Remove reference to string.english_ime_name•••Bug: 6789579 Change-Id: I062c076f0ca16cc39274e20955aa83d667b7380d Tadashi G. Takaoka3-11/+15
2013-03-22Fix appname•••Bug: 6789579 Change-Id: I224bd1b734f74db31c006601129339c099616ed6 Satoshi Kataoka1-4/+4
2013-03-21Clean up InflateException reference from KeyboardBuilder•••Change-Id: If9daa00b6d829ce2069a027e4bfec310ec108615 Tadashi G. Takaoka1-2/+1
2013-03-20am 9da7fa0f: am 559616fb: Prevent keyboard A11y proxy from referencing a null...•••* commit '9da7fa0f50fcc1bbbce648940c0f6849d9e6624c': Prevent keyboard A11y proxy from referencing a null keyboard view. Alan Viverette1-0/+25
2013-03-19Prevent keyboard A11y proxy from referencing a null keyboard view.•••Bug: 8402674 Change-Id: I507cdabccdabb3fd7aebc071c93eb6d4dcb9635d Alan Viverette1-0/+25
2013-03-19Prevent keyboard A11y proxy from referencing a null keyboard view.•••Bug: 8402674 Change-Id: I507cdabccdabb3fd7aebc071c93eb6d4dcb9635d Alan Viverette1-0/+25
2013-03-19Support feedback•••Bug: 8143554 Change-Id: If0a6bafc94da040f97f27c6d046fb58bed9fd615 Satoshi Kataoka5-0/+56
2013-03-19Break dependencies to allow offdevice tests to build•••Change-Id: Ia9a2e8f0672b3f72943f26fb15de1d3c7c5ce7f1 Jean Chalard8-34/+61