Skip to content

Commit

Permalink
Initial source upload
Browse files Browse the repository at this point in the history
  • Loading branch information
neolode committed Dec 21, 2011
0 parents commit d4e8705
Show file tree
Hide file tree
Showing 554 changed files with 35,241 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitignore
@@ -0,0 +1,5 @@
/bin/
/.settings/
/.classpath
/.project
/project.properties
113 changes: 113 additions & 0 deletions AndroidManifest.xml
@@ -0,0 +1,113 @@
<?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"
android:versionCode="34"
package="org.twoproject.drake"
android:versionName="@string/adw_version" android:installLocation="internalOnly">

<permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT"
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
android:protectionLevel="normal" 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="normal" android:label="@string/permlab_uninstall_shortcut"
android:description="@string/permdesc_uninstall_shortcut" />
<permission android:name="org.twoproject.drake.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="org.twoproject.drake.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" />

<uses-permission android:name="android.permission.CALL_PHONE" />
<uses-permission android:name="android.permission.EXPAND_STATUS_BAR" />
<uses-permission android:name="android.permission.GET_TASKS" />
<uses-permission android:name="android.permission.READ_CONTACTS" />
<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.WRITE_SETTINGS" />
<uses-permission android:name="android.permission.BIND_APPWIDGET" />
<uses-permission android:name="org.twoproject.drake.permission.READ_SETTINGS" />
<uses-permission android:name="org.twoproject.drake.permission.WRITE_SETTINGS" />
<uses-permission android:name="android.permission.RESTART_PACKAGES" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.PERSISTENT_ACTIVITY" />
<application android:name="org.twoproject.drake.LauncherApplication"
android:process="android.process.acore" android:label="@string/application_name"
android:icon="@drawable/ic_launcher_home">

<activity android:name="org.twoproject.drake.Launcher" android:launchMode="singleTask"
android:clearTaskOnLaunch="true" android:stateNotNeeded="true"
android:theme="@style/Theme"
android:screenOrientation="nosensor" android:windowSoftInputMode="stateUnspecified|adjustPan">
<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="org.twoproject.drake.MyLauncherSettings" android:label="@string/pref_label_settings" />
<activity android:name="org.twoproject.drake.ActivityPickerActivity" android:label="@string/pref_label_activities" />
<activity
android:name="org.twoproject.drake.CustomShirtcutActivity"
android:label="@string/pref_label_shirtcuts"
android:theme="@android:style/Theme.Dialog"
/>


<!-- Enable system-default search mode for any activity in Home -->
<meta-data android:name="android.app.default_searchable"
android:value="*" />

<!--
Intent received used to install shortcuts from other applications
-->
<receiver android:name="org.twoproject.drake.InstallShortcutReceiver"
android:permission="com.android.launcher.permission.INSTALL_SHORTCUT">
<intent-filter>
<action android:name="com.android.launcher.action.INSTALL_SHORTCUT" />
</intent-filter>
</receiver>

<!--
Intent received used to uninstall shortcuts from other applications
-->
<receiver android:name="org.twoproject.drake.UninstallShortcutReceiver"
android:permission="com.android.launcher.permission.UNINSTALL_SHORTCUT">
<intent-filter>
<action android:name="com.android.launcher.action.UNINSTALL_SHORTCUT" />
</intent-filter>
</receiver>

<!--
The settings provider contains Home's data, like the workspace
favorites
-->
<provider android:name="org.twoproject.drake.LauncherProvider"
android:authorities="org.twoproject.drake.settings"
android:writePermission="org.twoproject.drake.permission.WRITE_SETTINGS"
android:readPermission="org.twoproject.drake.permission.READ_SETTINGS" />
<activity android:name="org.twoproject.drake.catalogue.AppInfoMList"></activity>
</application>
<uses-sdk android:minSdkVersion="8"/>
<supports-screens android:largeScreens="true"
android:normalScreens="true" android:smallScreens="true"
android:anyDensity="true" />

</manifest>
Binary file added bg_big.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added bg_sml.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions gen/.gitignore
@@ -0,0 +1 @@
/org/
Binary file added mainmenu_icon_homemount_bg.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 28 additions & 0 deletions res/anim/apps_fade_in.xml
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- 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.
-->
<set xmlns:android="http://schemas.android.com/apk/res/android" android:shareInterpolator="false">
<alpha
android:interpolator="@android:anim/accelerate_interpolator"
android:fromAlpha="0.0"
android:toAlpha="1.0"
android:duration="500" />
<scale
android:interpolator="@android:anim/accelerate_interpolator"
android:fromXScale="1.5" android:toXScale="1"
android:fromYScale="1.5" android:toYScale="1"
android:pivotX="50%" android:pivotY="50%"
android:duration="500" />
</set>
28 changes: 28 additions & 0 deletions res/anim/apps_fade_out.xml
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- 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.
-->
<set xmlns:android="http://schemas.android.com/apk/res/android" android:shareInterpolator="false">
<alpha
android:interpolator="@android:anim/decelerate_interpolator"
android:fromAlpha="1.0"
android:toAlpha="0.0"
android:duration="400" />
<scale
android:interpolator="@android:anim/decelerate_interpolator"
android:fromXScale="1" android:toXScale="1.5"
android:fromYScale="1" android:toYScale="1.5"
android:pivotX="50%" android:pivotY="50%"
android:duration="400" />
</set>
23 changes: 23 additions & 0 deletions res/anim/fade_in_fast.xml
@@ -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" />
23 changes: 23 additions & 0 deletions res/anim/fade_out_fast.xml
@@ -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" />
12 changes: 12 additions & 0 deletions res/anim/popup.xml
@@ -0,0 +1,12 @@
<set xmlns:android="http://schemas.android.com/apk/res/android" android:shareInterpolator="false">
<alpha
android:fromAlpha="0.0"
android:toAlpha="1.0"
android:duration="500"
android:interpolator="@android:anim/decelerate_interpolator" />
<translate xmlns:android="http://schemas.android.com/apk/res/android"
android:fromYDelta="50%p"
android:toYDelta="0%p"
android:duration="500"
android:interpolator="@android:anim/overshoot_interpolator" />
</set>
28 changes: 28 additions & 0 deletions res/anim/previews_fade_in.xml
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- 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.
-->
<set xmlns:android="http://schemas.android.com/apk/res/android" android:shareInterpolator="false">
<alpha
android:interpolator="@android:anim/accelerate_interpolator"
android:fromAlpha="0.0"
android:toAlpha="1.0"
android:duration="200" />
<scale
android:interpolator="@android:anim/accelerate_interpolator"
android:fromXScale="1.5" android:toXScale="1"
android:fromYScale="1.5" android:toYScale="1"
android:pivotX="50%" android:pivotY="50%"
android:duration="200" />
</set>
7 changes: 7 additions & 0 deletions res/anim/quickaction.xml
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>

<translate
xmlns:android="http://schemas.android.com/apk/res/android"
android:fromXDelta="100%p"
android:toXDelta="0"
android:duration="325" />
29 changes: 29 additions & 0 deletions res/anim/quickaction_above_enter.xml
@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
** Copyright 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.
*/
-->

<set xmlns:android="http://schemas.android.com/apk/res/android">
<scale android:interpolator="@android:anim/decelerate_interpolator"
android:fromXScale="0.75" android:toXScale="1.0"
android:fromYScale="0.75" android:toYScale="1.0"
android:pivotX="50%" android:pivotY="100%"
android:duration="@android:integer/config_shortAnimTime" />
<alpha android:interpolator="@android:anim/decelerate_interpolator"
android:fromAlpha="0.0" android:toAlpha="1.0"
android:duration="@android:integer/config_shortAnimTime" />
</set>
28 changes: 28 additions & 0 deletions res/anim/quickaction_above_exit.xml
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
** Copyright 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.
*/
-->

<set xmlns:android="http://schemas.android.com/apk/res/android"
android:interpolator="@android:anim/accelerate_interpolator">
<scale android:fromXScale="1.0" android:toXScale=".5"
android:fromYScale="1.0" android:toYScale=".5"
android:pivotX="50%" android:pivotY="100%"
android:duration="@android:integer/config_shortAnimTime" />
<alpha android:fromAlpha="1.0" android:toAlpha="0"
android:duration="@android:integer/config_shortAnimTime" />
</set>
29 changes: 29 additions & 0 deletions res/anim/quickaction_below_enter.xml
@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
** Copyright 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.
*/
-->

<set xmlns:android="http://schemas.android.com/apk/res/android">
<scale android:interpolator="@android:anim/decelerate_interpolator"
android:fromXScale="0.75" android:toXScale="1.0"
android:fromYScale="0.75" android:toYScale="1.0"
android:pivotX="50%" android:pivotY="0%"
android:duration="@android:integer/config_shortAnimTime" />
<alpha android:interpolator="@android:anim/decelerate_interpolator"
android:fromAlpha="0.0" android:toAlpha="1.0"
android:duration="@android:integer/config_shortAnimTime" />
</set>
28 changes: 28 additions & 0 deletions res/anim/quickaction_below_exit.xml
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
** Copyright 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.
*/
-->

<set xmlns:android="http://schemas.android.com/apk/res/android"
android:interpolator="@android:anim/accelerate_interpolator">
<scale android:fromXScale="1.0" android:toXScale=".5"
android:fromYScale="1.0" android:toYScale=".5"
android:pivotX="50%" android:pivotY="0%"
android:duration="@android:integer/config_shortAnimTime" />
<alpha android:fromAlpha="1.0" android:toAlpha="0"
android:duration="@android:integer/config_shortAnimTime" />
</set>

0 comments on commit d4e8705

Please sign in to comment.