Frameworks: TRDS 2.0 (1/3)

After testing with huge success we discovered here
and there small problems (like NFC beam animation is broken,
TRDS was disabled on cardock etc) which mainly was caused
due that we used the already from AOSP introduced uiModes
qualifier which could cause in special conditions this
conflicts. Beside that we want a bit more flexibility.

Result: This commit introduces the inverted qualifier as
complete own qualifier undependent of the already AOSP
used ones.

Beside that it fixes all known issues......features:

- it is now completly working over the AOSP Configuration classes
  Means every app get notice of a change trough onConfiguratioChange
  and restarts it's activity if change was detected.
- app can disable that like some other configuration values
  over AndroidMainfest.xml
- beside "inverted" folder another "notinverted" folder is introduced
  for another themeing (eg white)
- qualifier order is direct before the official uiMode qualifiers
  (see AOSP docs)
- All usual Configuration actions can be used with the inverted
  qualifiers....like BroadcastChange, direct read out from every
  app etc. etc. Note: Only system can change the uiInvertedMode

So as you see a real own qualifier now

NOTE: Apktool as well aapt need to be changed to fit the "new
qualifier"....which means that we need to recompile our gapps
that they react as well on this new behaviour. Think we will get them ready
next 2 or 3 days.

Patchset:
increase support from SDK_HONEYCOMB_MR2
to FROYO to have better compatibillity
to some gapps.

Change-Id: I851740010198c400266d7ca9995eb08dbf7782bc

Conflicts:
	api/10.xml
	api/11.xml
	api/12.xml
	api/13.xml
	api/14.txt
	api/15.txt
	api/16.txt
	api/17.txt
	api/8.xml
	api/9.xml
	core/java/android/app/UiModeManager.java
	core/java/android/content/res/Configuration.java
	core/java/android/provider/Settings.java
	core/java/com/android/internal/app/ResolverActivity.java
	core/res/res/values/config.xml
	core/res/res/values/symbols.xml
	packages/SystemUI/src/com/android/systemui/recent/InterestingConfigChanges.java
	packages/SystemUI/src/com/android/systemui/statusbar/WidgetView.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	services/java/com/android/server/UiModeManagerService.java
Revert "Frameworks: TRDS 2.0 (1/3)"

This reverts commit 3e43458aff85da747367e24cbb7b8b16b532e0a5.
Frameworks: TRDS goes Slim

add trds changed files to provide new UI mode engine

Change-Id: I67f8a26320c9971258eb0106c0574b5af9b4261c
Frameworks: TRDS new qualifier push up qualifier number (1/2)

Hey guys,

after this feature is working really well and a lot roms kanged
it we got a hint to change one thing which is indeed a good
idea to have less problems on AOSP updates and tools like
Apktool can provide us better without doing major changes every
AOSP update.

We pushed the number up to 69.....should be enough for
next years.

Please note for the one who are using our gapps at the moment
this will break actuall gapps till we published the new one
which will be end this week as usual.

After that we will begin to publish the apktool after we had
now enough tests....and who knows maybe the "official" Apktool
will provide us all now. So all in all a good time to change
the qualifier now before it is getting more and more
popular (we saw that first themes are providing us)

cheers

Lars

Change-Id: Ie1aeab38420cb825f6f7c1d0a5220a8bb55fc4c3

Conflicts:
	api/13.xml
	api/14.txt
	api/15.txt
	api/16.txt
	api/17.txt
	api/current.txt
	core/java/android/content/res/Configuration.java
	core/res/res/values/config.xml
Revert "Frameworks: TRDS new qualifier push up qualifier number (1/2)"

This reverts commit 08baa6ea31014270c923155448b6def73d777c03.
Revert "Frameworks: TRDS goes Slim"

This reverts commit 6ee17ffef1d74aa60d891a32bd2d2b8c2f424172.
Add Expanded Desktop Tile [1/2]

Change-Id: I2273f8f0bdb726ec34f00a6fb205b1bc6e795cfa

Conflicts:
	packages/SystemUI/res/values/strings.xml
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsController.java
Revert "Add Expanded Desktop Tile [1/2]"

This reverts commit 1d45c465b1732b14f4ce3e15157c03354a49e7dc.
Add active display

Ring Notifications as implemented on  the Motorola
Moto X.

credit to 0xD34D who i'm assuming wrote most/all of the code.
I found it unfinished/broken in his gerrit and simply fixed it,
improved & optimized a bit

PS2: remove unrelated NavigationBarView diff
PS3: optimizations

Change-Id: Iad6a62a98adc6cc698dc852f1a1477d3ca601e5d

Conflicts:
	core/java/android/provider/Settings.java
	core/res/res/values/symbols.xml
	packages/SystemUI/res/values/dimens.xml
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java
Revert "Add active display"

This reverts commit c080e9d5bcb6b14fbf84b0c8c67a8d5a339cbec8.
Merge https://github.com/NarpAOSP/frameworks_base
Merge https://github.com/NarpAOSP/frameworks_base
Bye bye confirmation