• Home
  • History
  • Annotate
  • only in /frameworks/base/core/tests/coretests/src/android/widget/
History log of /frameworks/base/core/tests/coretests/src/android/widget/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
aac0d4ed026d1cfbcf3fa81c6e4eb96f4347ca17 20-Jul-2012 Fabrice Di Meglio <fdimeglio@google.com> Replace left/right with start/end for Gravity / LayoutParams / Padding

- see bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi)

Change-Id: Id9af5375fb9b0edeae5232c77e52ecd497bd2e67
ocus/VerticalFocusSearch.java
4213804541a8b05cd0587b138a2fd9a3b7fd9350 20-Mar-2012 Svetoslav Ganov <svetoslavganov@google.com> Accessibility focus - framework

Usefulness: Keep track of the current user location in the screen when
traversing the it. Enabling structural and directional
navigation over all elements on the screen. This enables
blind users that know the application layout to efficiently
locate desired elements as opposed to try touch exploring the
region where the the element should be - very tedious.

Rationale: There are two ways to implement accessibility focus One is
to let accessibility services keep track of it since they
have access to the screen content, and another to let the view
hierarchy keep track of it. While the first approach would
require almost no work on our part it poses several challenges
which make it a sub-optimal choice. Having the accessibility focus
in the accessibility service would require that service to scrape
the window content every time it changes to sync the view tree
state and the accessibility focus location. Pretty much the service
will have to keep an off screen model of the screen content. This
could be quite challenging to get right and would incur performance
cost for the multiple IPCs to repeatedly fetch the screen content.
Further, keeping virtual accessibility focus (i.e. in the service)
would require sync of the input and accessibility focus. This could
be challenging to implement right as well. Also, having an unlimited
number of accessibility services we cannot guarantee that they will
have a proper implementation, if any, to allow users to perform structural
navigation of the screen content. Assuming two accessibility
services implement structural navigation via accessibility focus,
there is not guarantee that they will behave similarly by default,
i.e. provide some standard way to navigate the screen content.
Also feedback from experienced accessibility researchers, specifically
T.V Raman, provides evidence that having virtual accessibility focus
creates many issues and it is very hard to get right.
Therefore, keeping accessibility focus in the system will avoid
keeping an off-screen model in accessibility services, it will always
be in sync with the state of the view hierarchy and the input focus.
Also this will allow having a default behavior for traversing the
screen via this accessibility focus that is consistent in all
accessibility services. We provide accessibility services with APIs to
override this behavior but all of them will perform screen traversal
in a consistent way by default.

Behavior: If accessibility is enabled the accessibility focus is the leading one
and the input follows it. Putting accessibility focus on a view moves
the input focus there. Clearing the accessibility focus of a view, clears
the input focus of this view. If accessibility focus is on a view that
cannot take input focus, then no other view should have input focus.
In accessibility mode we initially give accessibility focus to the topmost
view and no view has input focus. This ensures consistent behavior accross
all apps. Note that accessibility focus can move hierarchically in the
view tree and having it at the root is better than putting it where the
input focus would be - at the first input focusable which could be at
an arbitrary depth in the view tree. By default not all views are reported
for accessibility, only the important ones. A view may be explicitly labeled
as important or not for accessibility, or the system determines which one
is such - default. Important views for accessibility are all views that are
not dumb layout managers used only to arrange their chidren. Since the same
content arrangement can be obtained via different combintation of layout
managers, such managers cannot be used to reliably determine the application
structure. For example, a user should see a list as a list view with several
list items and each list item as a text view and a button as opposed to seeing
all the layout managers used to arrange the list item's content.
By default only important for accessibility views are regared for accessibility
purposes. View not regarded for accessibility neither fire accessibility events,
nor are reported being on the screen. An accessibility service may request the
system to regard all views. If the target SDK of an accessibility services is
less than JellyBean, then all views are regarded for accessibility.
Note that an accessibility service that requires all view to be ragarded for
accessibility may put accessibility focus on any view. Hence, it may implement
any navigational paradigm if desired. Especially considering the fact that
the system is detecting some standard gestures and delegates their processing
to an accessibility service. The default implementation of an accessibility
services performs the defualt navigation.

bug:5932640
bug:5605641

Change-Id: Ieac461d480579d706a847b9325720cb254736ebe
ocus/ListOfButtonsTest.java
e9c0d1495b1ac85048e19fd7cbf232a0cd10df12 06-Mar-2012 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #4972463 Update CTS tests for TextView textDirection

- move unit tests from Frameworks to CTS

Change-Id: I4598d8e99850f49e660c5bb3fb6025e71c635635
extViewTest.java
extViewTestActivity.java
b36a0ac9709e9e1c7098559c0435cfbdc09e6c46 15-Feb-2012 Svetoslav Ganov <svetoslavganov@google.com> Incorrect behavior of View clear focus v2.0.

The framework tries to have a focused view all the time. For
that purpose when a view's focus is cleared the focus is given
to the first focusable found from the top. The implementation
of this behavior was causing the following issues:

1. If the fist focusable View tries to clear its focus it
was getting focus but the onFocusChange callbacks were not
properly invoked. Specifically, the onFocusChange for
gaining focus was called first and then the same
callback for clearing focus. Note that the callback
for clearing focus is called when the View is already
focused.

2. If not the first focusable View tries to clear focus,
the focus is given to another one but the callback
for getting focus was called before the one for clearing,
so client code may be mislead that there is more than
one focused view at a time.

3. (Nit) The implementaion of clearFocus and unFocus in ViewGroup
was calling the super implementaion when there is a
focused child. Since there could be only one focused View,
having a focused child means that the group is not focused
and the call to the super implementation is not needed.

4. Added unit tests that verify the correct behavior, i.e.
the focus of the first focused view cannot be cleared
which means that no focus change callbacks are invoked.
The callbacks should be called in expected order.
Now the view focus clear precedes the view focus gain
callback. However, in between is invoked the global
focus change callback with the correct values. We may
want to call that one after the View callbacks. If
needed we can revisit this.

Change-Id: I8cfb141c948141703093cf6fa2037be60861cee0
ocus/RequestFocus.java
ocus/RequestFocusTest.java
73eb97f628b298c7bd032aa9db11dadf05f5b539 15-Feb-2012 Amith Yamasani <yamasani@google.com> Revert "Incorrect behavior of View clear focus."

This reverts commit c6fd88e213703a581fe4680259981f09ae0444f2
ocus/RequestFocus.java
ocus/RequestFocusTest.java
c6fd88e213703a581fe4680259981f09ae0444f2 26-Jan-2012 Svetoslav Ganov <svetoslavganov@google.com> Incorrect behavior of View clear focus.

The framework tries to have a focused view all the time. For
that purpose when a view's focus is cleared the focus is given
to the first focusable found from the top. The implementation
of this behavior was causing the following issues:

1. If the fist focusable View tries to clear its focus it
was getting focus but the onFocusChange callbacks were not
properly invoked. Specifically, the onFocusChange for
gaining focus was called first and then the same
callback for clearing focus. Note that the callback
for clearing focus is called when the View is already
focused. Also note that at the end the View did not
clear its focus, hence no focus change callbacks
should be invoked.

2. If not the first focusable View tries to clear focus,
the focus is given to another one but the callback
for getting focus was called before the one for clearing,
so client code may be mislead that there is more than
one focused view at a time.

3. (Nit) The implementaion of clearFocus and unFocus in ViewGroup
was calling the super implementaion when there is a
focused child. Since there could be only one focused View,
having a focused child means that the group is not focused
and the call to the super implementation is not needed.

4. Added unit tests that verify the correct behavior, i.e.
the focus of the first focused view cannot be cleared
which means that no focus change callbacks are invoked.
The callbacks should be called in expected order.
Now the view focus clear precedes the view focus gain
callback. However, in between is invoked the global
focus change callback with the correct values. We may
want to call that one after the View callbacks. If
needed we can revisit this.

Change-Id: Iee80baf5c75c82d3cda09679e4949483cad475f1
ocus/RequestFocus.java
ocus/RequestFocusTest.java
36a561b4ee35911fd6594c1592aab134be22f0f7 26-Jan-2012 Svetoslav Ganov <svetoslavganov@google.com> Fixing failing focus tests

Change-Id: I3df6a72f6340cbf2e42ce4913e28471e9358088b
ocus/ListOfInternalSelectionViews.java
ocus/RequestFocusTest.java
ocus/ScrollingThroughListOfFocusablesTest.java
4c1e00a8c29e532a5b0fce755bead691797eff94 06-Jan-2012 Fabrice Di Meglio <fdimeglio@google.com> Add textDirection="locale"

- also fix and update unit tests
- see bug #5242821

Change-Id: I29e029bab8ade336a430f9a2a5073caaf11b8dda
extViewTest.java
136b1637f89e493b29cc130d1fff066f981ce3e9 14-Jun-2011 Steve Block <steveblock@google.com> Fix use of WebView.loadData() to avoid passing invalid encoding

No change in behavior, as invalid encodings have always been ignored.

Bug: 5125738
Change-Id: I23f21ca65a6b14501c74dc2189a55643f1e33c33
ocus/ListWithMailMessages.java
c755ae3b58096334aa25522b5212b1bb19dac1cf 13-Oct-2011 Jeff Brown <jeffbrown@google.com> Use MatrixCursor instead of ArrayListCursor.

ArrayListCursor is deprecated, and a duplicate private copy of it
is doubly so.

Delete some tests that are duplicated in the CTS package.

Change-Id: Ib5837b12e39dadba57595906ad621b1feb0d2c0d
impleCursorAdapterTest.java
e3bf88da23bfadd89a35b6dec769ea825e5ecd6e 06-Sep-2011 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #5262565 Need to remove CharCount TextDirectionHeuristics

- update unit tests too

Change-Id: I7c518f58a9f17cb679bc3913bdd38243f7ad2195
extViewTest.java
cb379120456d8065d742021fc5c66748fc8a11a8 07-Jul-2011 Doug Felt <dougfelt@google.com> Implement textDirection heuristic selection.

Change-Id: I2fcf18de573f2d66494fa5ed61e4273c3c6078c7
extViewTest.java
7f86c806ada21fc7a3feefd89d6fcb4282b0af40 02-Jul-2011 Fabrice Di Meglio <fdimeglio@google.com> Fix View reset of layoutDirection and textDirection

- do it in onDetachedFromWindow()
- make naming consistent too
- update unit tests

Change-Id: I320fcdbf75166bae793c4409e7344608b696667f
extViewTest.java
extViewTestActivity.java
8f5026562f26dcde43ee9d9182b309c3204dc1ad 30-Jun-2011 Fabrice Di Meglio <fdimeglio@google.com> Add charCount heuristic to TextView textDirection

- threshold set to 60% (using a constant)
- fix also one issue during layout direction resolution (parent could be null so delay resolution
up to when parent is no more null)

Change-Id: I65f24a297aac6bc0d5d482ee31b55db0b201e5bf
extViewTest.java
222688682e6e072076489d8203d01bdf2366101a 28-Jun-2011 Fabrice Di Meglio <fdimeglio@google.com> Add textDirection support for TextView and ViewGroup

- use ViewGroup inheritance if defined
- use different heuristics (inherit, firstStrong, anyRtl, ltr, rtl)
- add more unit tests

Change-Id: Ic1325aa7d9e4689b181e0a2d08b7dd7fb3f0dbeb
extViewTest.java
c6cc0f8c19d9eccf408a443fa2bf668af261dcd0 12-Apr-2011 Joe Onorato <joeo@google.com> Rename ViewRoot to ViewAncestor.

ViewRoot is about to be a new public class for poking at ViewAncestor.

Change-Id: Ie95d707c6d8bbb48f78d093d7b2667851812a7d5
ocus/RequestFocusTest.java
istview/ListViewHeight.java
dddaa56f793ad9ecb4e20df746f562ac7f24d158 30-Apr-2011 Conley Owens <cco3@android.com> Merge commit 'b737647d' (Scrolling using arrow keys with padding) into m

Conflicts:
core/java/android/widget/ScrollView.java

Change-Id: I1cfd3f7091e92793ce9fa048a09ae08a04c10c80
5435a06010fb50dd8b495df6b7f21f15d82a2c0a 07-Apr-2011 Mattias Petersson <mattias.petersson@sonyericsson.com> Scolling using arrow keys with padding

It was impossible to reach the end of a large test when scrolling down
using the arrowkeys when the ScrollView had padding. A common example
of this would be an AlertDialog with a text that is too long to fit on
the screen.

Change-Id: I55464290a0cdeabde83ccccc76fe8d015ae57a8d
croll/arrowscroll/MultiPageTextWithPadding.java
croll/arrowscroll/MultiPageTextWithPaddingTest.java
79ff914f2183a5f0a4121ef06112409e1c699ae7 07-Jan-2011 Gilles Debunne <debunne@google.com> Added support for Unicode surrogate characters in word selection

Inspired by https://review.source.android.com/#change,16606

Change-Id: I896354f5aba83c1919c008f07b6d0b2abf0b8e01
extViewWordLimitsTest.java
87380bcaebe63bdcd44828f137b2b2b0ba952f0a 04-Jan-2011 Gilles Debunne <debunne@google.com> Added support for asian characters in text selection.

Inspired by https://review.source.android.com/#change,16606

Test class has been revamped to mimic new behavior: selectCurrentWord
is no longer used to add words to the dictionary. We rely on the suggestion
bar in the IME for that.

Change-Id: I1cb88df54dffb166c75f75fefb743ff55a33519b
extViewWordLimitsTest.java
f22e87639338600f9bfcaa3f6fb524407e2e2f5f 04-Aug-2010 Brett Chabot <brettchabot@android.com> resolved conflicts for merge of 10928c37 to master

Change-Id: Idbe91a2fe90cab0a03fdef096dc6741dc5937351
f76c56bcaa9df1d1afa711177f813dc63f399795 27-Jul-2010 Brett Chabot <brettchabot@android.com> Frameworks core tests size cleanup.

Adjust test sizes to better align with the test's runtime.
Also do some import cleanup and migrate to non-deprecated classes.

Change-Id: Ib2b190ddbe84f9ea8f5d6d3604bd4855d00df7a9
adioGroupPreCheckedTest.java
xpandablelistview/ExpandableListWithHeadersTest.java
ridview/touch/GridTouchStackFromBottomManyTest.java
istview/arrowscroll/ListInterleaveFocusablesTest.java
istview/arrowscroll/ListOfItemsTallerThanScreenTest.java
istview/arrowscroll/ListOfShortShortTallShortShortTest.java
istview/arrowscroll/ListWithScreenOfNoSelectablesTest.java
50f79c95f16f3798d6b9a1e5d87d12f1d5a5e16e 07-Apr-2010 Gilles Debunne <debunne@google.com> ExpandableListView tests moved to CTS.

Tests were duplicates of those in CTS.

Change-Id: I70d7cb46e58bdbca6958467b9b2e650e7546292b
https://android-git.corp.google.com/g/#change,47984
http://b/issue?id=2541389
xpandablelistview/ExpandableListBasicTest.java
xpandablelistview/ExpandableListSimple.java
xpandablelistview/ExpandableListTester.java
xpandablelistview/ExpandableListWithHeaders.java
xpandablelistview/ExpandableListWithHeadersTest.java
xpandablelistview/InflatedExpandableListView.java
xpandablelistview/PositionTesterContextMenuListener.java
13c9a1f4901d921f84501893bf5f0b637297132f 26-Mar-2010 Gilles Debunne <debunne@google.com> Refactor in PositionTesterContextMenuListener.

The asserts were removed from that class and replaced by a status String object.

This allows ExpandableListTester to do the asserts instead.
These tests passed on a sapphire and passion devices as well as in the emulator.
The asserts in the main thread are expected to make these tests pass during the
continuous build too.

This is 7fbddb1db1beeac7c6762fb7a11612e348f6ff90 cherrypicked to froyo.

http://b/issue?id=2525846
xpandablelistview/ExpandableListTester.java
xpandablelistview/PositionTesterContextMenuListener.java
7fbddb1db1beeac7c6762fb7a11612e348f6ff90 26-Mar-2010 Gilles Debunne <debunne@google.com> Refactor in PositionTesterContextMenuListener.

The asserts were removed from that class and replaced by a status String object.

This allows ExpandableListTester to do the asserts instead.
These tests passed on a sapphire and passion devices as well as in the emulator.
The asserts in the main thread are expected to make these tests pass during the
continuous build too.

Change-Id: Ic6d23e1d3a151f25249eed553113666f47b40dc3
http://b/issue?id=2525846
xpandablelistview/ExpandableListTester.java
xpandablelistview/PositionTesterContextMenuListener.java
15a4d2ffd04dc6c70f2cd17dae12ac6bc14c69ab 12-Mar-2010 Kenny Root <kroot@google.com> Add correct copyright headers to multiple files

Format for the list of changes shows the origin commit reference followed
by the file name.

33931-p9 awt/org/apache/harmony/awt/gl/font/AndroidGlyphVector.java
33931-p9 awt/org/apache/harmony/awt/gl/image/PngDecoderJava.java
133776-p9 core/java/android/app/IntentService.java
127013-p9 core/java/android/appwidget/AppWidgetHost.java
27863-p9 core/java/android/bluetooth/BluetoothAudioGateway.java
60765-p9 core/java/android/content/SyncResult.java
43920-p9 core/java/android/content/pm/ActivityInfo.java
43920-p9 core/java/android/content/pm/ApplicationInfo.java
43920-p9 core/java/android/content/pm/InstrumentationInfo.java
43920-p9 core/java/android/content/pm/PackageInfo.java
44103-p9 core/java/android/content/pm/PackageItemInfo.java
68960-p9 core/java/android/content/pm/PackageStats.java
43920-p9 core/java/android/content/pm/ResolveInfo.java
43920-p9 core/java/android/content/pm/ServiceInfo.java
60641-p9 core/java/android/content/res/Configuration.java
60734-p9 core/java/android/content/res/TypedArray.java
137672-p9 core/java/android/inputmethodservice/ExtractButton.java
123112-p9 core/java/android/inputmethodservice/ExtractEditText.java
119291-p9 core/java/android/inputmethodservice/IInputMethodSessionWrapper.java
112946-p9 core/java/android/inputmethodservice/IInputMethodWrapper.java
115078-p9 core/java/android/os/BatteryStats.java
124790-p9 core/java/android/text/style/UpdateAppearance.java
45083-p9 core/java/android/view/RawInputEvent.java
101491-p9 core/java/android/view/inputmethod/EditorInfo.java
114701-p9 core/java/android/view/inputmethod/ExtractedText.java
123112-p9 core/java/android/view/inputmethod/ExtractedTextRequest.java
119291-p9 core/java/com/android/internal/os/HandlerCaller.java
129279-p9 core/java/com/android/internal/os/PkgUsageStats.java
114701-p9 core/java/com/android/internal/view/IInputConnectionWrapper.java
114701-p9 core/java/com/android/internal/view/InputConnectionWrapper.java
84364-p9 opengl/java/android/opengl/EGLLogWrapper.java
11355-p9 opengl/tools/glgen/src/CFunc.java
11355-p9 opengl/tools/glgen/src/CType.java
11355-p9 opengl/tools/glgen/src/CodeEmitter.java
11355-p9 opengl/tools/glgen/src/GenerateGL.java
11355-p9 opengl/tools/glgen/src/JFunc.java
11355-p9 opengl/tools/glgen/src/JType.java
11355-p9 opengl/tools/glgen/src/JniCodeEmitter.java
11355-p9 opengl/tools/glgen/src/ParameterChecker.java
57236-p9 services/java/com/android/server/status/AnimatedImageView.java
66754-p9 services/java/com/android/server/status/CloseDragHandle.java
57188-p9 services/java/com/android/server/status/DateView.java
46928-p9 services/java/com/android/server/status/ExpandedView.java
70590-p9 services/java/com/android/server/status/FixedSizeDrawable.java
45968-p9 services/java/com/android/server/status/IconData.java
57470-p9 services/java/com/android/server/status/IconMerger.java
82719-p9 services/java/com/android/server/status/LatestItemView.java
45968-p9 services/java/com/android/server/status/NotificationData.java
66754-p9 services/java/com/android/server/status/NotificationLinearLayout.java
57458-p9 services/java/com/android/server/status/NotificationViewList.java
45968-p9 services/java/com/android/server/status/StatusBarException.java
45968-p9 services/java/com/android/server/status/StatusBarIcon.java
46130-p9 services/java/com/android/server/status/StatusBarNotification.java
45968-p9 services/java/com/android/server/status/StatusBarView.java
46199-p9 services/java/com/android/server/status/Ticker.java
62286-p9 services/java/com/android/server/status/TickerView.java
57188-p9 services/java/com/android/server/status/TrackingView.java
86041-p9 telephony/java/android/telephony/PhoneStateListener.java
87020-p9 telephony/java/com/android/internal/telephony/TelephonyIntents.java
136269-p9 telephony/java/com/android/internal/telephony/gsm/SpnOverride.java
34409-p9 tests/FrameworkTest/src/com/android/frameworktest/FrameworkTestApplication.java
55717-p9 tests/FrameworkTest/src/com/android/frameworktest/performance/InvalidateCycle.java
128994-p9 tests/ImfTest/src/com/android/imftest/samples/AutoCompleteTextViewActivityLandscape.java
128994-p9 tests/ImfTest/src/com/android/imftest/samples/AutoCompleteTextViewActivityPortrait.java
129372-p9 tests/ImfTest/src/com/android/imftest/samples/BigEditTextActivityNonScrollablePanScan.java
129372-p9 tests/ImfTest/src/com/android/imftest/samples/BigEditTextActivityNonScrollableResize.java
129372-p9 tests/ImfTest/src/com/android/imftest/samples/BigEditTextActivityScrollablePanScan.java
129372-p9 tests/ImfTest/src/com/android/imftest/samples/BigEditTextActivityScrollableResize.java
128994-p9 tests/ImfTest/src/com/android/imftest/samples/BottomEditTextActivityPanScan.java
128994-p9 tests/ImfTest/src/com/android/imftest/samples/BottomEditTextActivityResize.java
127341-p9 tests/ImfTest/src/com/android/imftest/samples/ButtonActivity.java
129347-p9 tests/ImfTest/src/com/android/imftest/samples/DialogActivity.java
129372-p9 tests/ImfTest/src/com/android/imftest/samples/EditTextActivityDialog.java
128994-p9 tests/ImfTest/src/com/android/imftest/samples/ManyEditTextActivityNoScrollPanScan.java
128994-p9 tests/ImfTest/src/com/android/imftest/samples/ManyEditTextActivityScrollPanScan.java
128994-p9 tests/ImfTest/src/com/android/imftest/samples/ManyEditTextActivityScrollResize.java
128994-p9 tests/ImfTest/src/com/android/imftest/samples/OneEditTextActivityNotSelected.java
128994-p9 tests/ImfTest/src/com/android/imftest/samples/OneEditTextActivitySelected.java
25959-p9 tests/framework-tests/src/android/test/FrameworkTests.java
46162-p9 tests/framework-tests/src/com/android/internal/http/multipart/MultipartTest.java
77101-p9 tools/layoutlib/bridge/tests/com/android/layoutlib/bridge/NinePatchTest.java
9788976b1465ce982b5ae7c741345edd0ecd9322 core/java/android/accounts/AuthenticatorDescription.java
53332883543868fb83e111a07306368b7772b340 core/java/android/app/UiModeManager.java
93e7e22ec91dbc641d10ca6d70423e1357a95bba core/java/android/app/FullBackupAgent.java
328c0e7986aa6bb7752ec6de3da9c999920bb55f core/java/android/content/CursorEntityIterator.java
307da1a46b4c9b711bafe8fbaaa6b98e8868c18e core/java/android/content/SyncQueue.java
307da1a46b4c9b711bafe8fbaaa6b98e8868c18e core/java/android/content/SyncOperation.java
eb034652c2037a47ebfd99779e8383bb8bb528af core/java/android/content/pm/LabeledIntent.java
49237345d83e62fdb9eb8d50b13ad086636a04fa core/java/android/content/pm/FeatureInfo.java
a2b6c3775ed6b8924232d6a01bae4a19740a15f8 core/java/android/content/pm/PackageInfoLite.java
3ecd5f437580e49d80beecd29489d5fb1f7a7db0 core/java/android/content/pm/RegisteredServicesCacheListener.java
5ebbb4a6b3e16f711735ae0615b9a9ea64faad38 core/java/android/content/pm/XmlSerializerAndParser.java
c4516a7b62de525e3d6d5e76851bdfaf12c11f05 core/java/android/database/sqlite/SQLiteTransactionListener.java
9bbc21a773cbdfbef2876a75c32bda5839647751 core/java/com/android/internal/backup/LocalTransport.java
21f1bd17b2dfe361acbb28453b3f3b1a110932fa core/java/com/android/internal/content/PackageMonitor.java
4c62fc0e1e5ea9c69a12a7d1cf8b3ec8b2d114a3 core/java/com/android/internal/view/BaseSurfaceHolder.java
4c62fc0e1e5ea9c69a12a7d1cf8b3ec8b2d114a3 core/java/com/android/internal/view/BaseIWindow.java
e540833fdff4d58e37c9ba859388e24e2945ed45 core/java/com/android/internal/os/SamplingProfilerIntegration.java
192ab903887bbb8e7c7b6da5c581573850e30f46 core/tests/coretests/src/android/widget/expandablelistview/PositionTesterContextMenuListener.java
1619367ab823150fa8856d419abe02ceb75886f1 media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/MediaProfileReader.java
27f8002e591b5c579f75b2580183b5d1c4219cd4 opengl/tools/glgen/stubs/gles11/glGetString.java
560814f6b11abe83ff0c4ed18cac015c276b3181 opengl/tools/glgen/stubs/gles11/glGetProgramInfoLog.java
560814f6b11abe83ff0c4ed18cac015c276b3181 opengl/tools/glgen/stubs/gles11/glGetShaderInfoLog.java
560814f6b11abe83ff0c4ed18cac015c276b3181 opengl/tools/glgen/stubs/gles11/glShaderSource.java
1c4907ee77392afb768c2f088e0dedbe4239f6fb opengl/tools/glgen/src/GenerateGLES.java
1c4907ee77392afb768c2f088e0dedbe4239f6fb opengl/tools/glgen/src/Jsr239CodeEmitter.java
1c4907ee77392afb768c2f088e0dedbe4239f6fb opengl/tools/glgen/src/GLESCodeEmitter.java
69e21f5f6e0d04539cd92848ea009dd615d88c2c opengl/tests/gldual/src/com/android/gldual/TriangleRenderer.java
c028be4f3b8c7476b46859f66c3f33d528adf181 packages/DefaultContainerService/src/com/android/defcontainer/DefaultContainerService.java
7c6efa13f129dbae5319f0981a430d4662f43354 tests/BrowserPowerTest/src/com/android/browserpowertest/PowerMeasurement.java
7c6efa13f129dbae5319f0981a430d4662f43354 tests/BrowserPowerTest/src/com/android/browserpowertest/PowerTestActivity.java
7c6efa13f129dbae5319f0981a430d4662f43354 tests/BrowserPowerTest/src/com/android/browserpowertest/PowerTestRunner.java
df8a3f31d871db25e952972c2eb346a71186e9e3 tests/BrowserTestPlugin/src/com/android/testplugin/TestPlugin.java
cfaef699e1dfb3a75d5b51f3b15816f13670fd51 tests/permission/src/com/android/framework/permission/tests/ActivityManagerPermissionTests.java
cfaef699e1dfb3a75d5b51f3b15816f13670fd51 tests/permission/src/com/android/framework/permission/tests/ServiceManagerPermissionTests.java
cfaef699e1dfb3a75d5b51f3b15816f13670fd51 tests/permission/src/com/android/framework/permission/tests/WindowManagerPermissionTests.java

Copyright header moved to top in following file:

core/tests/coretests/src/android/widget/ListViewTest.java

Change-Id: I3c3198be5a0ba36e18679ed834170432bf0b8418
istViewTest.java
xpandablelistview/PositionTesterContextMenuListener.java
3c5d27ab1b34548baae6b395ca33ce869aad254d 02-Mar-2010 Gilles Debunne <debunne@google.com> Cleaning in ListWithEditTextHeaderTest.

Switched to ActivityInstrumentationTestCase2.

As far as http://b/issue?id=2446911 is concerned, I was unable
to reproduce a test fail. This was not the case a week ago.
A fix has probably been submitted in the meantime.

Change-Id: Id6e95218a2c9d29b0b4eb051a7a1288f9a9809fd
istview/focus/ListWithEditTextHeaderTest.java
47ccdf3760635a695b7c417a0df02f7e86ce6262 26-Feb-2010 Gilles Debunne <debunne@google.com> Fixes for ExpandableListView with headers/footers

Patches in ExpandableListView to correctly handle header/footer shifter flat positions.
Make tests added in https://android-git.corp.google.com/g/#change,42312 pass.

Change-Id: I0d7823f5ae290e855bfdfb8d33c18bd34661077c
xpandablelistview/ExpandableListBasicTest.java
xpandablelistview/ExpandableListTester.java
xpandablelistview/ExpandableListWithHeadersTest.java
e26bad0aecc6526d8a4d9e3b80cbdc9505f1c33d 26-Feb-2010 Gilles Debunne <debunne@google.com> New tests for ExpandableListView to exercice packed position with headers/footers.

New tests for
- the different conversions between flat and packed positions.
- selectedPosition
- contextMenuInfo.

All these tests currently fail when list contains headers and/or footers.

Change-Id: Ifb8fcc5de4980221e2ff4ebd2b24bc4fa03c6aae
xpandablelistview/ExpandableListBasicTest.java
xpandablelistview/ExpandableListTester.java
xpandablelistview/ExpandableListWithHeadersTest.java
xpandablelistview/PositionTesterContextMenuListener.java
192ab903887bbb8e7c7b6da5c581573850e30f46 25-Feb-2010 Gilles Debunne <debunne@google.com> New test on ContextMenuInfo packed positions.

With and without headers.
Non regression test for bug
http://b/issue?id=1778239

Change-Id: I0235528ac6f8394292bac35f2350f3d5be1e4df7
xpandablelistview/ExpandableListBasicTest.java
xpandablelistview/ExpandableListWithHeaders.java
xpandablelistview/ExpandableListWithHeadersTest.java
xpandablelistview/InflatedExpandableListView.java
xpandablelistview/PositionTesterContextMenuListener.java
fd3ddfa6f0559eb29eea179690144a7357c34b3d 18-Feb-2010 Gilles Debunne <debunne@google.com> List.GetCheckItemIds no longer includes unchecked items.

Unchecked items remain in the mCheckStates with an associated false value.
Now filtered out.

Added a unit test to ensure non regression.

Change-Id: If0b1a38aa06881055c87a97b3afb2c7fb48656f1
http://b/issue?id=2440815
istview/ListGetCheckItemIdsTest.java
1a44d5dcabc18cd5ef111f732ccff91683a1a093 13-Jan-2010 Neal Nguyen <tommyn@google.com> Phase 2 of test cleanup: moving test files from AndroidTests closer to their sources.

Most of these are file moves; a couple notable exceptions are the changes due to the move, and fixing up test code:
- database/DatabaseCursorTest.java
- database/DatabaseStatementTest.java
- net/UriTest.java
abelView.java
extViewPerformanceTest.java
extViewTest.java
1d3165f10b12165f02b7015ac1a817c5f60e6399 12-Jan-2010 Neal Nguyen <tommyn@google.com> Phase 2 of test file cleanup: relocating test files from FrameworkTest closer to their sources in core.

In addition to the file moves, the package names of the tests have been updated and adjusted to match their new locations.
utoCompleteTextViewCallbacks.java
utoCompleteTextViewPopup.java
utoCompleteTextViewSimple.java
istViewTest.java
adioGroupActivity.java
adioGroupPreCheckedTest.java
impleCursorAdapterTest.java
xpandablelistview/ExpandableListBasicTest.java
xpandablelistview/ExpandableListSimple.java
xpandablelistview/ExpandableListWithHeaders.java
xpandablelistview/ExpandableListWithHeadersTest.java
xpandablelistview/InflatedExpandableListView.java
ocus/AdjacentVerticalRectLists.java
ocus/DescendantFocusability.java
ocus/DescendantFocusabilityTest.java
ocus/FocusAfterRemoval.java
ocus/FocusAfterRemovalTest.java
ocus/FocusChangeWithInterestingRectHintTest.java
ocus/GoneParentFocusedChild.java
ocus/GoneParentFocusedChildTest.java
ocus/HorizontalFocusSearch.java
ocus/HorizontalFocusSearchTest.java
ocus/LinearLayoutGrid.java
ocus/LinearLayoutGridTest.java
ocus/ListOfButtons.java
ocus/ListOfButtonsTest.java
ocus/ListOfEditTexts.java
ocus/ListOfInternalSelectionViews.java
ocus/ListWithFooterViewAndNewLabels.java
ocus/ListWithFooterViewAndNewLabelsTest.java
ocus/ListWithMailMessages.java
ocus/RequestFocus.java
ocus/RequestFocusTest.java
ocus/ScrollingThroughListOfFocusablesTest.java
ocus/VerticalFocusSearch.java
ocus/VerticalFocusSearchTest.java
ridview/GridDelete.java
ridview/GridInHorizontal.java
ridview/GridInHorizontalTest.java
ridview/GridInVertical.java
ridview/GridInVerticalTest.java
ridview/GridPadding.java
ridview/GridPaddingTest.java
ridview/GridScrollListener.java
ridview/GridScrollListenerTest.java
ridview/GridSetSelection.java
ridview/GridSetSelectionBaseTest.java
ridview/GridSetSelectionMany.java
ridview/GridSetSelectionManyTest.java
ridview/GridSetSelectionStackFromBottom.java
ridview/GridSetSelectionStackFromBottomMany.java
ridview/GridSetSelectionStackFromBottomManyTest.java
ridview/GridSetSelectionStackFromBottomTest.java
ridview/GridSetSelectionTest.java
ridview/GridSimple.java
ridview/GridSingleColumn.java
ridview/GridSingleColumnTest.java
ridview/GridStackFromBottom.java
ridview/GridStackFromBottomMany.java
ridview/GridStackFromBottomManyTest.java
ridview/GridStackFromBottomTest.java
ridview/GridThrasher.java
ridview/GridVerticalSpacing.java
ridview/GridVerticalSpacingStackFromBottom.java
ridview/touch/GridTouchSetSelectionTest.java
ridview/touch/GridTouchStackFromBottomManyTest.java
ridview/touch/GridTouchStackFromBottomTest.java
ridview/touch/GridTouchVerticalSpacingStackFromBottomTest.java
ridview/touch/GridTouchVerticalSpacingTest.java
ayout/frame/FrameLayoutGravity.java
ayout/frame/FrameLayoutGravityTest.java
ayout/frame/FrameLayoutMargin.java
ayout/frame/FrameLayoutMarginTest.java
ayout/linear/BaselineAlignmentCenterGravity.java
ayout/linear/BaselineAlignmentCenterGravityTest.java
ayout/linear/BaselineAlignmentSpinnerButton.java
ayout/linear/BaselineAlignmentZeroWidthAndWeight.java
ayout/linear/BaselineAlignmentZeroWidthAndWeightTest.java
ayout/linear/BaselineButtons.java
ayout/linear/BaselineButtonsTest.java
ayout/linear/ExceptionTextView.java
ayout/linear/FillInWrap.java
ayout/linear/FillInWrapTest.java
ayout/linear/HorizontalOrientationVerticalAlignment.java
ayout/linear/LLEditTextThenButton.java
ayout/linear/LLOfButtons1.java
ayout/linear/LLOfButtons2.java
ayout/linear/LLOfTwoFocusableInTouchMode.java
ayout/linear/LinearLayoutEditTexts.java
ayout/linear/LinearLayoutEditTextsTest.java
ayout/linear/Weight.java
ayout/linear/WeightSum.java
ayout/linear/WeightSumTest.java
ayout/linear/WeightTest.java
ayout/table/AddColumn.java
ayout/table/AddColumnTest.java
ayout/table/CellSpan.java
ayout/table/CellSpanTest.java
ayout/table/FixedWidth.java
ayout/table/FixedWidthTest.java
ayout/table/HorizontalGravity.java
ayout/table/HorizontalGravityTest.java
ayout/table/VerticalGravity.java
ayout/table/VerticalGravityTest.java
ayout/table/Weight.java
ayout/table/WeightTest.java
istview/AdjacentListsWithAdjacentISVsInside.java
istview/ListBottomGravity.java
istview/ListBottomGravityMany.java
istview/ListBottomGravityManyTest.java
istview/ListBottomGravityTest.java
istview/ListButtonsDiagonalAcrossItems.java
istview/ListDividers.java
istview/ListEmptyViewTest.java
istview/ListEndingWithMultipleSeparators.java
istview/ListFilter.java
istview/ListFocusableTest.java
istview/ListGetSelectedView.java
istview/ListHeterogeneous.java
istview/ListHeterogeneousTest.java
istview/ListHorizontalFocusWithinItemWins.java
istview/ListInHorizontal.java
istview/ListInHorizontalTest.java
istview/ListInVertical.java
istview/ListInVerticalTest.java
istview/ListInterleaveFocusables.java
istview/ListItemFocusableAboveUnfocusable.java
istview/ListItemFocusablesClose.java
istview/ListItemFocusablesFarApart.java
istview/ListItemISVAndButton.java
istview/ListItemRequestRectAboveThinFirstItemTest.java
istview/ListItemsExpandOnSelection.java
istview/ListLastItemPartiallyVisible.java
istview/ListManagedCursor.java
istview/ListManagedCursorTest.java
istview/ListOfItemsShorterThanScreen.java
istview/ListOfItemsTallerThanScreen.java
istview/ListOfShortShortTallShortShort.java
istview/ListOfShortTallShort.java
istview/ListOfThinItems.java
istview/ListOfTouchables.java
istview/ListRecyclerProfiling.java
istview/ListRetainsFocusAcrossLayoutsTest.java
istview/ListScrollListener.java
istview/ListScrollListenerTest.java
istview/ListSetSelection.java
istview/ListSetSelectionTest.java
istview/ListSimple.java
istview/ListTakeFocusFromSide.java
istview/ListThrasher.java
istview/ListTopGravity.java
istview/ListTopGravityMany.java
istview/ListUnspecifiedMeasure.java
istview/ListViewHeight.java
istview/ListViewHeightTest.java
istview/ListWithDisappearingItemBug.java
istview/ListWithEditTextHeader.java
istview/ListWithEmptyView.java
istview/ListWithFirstScreenUnSelectable.java
istview/ListWithHeaders.java
istview/ListWithNoFadingEdge.java
istview/ListWithOffScreenNextSelectable.java
istview/ListWithOnItemSelectedAction.java
istview/ListWithScreenOfNoSelectables.java
istview/ListWithSeparators.java
istview/arrowscroll/ListInterleaveFocusablesTest.java
istview/arrowscroll/ListItemFocusableAboveUnfocusableTest.java
istview/arrowscroll/ListItemFocusablesCloseTest.java
istview/arrowscroll/ListItemFocusablesFarApartTest.java
istview/arrowscroll/ListItemsExpandOnSelectionTest.java
istview/arrowscroll/ListLastItemPartiallyVisibleTest.java
istview/arrowscroll/ListOfItemsShorterThanScreenTest.java
istview/arrowscroll/ListOfItemsTallerThanScreenTest.java
istview/arrowscroll/ListOfShortShortTallShortShortTest.java
istview/arrowscroll/ListOfShortTallShortTest.java
istview/arrowscroll/ListOfThinItemsTest.java
istview/arrowscroll/ListWithFirstScreenUnSelectableTest.java
istview/arrowscroll/ListWithNoFadingEdgeTest.java
istview/arrowscroll/ListWithOffScreenNextSelectableTest.java
istview/arrowscroll/ListWithOnItemSelectedActionTest.java
istview/arrowscroll/ListWithScreenOfNoSelectablesTest.java
istview/arrowscroll/ListWithSeparatorsTest.java
istview/focus/AdjacentListsWithAdjacentISVsInsideTest.java
istview/focus/ListButtonsDiagonalAcrossItemsTest.java
istview/focus/ListHorizontalFocusWithinItemWinsTest.java
istview/focus/ListWithEditTextHeaderTest.java
istview/touch/ListGetSelectedViewTest.java
istview/touch/ListOfTouchablesTest.java
istview/touch/ListSetSelectionTest.java
istview/touch/ListTouchBottomGravityManyTest.java
istview/touch/ListTouchBottomGravityTest.java
istview/touch/ListTouchManyTest.java
istview/touch/ListTouchTest.java
croll/ButtonAboveTallInternalSelectionView.java
croll/ButtonAboveTallInternalSelectionViewTest.java
croll/ButtonsWithTallTextViewInBetween.java
croll/RequestRectangleVisible.java
croll/RequestRectangleVisibleTest.java
croll/RequestRectangleVisibleWithInternalScroll.java
croll/RequestRectangleVisibleWithInternalScrollTest.java
croll/ScrollViewButtonsAndLabels.java
croll/ScrollViewButtonsAndLabelsTest.java
croll/ShortButtons.java
croll/TallTextAboveButton.java
croll/arrowscroll/ButtonsWithTallTextViewInBetweenTest.java
croll/arrowscroll/ShortButtonsTest.java
croll/arrowscroll/TallTextAboveButtonTest.java
ouchmode/ChangeTouchModeTest.java
ouchmode/FocusableInTouchModeClickTest.java
ouchmode/StartInTouchWithViewInFocusTest.java
ouchmode/TouchModeFocusChangeTest.java
ouchmode/TouchModeFocusableTest.java