Merge remote-tracking branch 'origin/kitkat-dev'
@@ -0,0 +1 @@
|
||||
db_files
|
||||
@@ -0,0 +1,62 @@
|
||||
#
|
||||
# Copyright (C) 2013 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
#
|
||||
# Build app code.
|
||||
#
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
|
||||
LOCAL_STATIC_JAVA_LIBRARIES := android-support-v13
|
||||
|
||||
LOCAL_SRC_FILES := $(call all-java-files-under, src) \
|
||||
$(call all-renderscript-files-under, src) \
|
||||
$(call all-proto-files-under, protos)
|
||||
|
||||
LOCAL_PROTOC_OPTIMIZE_TYPE := nano
|
||||
LOCAL_PROTOC_FLAGS := --proto_path=$(LOCAL_PATH)/protos/
|
||||
|
||||
LOCAL_SDK_VERSION := 19
|
||||
|
||||
LOCAL_PACKAGE_NAME := Launcher3
|
||||
#LOCAL_CERTIFICATE := shared
|
||||
|
||||
LOCAL_OVERRIDES_PACKAGES := Launcher2
|
||||
|
||||
LOCAL_PROGUARD_FLAG_FILES := proguard.flags
|
||||
|
||||
include $(BUILD_PACKAGE)
|
||||
|
||||
include $(call all-makefiles-under,$(LOCAL_PATH))
|
||||
|
||||
#
|
||||
# Protocol Buffer Debug Utility in Java
|
||||
#
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_SRC_FILES := $(call all-java-files-under, util) \
|
||||
$(call all-proto-files-under, protos)
|
||||
|
||||
LOCAL_PROTOC_OPTIMIZE_TYPE := nano
|
||||
LOCAL_PROTOC_FLAGS := --proto_path=$(LOCAL_PATH)/protos/
|
||||
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_MODULE := protoutil
|
||||
|
||||
include $(BUILD_HOST_JAVA_LIBRARY)
|
||||
@@ -0,0 +1,210 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/*
|
||||
**
|
||||
** Copyright 2008, The Android Open Source Project
|
||||
**
|
||||
** Licensed under the Apache License, Version 2.0 (the "License");
|
||||
** you may not use this file except in compliance with the License.
|
||||
** You may obtain a copy of the License at
|
||||
**
|
||||
** http://www.apache.org/licenses/LICENSE-2.0
|
||||
**
|
||||
** Unless required by applicable law or agreed to in writing, software
|
||||
** distributed under the License is distributed on an "AS IS" BASIS,
|
||||
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
** See the License for the specific language governing permissions and
|
||||
** limitations under the License.
|
||||
*/
|
||||
-->
|
||||
<manifest
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.android.launcher3">
|
||||
|
||||
<permission
|
||||
android:name="com.android.launcher3.permission.PRELOAD_WORKSPACE"
|
||||
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
|
||||
android:protectionLevel="system|signature" />
|
||||
<permission
|
||||
android:name="com.android.launcher.permission.INSTALL_SHORTCUT"
|
||||
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
|
||||
android:protectionLevel="dangerous"
|
||||
android:label="@string/permlab_install_shortcut"
|
||||
android:description="@string/permdesc_install_shortcut" />
|
||||
<permission
|
||||
android:name="com.android.launcher.permission.UNINSTALL_SHORTCUT"
|
||||
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
|
||||
android:protectionLevel="dangerous"
|
||||
android:label="@string/permlab_uninstall_shortcut"
|
||||
android:description="@string/permdesc_uninstall_shortcut"/>
|
||||
<permission
|
||||
android:name="com.android.launcher3.permission.READ_SETTINGS"
|
||||
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
|
||||
android:protectionLevel="normal"
|
||||
android:label="@string/permlab_read_settings"
|
||||
android:description="@string/permdesc_read_settings"/>
|
||||
<permission
|
||||
android:name="com.android.launcher3.permission.WRITE_SETTINGS"
|
||||
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
|
||||
android:protectionLevel="normal"
|
||||
android:label="@string/permlab_write_settings"
|
||||
android:description="@string/permdesc_write_settings"/>
|
||||
|
||||
<permission
|
||||
android:name="com.android.launcher3.permission.RECEIVE_LAUNCH_BROADCASTS"
|
||||
android:protectionLevel="signature"
|
||||
/>
|
||||
|
||||
<uses-permission android:name="android.permission.CALL_PHONE" />
|
||||
<uses-permission android:name="android.permission.SET_WALLPAPER" />
|
||||
<uses-permission android:name="android.permission.SET_WALLPAPER_HINTS" />
|
||||
<uses-permission android:name="android.permission.VIBRATE" />
|
||||
<uses-permission android:name="android.permission.BIND_APPWIDGET" />
|
||||
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
|
||||
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
|
||||
<uses-permission android:name="com.android.launcher.permission.READ_SETTINGS" />
|
||||
<uses-permission android:name="com.android.launcher.permission.WRITE_SETTINGS" />
|
||||
<uses-permission android:name="com.android.launcher3.permission.READ_SETTINGS" />
|
||||
<uses-permission android:name="com.android.launcher3.permission.WRITE_SETTINGS" />
|
||||
<uses-permission android:name="com.android.launcher3.permission.RECEIVE_LAUNCH_BROADCASTS" />
|
||||
|
||||
<application
|
||||
android:name="com.android.launcher3.LauncherApplication"
|
||||
android:label="@string/application_name"
|
||||
android:icon="@mipmap/ic_launcher_home"
|
||||
android:hardwareAccelerated="true"
|
||||
android:largeHeap="@bool/config_largeHeap"
|
||||
android:supportsRtl="true">
|
||||
<activity
|
||||
android:name="com.android.launcher3.Launcher"
|
||||
android:launchMode="singleTask"
|
||||
android:clearTaskOnLaunch="true"
|
||||
android:stateNotNeeded="true"
|
||||
android:theme="@style/Theme"
|
||||
android:windowSoftInputMode="adjustPan"
|
||||
android:screenOrientation="nosensor">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
<category android:name="android.intent.category.HOME" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
<category android:name="android.intent.category.MONKEY"/>
|
||||
</intent-filter>
|
||||
</activity>
|
||||
|
||||
<activity
|
||||
android:name="com.android.launcher3.ToggleWeightWatcher"
|
||||
android:label="@string/toggle_weight_watcher"
|
||||
android:enabled="@bool/debug_memory_enabled"
|
||||
android:icon="@mipmap/ic_launcher_home">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
|
||||
<activity
|
||||
android:name="com.android.launcher3.WallpaperPickerActivity"
|
||||
android:theme="@style/Theme.WallpaperCropper"
|
||||
android:label="@string/pick_wallpaper"
|
||||
android:icon="@mipmap/ic_launcher_wallpaper"
|
||||
android:finishOnCloseSystemDialogs="true"
|
||||
android:process=":wallpaper_chooser">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.SET_WALLPAPER" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
|
||||
<activity
|
||||
android:name="com.android.launcher3.WallpaperCropActivity"
|
||||
android:theme="@style/Theme.WallpaperCropper"
|
||||
android:label="@string/crop_wallpaper"
|
||||
android:icon="@mipmap/ic_launcher_wallpaper"
|
||||
android:finishOnCloseSystemDialogs="true"
|
||||
android:process=":wallpaper_chooser">
|
||||
<intent-filter>
|
||||
<action android:name="android.service.wallpaper.CROP_AND_SET_WALLPAPER" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
<data android:mimeType="image/*" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
|
||||
<!-- Debugging tools -->
|
||||
<activity
|
||||
android:name="com.android.launcher3.MemoryDumpActivity"
|
||||
android:theme="@android:style/Theme.NoDisplay"
|
||||
android:label="@string/debug_memory_activity"
|
||||
android:enabled="@bool/debug_memory_enabled"
|
||||
android:excludeFromRecents="true"
|
||||
android:icon="@mipmap/ic_launcher_home"
|
||||
>
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
|
||||
<service android:name="com.android.launcher3.MemoryTracker"
|
||||
android:enabled="@bool/debug_memory_enabled"
|
||||
>
|
||||
</service>
|
||||
|
||||
<!-- Intent received used to prepopulate the default workspace. -->
|
||||
<receiver
|
||||
android:name="com.android.launcher3.PreloadReceiver"
|
||||
android:permission="com.android.launcher3.permission.PRELOAD_WORKSPACE">
|
||||
<intent-filter>
|
||||
<action android:name="com.android.launcher3.action.PRELOAD_WORKSPACE" />
|
||||
</intent-filter>
|
||||
</receiver>
|
||||
|
||||
<!-- Intent received used to install shortcuts from other applications -->
|
||||
<receiver
|
||||
android:name="com.android.launcher3.InstallShortcutReceiver"
|
||||
android:permission="com.android.launcher3.permission.INSTALL_SHORTCUT">
|
||||
<intent-filter>
|
||||
<action android:name="com.android.launcher3.action.INSTALL_SHORTCUT" />
|
||||
</intent-filter>
|
||||
</receiver>
|
||||
|
||||
<!-- Intent received used to uninstall shortcuts from other applications -->
|
||||
<receiver
|
||||
android:name="com.android.launcher3.UninstallShortcutReceiver"
|
||||
android:permission="com.android.launcher3.permission.UNINSTALL_SHORTCUT">
|
||||
<intent-filter>
|
||||
<action android:name="com.android.launcher3.action.UNINSTALL_SHORTCUT" />
|
||||
</intent-filter>
|
||||
</receiver>
|
||||
|
||||
<!-- New user initialization; set up initial wallpaper -->
|
||||
<receiver
|
||||
android:name="com.android.launcher3.UserInitializeReceiver"
|
||||
android:exported="false">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.USER_INITIALIZE" />
|
||||
</intent-filter>
|
||||
</receiver>
|
||||
|
||||
<receiver android:name="com.android.launcher3.PackageChangedReceiver" >
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.PACKAGE_CHANGED"/>
|
||||
<action android:name="android.intent.action.PACKAGE_REPLACED"/>
|
||||
<action android:name="android.intent.action.PACKAGE_REMOVED"/>
|
||||
<data android:scheme="package"></data>
|
||||
</intent-filter>
|
||||
</receiver>
|
||||
|
||||
<!-- The settings provider contains Home's data, like the workspace favorites -->
|
||||
<provider
|
||||
android:name="com.android.launcher3.LauncherProvider"
|
||||
android:authorities="com.android.launcher3.settings"
|
||||
android:exported="true"
|
||||
android:writePermission="com.android.launcher3.permission.WRITE_SETTINGS"
|
||||
android:readPermission="com.android.launcher3.permission.READ_SETTINGS" />
|
||||
|
||||
<meta-data android:name="android.nfc.disable_beam_default"
|
||||
android:value="true" />
|
||||
</application>
|
||||
</manifest>
|
||||
@@ -0,0 +1,56 @@
|
||||
# Copyright (C) 2007 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
# If you don't need to do a full clean build but would like to touch
|
||||
# a file or delete some intermediate files, add a clean step to the end
|
||||
# of the list. These steps will only be run once, if they haven't been
|
||||
# run before.
|
||||
#
|
||||
# E.g.:
|
||||
# $(call add-clean-step, touch -c external/sqlite/sqlite3.h)
|
||||
# $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/STATIC_LIBRARIES/libz_intermediates)
|
||||
#
|
||||
# Always use "touch -c" and "rm -f" or "rm -rf" to gracefully deal with
|
||||
# files that are missing or have been moved.
|
||||
#
|
||||
# Use $(PRODUCT_OUT) to get to the "out/target/product/blah/" directory.
|
||||
# Use $(OUT_DIR) to refer to the "out" directory.
|
||||
#
|
||||
# If you need to re-do something that's already mentioned, just copy
|
||||
# the command and add it to the bottom of the list. E.g., if a change
|
||||
# that you made last week required touching a file and a change you
|
||||
# made today requires touching the same file, just copy the old
|
||||
# touch step and add it to the end of the list.
|
||||
#
|
||||
# ************************************************
|
||||
# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST
|
||||
# ************************************************
|
||||
|
||||
# For example:
|
||||
#$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/AndroidTests_intermediates)
|
||||
#$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/core_intermediates)
|
||||
#$(call add-clean-step, find $(OUT_DIR) -type f -name "IGTalkSession*" -print0 | xargs -0 rm -f)
|
||||
#$(call add-clean-step, rm -rf $(PRODUCT_OUT)/data/*)
|
||||
|
||||
$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Launcher2_intermediates)
|
||||
$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Launcher2_intermediates)
|
||||
$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Launcher2_intermediates)
|
||||
$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Launcher2_intermediates)
|
||||
$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Launcher2_intermediates)
|
||||
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/app/Launcher2.apk)
|
||||
|
||||
# ************************************************
|
||||
# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST
|
||||
# ************************************************
|
||||
@@ -0,0 +1,190 @@
|
||||
|
||||
Copyright (c) 2005-2008, The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
|
||||
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
@@ -0,0 +1,90 @@
|
||||
#!/usr/bin/env python2.5
|
||||
|
||||
import cgi
|
||||
import os
|
||||
import shutil
|
||||
import sys
|
||||
import sqlite3
|
||||
|
||||
SCREENS = 5
|
||||
COLUMNS = 4
|
||||
ROWS = 4
|
||||
CELL_SIZE = 110
|
||||
|
||||
DIR = "db_files"
|
||||
AUTO_FILE = "launcher.db"
|
||||
|
||||
APPLICATION_COMPONENTS = [
|
||||
"com.android.calculator2/com.android.calculator2.Calculator",
|
||||
"com.android.providers.downloads.ui/com.android.providers.downloads.ui.DownloadList",
|
||||
"com.android.settings/com.android.settings.Settings",
|
||||
"com.android.mms/com.android.mms.ui.ConversationList",
|
||||
"com.android.contacts/com.android.contacts.activities.PeopleActivity",
|
||||
"com.android.dialer/com.android.dialer.DialtactsActivity"
|
||||
]
|
||||
|
||||
def usage():
|
||||
print "usage: fill_screens.py -- fills up the launcher db"
|
||||
|
||||
|
||||
def make_dir():
|
||||
shutil.rmtree(DIR, True)
|
||||
os.makedirs(DIR)
|
||||
|
||||
def pull_file(fn):
|
||||
print "pull_file: " + fn
|
||||
rv = os.system("adb pull"
|
||||
+ " /data/data/com.android.launcher/databases/launcher.db"
|
||||
+ " " + fn);
|
||||
if rv != 0:
|
||||
print "adb pull failed"
|
||||
sys.exit(1)
|
||||
|
||||
def push_file(fn):
|
||||
print "push_file: " + fn
|
||||
rv = os.system("adb push"
|
||||
+ " " + fn
|
||||
+ " /data/data/com.android.launcher/databases/launcher.db")
|
||||
if rv != 0:
|
||||
print "adb push failed"
|
||||
sys.exit(1)
|
||||
|
||||
def process_file(fn):
|
||||
print "process_file: " + fn
|
||||
conn = sqlite3.connect(fn)
|
||||
c = conn.cursor()
|
||||
c.execute("DELETE FROM favorites")
|
||||
|
||||
intentFormat = "#Intent;action=android.intent.action.MAIN;category=android.intent.category.LAUNCHER;launchFlags=0x10200000;component=%s;end"
|
||||
|
||||
id = 0;
|
||||
for s in range(SCREENS):
|
||||
for x in range(ROWS):
|
||||
for y in range(COLUMNS):
|
||||
id += 1
|
||||
insert = "INSERT into favorites (_id, title, intent, container, screen, cellX, cellY, spanX, spanY, itemType, appWidgetId, iconType) VALUES (%d, '%s', '%s', %d, %d, %d, %d, %d, %d, %d, %d, %d)"
|
||||
insert = insert % (id, "title", "", -100, s, x, y, 1, 1, 2, -1, 0)
|
||||
c.execute(insert)
|
||||
folder_id = id
|
||||
|
||||
for z in range(15):
|
||||
id += 1
|
||||
intent = intentFormat % (APPLICATION_COMPONENTS[id % len(APPLICATION_COMPONENTS)])
|
||||
insert = "INSERT into favorites (_id, title, intent, container, screen, cellX, cellY, spanX, spanY, itemType, appWidgetId, iconType) VALUES (%d, '%s', '%s', %d, %d, %d, %d, %d, %d, %d, %d, %d)"
|
||||
insert = insert % (id, "title", intent, folder_id, 0, 0, 0, 1, 1, 0, -1, 0)
|
||||
c.execute(insert)
|
||||
|
||||
conn.commit()
|
||||
c.close()
|
||||
|
||||
def main(argv):
|
||||
if len(argv) == 1:
|
||||
make_dir()
|
||||
pull_file(AUTO_FILE)
|
||||
process_file(AUTO_FILE)
|
||||
push_file(AUTO_FILE)
|
||||
else:
|
||||
usage()
|
||||
|
||||
if __name__=="__main__":
|
||||
main(sys.argv)
|
||||
@@ -0,0 +1,316 @@
|
||||
#!/usr/bin/env python2.5
|
||||
|
||||
import cgi
|
||||
import codecs
|
||||
import os
|
||||
import pprint
|
||||
import shutil
|
||||
import sys
|
||||
import sqlite3
|
||||
|
||||
SCREENS = 0
|
||||
COLUMNS = 4
|
||||
ROWS = 4
|
||||
HOTSEAT_SIZE = 4
|
||||
CELL_SIZE = 110
|
||||
|
||||
CONTAINER_DESKTOP = -100
|
||||
CONTAINER_HOTSEAT = -101
|
||||
|
||||
DIR = "db_files"
|
||||
AUTO_FILE = DIR + "/launcher.db"
|
||||
INDEX_FILE = DIR + "/index.html"
|
||||
|
||||
def usage():
|
||||
print "usage: print_db.py launcher.db <sw600|sw720> -- prints a launcher.db"
|
||||
print "usage: print_db.py <sw600|sw720> -- adb pulls a launcher.db from a device"
|
||||
print " and prints it"
|
||||
print
|
||||
print "The dump will be created in a directory called db_files in cwd."
|
||||
print "This script will delete any db_files directory you have now"
|
||||
|
||||
|
||||
def make_dir():
|
||||
shutil.rmtree(DIR, True)
|
||||
os.makedirs(DIR)
|
||||
|
||||
def adb_root_remount():
|
||||
os.system("adb root")
|
||||
os.system("adb remount")
|
||||
|
||||
def pull_file(fn):
|
||||
print "pull_file: " + fn
|
||||
rv = os.system("adb pull"
|
||||
+ " /data/data/com.google.android.googlequicksearchbox/databases/launcher.db"
|
||||
+ " " + fn);
|
||||
if rv != 0:
|
||||
print "adb pull failed"
|
||||
sys.exit(1)
|
||||
|
||||
def get_favorites(conn):
|
||||
c = conn.cursor()
|
||||
c.execute("SELECT * FROM favorites")
|
||||
columns = [d[0] for d in c.description]
|
||||
rows = []
|
||||
for row in c:
|
||||
rows.append(row)
|
||||
return columns,rows
|
||||
|
||||
def get_screens(conn):
|
||||
c = conn.cursor()
|
||||
c.execute("SELECT * FROM workspaceScreens")
|
||||
columns = [d[0] for d in c.description]
|
||||
rows = []
|
||||
for row in c:
|
||||
rows.append(row)
|
||||
return columns,rows
|
||||
|
||||
def print_intent(out, id, i, cell):
|
||||
if cell:
|
||||
out.write("""<span class="intent" title="%s">shortcut</span>""" % (
|
||||
cgi.escape(cell, True)
|
||||
))
|
||||
|
||||
|
||||
def print_icon(out, id, i, cell):
|
||||
if cell:
|
||||
icon_fn = "icon_%d.png" % id
|
||||
out.write("""<img style="width: 3em; height: 3em;" src="%s">""" % ( icon_fn ))
|
||||
f = file(DIR + "/" + icon_fn, "w")
|
||||
f.write(cell)
|
||||
f.close()
|
||||
|
||||
def print_icon_type(out, id, i, cell):
|
||||
if cell == 0:
|
||||
out.write("Application (%d)" % cell)
|
||||
elif cell == 1:
|
||||
out.write("Shortcut (%d)" % cell)
|
||||
elif cell == 2:
|
||||
out.write("Folder (%d)" % cell)
|
||||
elif cell == 4:
|
||||
out.write("Widget (%d)" % cell)
|
||||
elif cell:
|
||||
out.write("%d" % cell)
|
||||
|
||||
def print_cell(out, id, i, cell):
|
||||
if not cell is None:
|
||||
out.write(cgi.escape(unicode(cell)))
|
||||
|
||||
FUNCTIONS = {
|
||||
"intent": print_intent,
|
||||
"icon": print_icon,
|
||||
"iconType": print_icon_type
|
||||
}
|
||||
|
||||
def render_cell_info(out, cell, occupied):
|
||||
if cell is None:
|
||||
out.write(" <td width=%d height=%d></td>\n" %
|
||||
(CELL_SIZE, CELL_SIZE))
|
||||
elif cell == occupied:
|
||||
pass
|
||||
else:
|
||||
cellX = cell["cellX"]
|
||||
cellY = cell["cellY"]
|
||||
spanX = cell["spanX"]
|
||||
spanY = cell["spanY"]
|
||||
intent = cell["intent"]
|
||||
if intent:
|
||||
title = "title=\"%s\"" % cgi.escape(cell["intent"], True)
|
||||
else:
|
||||
title = ""
|
||||
out.write((" <td colspan=%d rowspan=%d width=%d height=%d"
|
||||
+ " bgcolor=#dddddd align=center valign=middle %s>") % (
|
||||
spanX, spanY,
|
||||
(CELL_SIZE*spanX), (CELL_SIZE*spanY),
|
||||
title))
|
||||
itemType = cell["itemType"]
|
||||
if itemType == 0:
|
||||
out.write("""<img style="width: 4em; height: 4em;" src="icon_%d.png">\n""" % ( cell["_id"] ))
|
||||
out.write("<br/>\n")
|
||||
out.write(cgi.escape(cell["title"]) + " <br/><i>(app)</i>")
|
||||
elif itemType == 1:
|
||||
out.write("""<img style="width: 4em; height: 4em;" src="icon_%d.png">\n""" % ( cell["_id"] ))
|
||||
out.write("<br/>\n")
|
||||
out.write(cgi.escape(cell["title"]) + " <br/><i>(shortcut)</i>")
|
||||
elif itemType == 2:
|
||||
out.write("""<i>folder</i>""")
|
||||
elif itemType == 4:
|
||||
out.write("<i>widget %d</i><br/>\n" % cell["appWidgetId"])
|
||||
else:
|
||||
out.write("<b>unknown type: %d</b>" % itemType)
|
||||
out.write("</td>\n")
|
||||
|
||||
def render_screen_info(out, screen):
|
||||
out.write("<tr>")
|
||||
out.write("<td>%s</td>" % (screen["_id"]))
|
||||
out.write("<td>%s</td>" % (screen["screenRank"]))
|
||||
out.write("</tr>")
|
||||
|
||||
def process_file(fn):
|
||||
global SCREENS, COLUMNS, ROWS, HOTSEAT_SIZE
|
||||
print "process_file: " + fn
|
||||
conn = sqlite3.connect(fn)
|
||||
columns,rows = get_favorites(conn)
|
||||
screenCols, screenRows = get_screens(conn)
|
||||
|
||||
data = [dict(zip(columns,row)) for row in rows]
|
||||
screenData = [dict(zip(screenCols, screenRow)) for screenRow in screenRows]
|
||||
|
||||
# Calculate the proper number of screens, columns, and rows in this db
|
||||
screensIdMap = []
|
||||
hotseatIdMap = []
|
||||
HOTSEAT_SIZE = 0
|
||||
for d in data:
|
||||
if d["spanX"] is None:
|
||||
d["spanX"] = 1
|
||||
if d["spanY"] is None:
|
||||
d["spanY"] = 1
|
||||
if d["container"] == CONTAINER_DESKTOP:
|
||||
if d["screen"] not in screensIdMap:
|
||||
screensIdMap.append(d["screen"])
|
||||
COLUMNS = max(COLUMNS, d["cellX"] + d["spanX"])
|
||||
ROWS = max(ROWS, d["cellX"] + d["spanX"])
|
||||
elif d["container"] == CONTAINER_HOTSEAT:
|
||||
hotseatIdMap.append(d["screen"])
|
||||
HOTSEAT_SIZE = max(HOTSEAT_SIZE, d["screen"] + 1)
|
||||
SCREENS = len(screensIdMap)
|
||||
|
||||
out = codecs.open(INDEX_FILE, encoding="utf-8", mode="w")
|
||||
out.write("""<html>
|
||||
<head>
|
||||
<style type="text/css">
|
||||
.intent {
|
||||
font-style: italic;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
""")
|
||||
|
||||
# Data table
|
||||
out.write("<b>Favorites table</b><br/>\n")
|
||||
out.write("""<html>
|
||||
<table border=1 cellspacing=0 cellpadding=4>
|
||||
<tr>
|
||||
""")
|
||||
print_functions = []
|
||||
for col in columns:
|
||||
print_functions.append(FUNCTIONS.get(col, print_cell))
|
||||
for i in range(0,len(columns)):
|
||||
col = columns[i]
|
||||
out.write(""" <th>%s</th>
|
||||
""" % ( col ))
|
||||
out.write("""
|
||||
</tr>
|
||||
""")
|
||||
|
||||
for row in rows:
|
||||
out.write("""<tr>
|
||||
""")
|
||||
for i in range(0,len(row)):
|
||||
cell = row[i]
|
||||
# row[0] is always _id
|
||||
out.write(""" <td>""")
|
||||
print_functions[i](out, row[0], row, cell)
|
||||
out.write("""</td>
|
||||
""")
|
||||
out.write("""</tr>
|
||||
""")
|
||||
out.write("""</table>
|
||||
""")
|
||||
|
||||
# Screens
|
||||
out.write("<br/><b>Screens</b><br/>\n")
|
||||
out.write("<table class=layout border=1 cellspacing=0 cellpadding=4>\n")
|
||||
out.write("<tr><td>Screen ID</td><td>Rank</td></tr>\n")
|
||||
for screen in screenData:
|
||||
render_screen_info(out, screen)
|
||||
out.write("</table>\n")
|
||||
|
||||
# Hotseat
|
||||
hotseat = []
|
||||
for i in range(0, HOTSEAT_SIZE):
|
||||
hotseat.append(None)
|
||||
for row in data:
|
||||
if row["container"] != CONTAINER_HOTSEAT:
|
||||
continue
|
||||
screen = row["screen"]
|
||||
hotseat[screen] = row
|
||||
out.write("<br/><b>Hotseat</b><br/>\n")
|
||||
out.write("<table class=layout border=1 cellspacing=0 cellpadding=4>\n")
|
||||
for cell in hotseat:
|
||||
render_cell_info(out, cell, None)
|
||||
out.write("</table>\n")
|
||||
|
||||
# Pages
|
||||
screens = []
|
||||
for i in range(0,SCREENS):
|
||||
screen = []
|
||||
for j in range(0,ROWS):
|
||||
m = []
|
||||
for k in range(0,COLUMNS):
|
||||
m.append(None)
|
||||
screen.append(m)
|
||||
screens.append(screen)
|
||||
occupied = "occupied"
|
||||
for row in data:
|
||||
# desktop
|
||||
if row["container"] != CONTAINER_DESKTOP:
|
||||
continue
|
||||
screen = screens[screensIdMap.index(row["screen"])]
|
||||
cellX = row["cellX"]
|
||||
cellY = row["cellY"]
|
||||
spanX = row["spanX"]
|
||||
spanY = row["spanY"]
|
||||
for j in range(cellY, cellY+spanY):
|
||||
for k in range(cellX, cellX+spanX):
|
||||
screen[j][k] = occupied
|
||||
screen[cellY][cellX] = row
|
||||
i=0
|
||||
for screen in screens:
|
||||
out.write("<br/><b>Screen %d</b><br/>\n" % i)
|
||||
out.write("<table class=layout border=1 cellspacing=0 cellpadding=4>\n")
|
||||
for m in screen:
|
||||
out.write(" <tr>\n")
|
||||
for cell in m:
|
||||
render_cell_info(out, cell, occupied)
|
||||
out.write("</tr>\n")
|
||||
out.write("</table>\n")
|
||||
i=i+1
|
||||
|
||||
out.write("""
|
||||
</body>
|
||||
</html>
|
||||
""")
|
||||
|
||||
out.close()
|
||||
|
||||
def updateDeviceClassConstants(str):
|
||||
global SCREENS, COLUMNS, ROWS, HOTSEAT_SIZE
|
||||
devClass = str.lower()
|
||||
if devClass == "sw600":
|
||||
COLUMNS = 6
|
||||
ROWS = 6
|
||||
HOTSEAT_SIZE = 6
|
||||
return True
|
||||
elif devClass == "sw720":
|
||||
COLUMNS = 8
|
||||
ROWS = 6
|
||||
HOTSEAT_SIZE = 8
|
||||
return True
|
||||
return False
|
||||
|
||||
def main(argv):
|
||||
if len(argv) == 1 or (len(argv) == 2 and updateDeviceClassConstants(argv[1])):
|
||||
make_dir()
|
||||
adb_root_remount()
|
||||
pull_file(AUTO_FILE)
|
||||
process_file(AUTO_FILE)
|
||||
elif len(argv) == 2 or (len(argv) == 3 and updateDeviceClassConstants(argv[2])):
|
||||
make_dir()
|
||||
process_file(argv[1])
|
||||
else:
|
||||
usage()
|
||||
|
||||
if __name__=="__main__":
|
||||
main(sys.argv)
|
||||
@@ -0,0 +1,51 @@
|
||||
-keep class com.android.launcher3.Launcher {
|
||||
public void previousScreen(android.view.View);
|
||||
public void nextScreen(android.view.View);
|
||||
public void launchHotSeat(android.view.View);
|
||||
public void onClickSearchButton(android.view.View);
|
||||
public void onClickVoiceButton(android.view.View);
|
||||
public void onClickConfigureButton(android.view.View);
|
||||
public void onClickAllAppsButton(android.view.View);
|
||||
public void onClickAppMarketButton(android.view.View);
|
||||
public void dismissFirstRunCling(android.view.View);
|
||||
public void dismissWorkspaceCling(android.view.View);
|
||||
public void dismissAllAppsCling(android.view.View);
|
||||
}
|
||||
|
||||
-keep class com.android.launcher3.CellLayout {
|
||||
public float getBackgroundAlpha();
|
||||
public void setBackgroundAlpha(float);
|
||||
}
|
||||
|
||||
-keep class com.android.launcher3.DragLayer$LayoutParams {
|
||||
public void setWidth(int);
|
||||
public int getWidth();
|
||||
public void setHeight(int);
|
||||
public int getHeight();
|
||||
public void setX(int);
|
||||
public int getX();
|
||||
public void setY(int);
|
||||
public int getY();
|
||||
}
|
||||
|
||||
-keep class com.android.launcher3.CellLayout$LayoutParams {
|
||||
public void setWidth(int);
|
||||
public int getWidth();
|
||||
public void setHeight(int);
|
||||
public int getHeight();
|
||||
public void setX(int);
|
||||
public int getX();
|
||||
public void setY(int);
|
||||
public int getY();
|
||||
}
|
||||
|
||||
-keep class com.android.launcher3.Workspace {
|
||||
public float getBackgroundAlpha();
|
||||
public void setBackgroundAlpha(float);
|
||||
public float getChildrenOutlineAlpha();
|
||||
public void setChildrenOutlineAlpha(float);
|
||||
}
|
||||
|
||||
-keep class com.android.launcher3.MemoryDumpActivity {
|
||||
*;
|
||||
}
|
||||
@@ -0,0 +1,85 @@
|
||||
/*
|
||||
* Copyright (C) 2013 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package launcher_backup;
|
||||
|
||||
option java_package = "com.android.launcher3.backup";
|
||||
option java_outer_classname = "BackupProtos";
|
||||
|
||||
message Key {
|
||||
enum Type {
|
||||
FAVORITE = 1;
|
||||
SCREEN = 2;
|
||||
ICON = 3;
|
||||
WIDGET = 4;
|
||||
}
|
||||
required Type type = 1;
|
||||
optional string name = 2; // keep this short
|
||||
optional int64 id = 3;
|
||||
optional int64 checksum = 4;
|
||||
}
|
||||
|
||||
message CheckedMessage {
|
||||
required bytes payload = 1;
|
||||
required int64 checksum = 2;
|
||||
}
|
||||
|
||||
message Journal {
|
||||
required int32 app_version = 1;
|
||||
required int64 t = 2;
|
||||
optional int64 bytes = 3;
|
||||
optional int32 rows = 4;
|
||||
repeated Key key = 5;
|
||||
}
|
||||
|
||||
message Favorite {
|
||||
required int64 id = 1;
|
||||
required int32 itemType = 2;
|
||||
optional string title = 3;
|
||||
optional int32 container = 4;
|
||||
optional int32 screen = 5;
|
||||
optional int32 cellX = 6;
|
||||
optional int32 cellY = 7;
|
||||
optional int32 spanX = 8;
|
||||
optional int32 spanY = 9;
|
||||
optional int32 displayMode = 10;
|
||||
optional int32 appWidgetId = 11;
|
||||
optional string appWidgetProvider = 12;
|
||||
optional string intent = 13;
|
||||
optional string uri = 14;
|
||||
optional int32 iconType = 15;
|
||||
optional string iconPackage = 16;
|
||||
optional string iconResource = 17;
|
||||
optional bytes icon = 18;
|
||||
}
|
||||
|
||||
message Screen {
|
||||
required int64 id = 1;
|
||||
optional int32 rank = 2;
|
||||
}
|
||||
|
||||
message Resource {
|
||||
required int32 dpi = 1;
|
||||
required bytes data = 2;
|
||||
}
|
||||
|
||||
message Widget {
|
||||
required string provider = 1;
|
||||
optional string label = 2;
|
||||
optional bool configure = 3;
|
||||
optional Resource icon = 4;
|
||||
optional Resource preview = 5;
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2009 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<alpha xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:interpolator="@android:anim/accelerate_interpolator"
|
||||
|
||||
android:fromAlpha="0.0"
|
||||
android:toAlpha="1.0"
|
||||
|
||||
android:duration="@android:integer/config_mediumAnimTime" />
|
||||
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2009 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<alpha xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:interpolator="@android:anim/accelerate_interpolator"
|
||||
|
||||
android:fromAlpha="1.0"
|
||||
android:toAlpha="0.0"
|
||||
|
||||
android:duration="@android:integer/config_mediumAnimTime" />
|
||||
|
After Width: | Height: | Size: 69 B |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 659 B |
|
After Width: | Height: | Size: 638 B |
|
After Width: | Height: | Size: 769 B |
|
After Width: | Height: | Size: 647 B |
|
After Width: | Height: | Size: 284 B |
|
After Width: | Height: | Size: 521 B |
|
After Width: | Height: | Size: 493 B |
|
After Width: | Height: | Size: 540 B |
|
After Width: | Height: | Size: 512 B |
|
After Width: | Height: | Size: 450 B |
|
After Width: | Height: | Size: 453 B |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 188 B |
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 153 B |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 9.8 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 1003 B |
|
After Width: | Height: | Size: 4.6 KiB |
|
After Width: | Height: | Size: 2.6 KiB |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 2.6 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 729 B |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 668 B |
|
After Width: | Height: | Size: 2.6 KiB |
|
After Width: | Height: | Size: 3.0 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 858 B |
|
After Width: | Height: | Size: 856 B |
|
After Width: | Height: | Size: 2.8 KiB |
|
After Width: | Height: | Size: 243 B |
|
After Width: | Height: | Size: 637 B |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 4.3 KiB |
|
After Width: | Height: | Size: 4.0 KiB |
|
After Width: | Height: | Size: 7.5 KiB |
|
After Width: | Height: | Size: 2.6 KiB |
|
After Width: | Height: | Size: 881 B |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 392 B |
|
After Width: | Height: | Size: 147 B |
|
After Width: | Height: | Size: 148 B |
|
After Width: | Height: | Size: 231 B |
|
After Width: | Height: | Size: 147 B |
|
After Width: | Height: | Size: 146 B |
|
After Width: | Height: | Size: 153 B |
|
After Width: | Height: | Size: 244 B |
|
After Width: | Height: | Size: 145 B |
|
After Width: | Height: | Size: 168 B |
|
After Width: | Height: | Size: 144 B |
|
After Width: | Height: | Size: 165 B |
|
After Width: | Height: | Size: 159 B |
|
After Width: | Height: | Size: 148 B |
|
After Width: | Height: | Size: 369 B |
|
After Width: | Height: | Size: 880 B |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 545 B |
|
After Width: | Height: | Size: 226 B |
|
After Width: | Height: | Size: 671 B |
|
After Width: | Height: | Size: 639 B |
|
After Width: | Height: | Size: 765 B |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 222 B |
|
After Width: | Height: | Size: 509 B |
|
After Width: | Height: | Size: 484 B |
|
After Width: | Height: | Size: 621 B |
|
After Width: | Height: | Size: 959 B |
|
After Width: | Height: | Size: 201 B |
|
After Width: | Height: | Size: 815 B |
|
After Width: | Height: | Size: 794 B |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 2.0 KiB |