Commit Graph

27 Commits

Author SHA1 Message Date
Chris Lord
81e4e4068e Bug 856497 - Fix dynamic viewport sizing for margin changes. r=kats
The viewport wasn't being recalculated when the viewport margins changed, and
was also subject to some rounding errors. Round off the values before
comparing them (as they're screen pixels), and make sure to update the viewport
when the margins change. Margins were also not correctly being altered when
in overscroll, which could cause bottom-aligned fixed position content to be
incorrectly offset.
2013-04-08 16:35:00 +01:00
Chris Peterson
65f9ac6d44 Bug 857335 - Add EventDispatcher warnings about events with no listeners. r=mfinkle r=kats 2013-04-02 14:28:59 -07:00
Kartikaya Gupta
9c7dd9ca99 Bug 857217 - Don't move focus to the layerview if joystick input events are in the dead zones. r=Cwiiis 2013-04-03 11:58:59 -04:00
Kartikaya Gupta
438c6343f0 Bug 856756 - Move GeckoApp.hasPermanentMenuKey to HardwareUtils.hasMenuButton. r=mfinkle 2013-04-02 10:04:21 -04:00
Kartikaya Gupta
c1a8f0547f Bug 856756 - Extract a HardwareUtils class. r=mfinkle 2013-04-02 10:03:39 -04:00
Kartikaya Gupta
da7a68c3a0 Bug 855471 - Transfer focus to the LayerView when receiving a gamepad panning-related event. r=mfinkle 2013-03-28 12:40:06 -04:00
Kartikaya Gupta
161b38c11a Bug 855431 - Make the gamepad action button work on awesome screen list items. r=sriram 2013-03-28 12:40:05 -04:00
Kartikaya Gupta
553053a291 Bug 855016 - Allow gamepad action button to trigger the row items on about:home. r=sriram 2013-03-28 11:35:04 -04:00
Kartikaya Gupta
793a2c4911 Bug 854971 - Handle action/back gamepad keys properly when entering URLs on the awesome screen. r=lucasr 2013-03-27 09:36:45 -04:00
Kartikaya Gupta
1b4363a309 Bug 850318 - Avoid blocking the UI thread on the background thread when calling getClipboardText. r=wesj 2013-03-22 22:03:17 -04:00
Kartikaya Gupta
30249c7f5b Bug 802130 - Add a ThreadUtils.isOnUiThread helper function. r=mfinkle 2013-03-15 11:52:53 +01:00
Kartikaya Gupta
227f7e8e10 Bug 802130 - Move GeckoAppShell.getHandler() to ThreadUtils.getBackgroundHandler(). r=mfinkle 2013-03-15 11:52:53 +01:00
Kartikaya Gupta
9dc8ae8813 Bug 802130 - Move mMainHandler into ThreadUtils. r=mfinkle 2013-03-15 11:52:53 +01:00
Kartikaya Gupta
c25fdeb40d Bug 802130 - Move assertOnThread functions to a new ThreadUtils class. r=mfinkle 2013-03-15 11:52:52 +01:00
Kartikaya Gupta
dd5ab70ca9 Bug 851060 - Move util files into the util/ folder. r=cpeterson
--HG--
rename : mobile/android/base/ActivityResultHandler.java => mobile/android/base/util/ActivityResultHandler.java
rename : mobile/android/base/ActivityResultHandlerMap.java => mobile/android/base/util/ActivityResultHandlerMap.java
rename : mobile/android/base/GeckoBackgroundThread.java => mobile/android/base/util/GeckoBackgroundThread.java
rename : mobile/android/base/GeckoEventListener.java => mobile/android/base/util/GeckoEventListener.java
rename : mobile/android/base/GeckoEventResponder.java => mobile/android/base/util/GeckoEventResponder.java
rename : mobile/android/base/GeckoJarReader.java => mobile/android/base/util/GeckoJarReader.java
rename : mobile/android/base/INIParser.java => mobile/android/base/util/INIParser.java
rename : mobile/android/base/INISection.java => mobile/android/base/util/INISection.java
rename : mobile/android/base/UiAsyncTask.java => mobile/android/base/util/UiAsyncTask.java
2013-03-15 11:40:03 +01:00
Kartikaya Gupta
238a276b2b Bug 844930 - Make deprecation warning more useful. r=bnicholson 2013-02-25 14:42:06 -05:00
Jim Chen
ec93de981f Bug 836589 - Lazily switch between AwesomeBar search and URL modes; r=blassey 2013-02-07 18:17:06 -05:00
Brian Nicholson
139836ed14 Bug 837042 - Remove gecko property from sendMessageToJava. r=mfinkle
--HG--
extra : rebase_source : 49a739f7550a3afe83b19518833de03a014e2a80
2013-02-01 17:36:38 -08:00
Brian Nicholson
d0d1268c07 Bug 820576 - Part 1: Move isSearchUrl to StringUtils. r=mfinkle 2012-12-12 13:21:37 -08:00
Lucas Rocha
2baa3c31d2 Bug 807280 - Use LruCache from Android's Support Library (r=mfinkle) 2012-11-14 12:10:01 +00:00
Lucas Rocha
90254529d8 Bug 785945 - Add LRU cache implementation (r=mfinkle) 2012-10-31 12:34:31 +00:00
Ed Morley
95fe6d2a1c Backout 533faa3c50ed, 718abc1bd4ad, af2d5272c06b, ad5554e1345d, c9ef1b41b829, d3a825311d11, 0a51bcb3eb9e, a01a327e8ec4, 973b0ed30b8b, 39851bbcfaa1 & a92d2d2a3b0e (bug 805162), d4884aab5ce6, 06fcbaf40cb4, daccc3fe7c70, 881eb2a2906e, 76232441ae06, 01ae34fa1b3f & 5f405fc4e323 (bug 783092), a03d8d4db1c2, 49beb3801192, 174634554a97, 0bd27e755a83, 19e8f151ca67, a6604e038bc0, ed3b8237e76e & 082cf8d72554 (bug 785945) for bustage or conflicting with backout of said bustage on a CLOSED TREE 2012-11-01 00:16:35 +00:00
Lucas Rocha
6da15ed7da Bug 785945 - Add LRU cache implementation (r=mfinkle) 2012-10-31 12:34:31 +00:00
Chris Peterson
32f71316ce Bug 778468 - Part 8: Add EventDispatcher to remove gfx dependency on GeckoAppShell event registration. r=blassey 2012-08-02 15:12:35 -07:00
Chris Peterson
ceaa1e5e80 Backout bcb8b2b5a310 (bug 779366 - Part 2). r=me 2012-08-01 14:42:11 -07:00
Chris Peterson
84fdc2c235 Bug 779366 - Part 2: Move DisplayMetrics to ConfigurationUtils. r=sriram 2012-07-30 16:05:44 -07:00
Chris Peterson
4251f0fb5a Bug 779366 - Part 1: Move FloatUtils to org.mozilla.gecko.util package. r=kats
--HG--
rename : mobile/android/base/FloatUtils.java => mobile/android/base/util/FloatUtils.java
2012-07-27 21:57:47 -07:00