version:1.5
fix:迁移到奥乐云平台 add:
This commit is contained in:
10
Android.mk
10
Android.mk
@@ -106,7 +106,7 @@ LOCAL_REQUIRED_MODULES := privapp_whitelist_com.android.launcher3
|
||||
|
||||
LOCAL_FULL_LIBS_MANIFEST_FILES := $(LOCAL_PATH)/AndroidManifest-common.xml
|
||||
|
||||
LOCAL_JACK_COVERAGE_INCLUDE_FILTER := com.android.colorfulos.*
|
||||
LOCAL_JACK_COVERAGE_INCLUDE_FILTER := com.aoleyun.os.*
|
||||
|
||||
include $(BUILD_PACKAGE)
|
||||
|
||||
@@ -140,7 +140,7 @@ LOCAL_FULL_LIBS_MANIFEST_FILES := \
|
||||
$(LOCAL_PATH)/AndroidManifest-common.xml
|
||||
|
||||
LOCAL_MANIFEST_FILE := go/AndroidManifest.xml
|
||||
LOCAL_JACK_COVERAGE_INCLUDE_FILTER := com.android.colorfulos.*
|
||||
LOCAL_JACK_COVERAGE_INCLUDE_FILTER := com.aoleyun.os.*
|
||||
include $(BUILD_PACKAGE)
|
||||
|
||||
#
|
||||
@@ -212,7 +212,7 @@ LOCAL_FULL_LIBS_MANIFEST_FILES := \
|
||||
$(LOCAL_PATH)/AndroidManifest-common.xml
|
||||
|
||||
LOCAL_MANIFEST_FILE := quickstep/AndroidManifest.xml
|
||||
LOCAL_JACK_COVERAGE_INCLUDE_FILTER := com.android.colorfulos.*
|
||||
LOCAL_JACK_COVERAGE_INCLUDE_FILTER := com.aoleyun.os.*
|
||||
|
||||
include $(BUILD_PACKAGE)
|
||||
|
||||
@@ -260,7 +260,7 @@ LOCAL_FULL_LIBS_MANIFEST_FILES := \
|
||||
$(LOCAL_PATH)/AndroidManifest-common.xml
|
||||
|
||||
LOCAL_MANIFEST_FILE := quickstep/AndroidManifest.xml
|
||||
LOCAL_JACK_COVERAGE_INCLUDE_FILTER := com.android.colorfulos.*
|
||||
LOCAL_JACK_COVERAGE_INCLUDE_FILTER := com.aoleyun.os.*
|
||||
include $(BUILD_PACKAGE)
|
||||
|
||||
#
|
||||
@@ -307,7 +307,7 @@ LOCAL_FULL_LIBS_MANIFEST_FILES := \
|
||||
$(LOCAL_PATH)/AndroidManifest-common.xml
|
||||
|
||||
LOCAL_MANIFEST_FILE := quickstep/AndroidManifest.xml
|
||||
LOCAL_JACK_COVERAGE_INCLUDE_FILTER := com.android.colorfulos.*
|
||||
LOCAL_JACK_COVERAGE_INCLUDE_FILTER := com.aoleyun.os.*
|
||||
include $(BUILD_PACKAGE)
|
||||
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
/*
|
||||
**
|
||||
** Copyright 2016, The Android Open Source Project
|
||||
@@ -17,11 +16,10 @@
|
||||
** limitations under the License.
|
||||
*/
|
||||
-->
|
||||
<manifest
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:sharedUserId="android.uid.system"
|
||||
package="com.android.colorfulos">
|
||||
package="com.aoleyun.os"
|
||||
android:sharedUserId="android.uid.system">
|
||||
|
||||
<!--
|
||||
The manifest defines the common entries that should be present in any derivative of Launcher3.
|
||||
@@ -33,10 +31,10 @@
|
||||
-->
|
||||
<permission
|
||||
android:name="com.android.launcher.permission.INSTALL_SHORTCUT"
|
||||
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
|
||||
android:protectionLevel="dangerous"
|
||||
android:description="@string/permdesc_install_shortcut"
|
||||
android:label="@string/permlab_install_shortcut"
|
||||
android:description="@string/permdesc_install_shortcut" />
|
||||
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
|
||||
android:protectionLevel="dangerous" />
|
||||
|
||||
<uses-permission android:name="android.permission.CALL_PHONE" />
|
||||
<uses-permission android:name="android.permission.SET_WALLPAPER" />
|
||||
@@ -56,82 +54,83 @@
|
||||
-->
|
||||
<permission
|
||||
android:name="${packageName}.permission.READ_SETTINGS"
|
||||
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
|
||||
android:protectionLevel="signatureOrSystem"
|
||||
android:description="@string/permdesc_read_settings"
|
||||
android:label="@string/permlab_read_settings"
|
||||
android:description="@string/permdesc_read_settings"/>
|
||||
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
|
||||
android:protectionLevel="signatureOrSystem" />
|
||||
<permission
|
||||
android:name="${packageName}.permission.WRITE_SETTINGS"
|
||||
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
|
||||
android:protectionLevel="signatureOrSystem"
|
||||
android:description="@string/permdesc_write_settings"
|
||||
android:label="@string/permlab_write_settings"
|
||||
android:description="@string/permdesc_write_settings"/>
|
||||
android:permissionGroup="android.permission-group.SYSTEM_TOOLS"
|
||||
android:protectionLevel="signatureOrSystem" />
|
||||
|
||||
<uses-permission android:name="${packageName}.permission.READ_SETTINGS" />
|
||||
<uses-permission android:name="${packageName}.permission.WRITE_SETTINGS" />
|
||||
|
||||
<application
|
||||
android:name="com.android.colorfulos.base.MyApplication"
|
||||
android:backupAgent="com.android.colorfulos.LauncherBackupAgent"
|
||||
android:fullBackupOnly="true"
|
||||
android:name="com.aoleyun.os.base.MyApplication"
|
||||
android:backupAgent="com.aoleyun.os.LauncherBackupAgent"
|
||||
android:fullBackupContent="@xml/backupscheme"
|
||||
android:fullBackupOnly="true"
|
||||
android:hardwareAccelerated="true"
|
||||
android:icon="@drawable/ic_launcher_home"
|
||||
android:label="@string/derived_app_name"
|
||||
android:largeHeap="@bool/config_largeHeap"
|
||||
android:restoreAnyVersion="true"
|
||||
android:networkSecurityConfig="@xml/network"
|
||||
android:restoreAnyVersion="true"
|
||||
android:supportsRtl="true">
|
||||
|
||||
<!-- Intent received used to install shortcuts from other applications -->
|
||||
<receiver
|
||||
android:name="com.android.colorfulos.InstallShortcutReceiver"
|
||||
android:permission="com.android.launcher.permission.INSTALL_SHORTCUT"
|
||||
android:enabled="@bool/enable_install_shortcut_api" >
|
||||
android:name="com.aoleyun.os.InstallShortcutReceiver"
|
||||
android:enabled="@bool/enable_install_shortcut_api"
|
||||
android:permission="com.android.launcher.permission.INSTALL_SHORTCUT">
|
||||
<intent-filter>
|
||||
<action android:name="com.android.launcher.action.INSTALL_SHORTCUT" />
|
||||
</intent-filter>
|
||||
</receiver>
|
||||
|
||||
<!-- Intent received when a session is committed -->
|
||||
<receiver
|
||||
android:name="com.android.colorfulos.SessionCommitReceiver" >
|
||||
<receiver android:name="com.aoleyun.os.SessionCommitReceiver">
|
||||
<intent-filter>
|
||||
<action android:name="android.content.pm.action.SESSION_COMMITTED" />
|
||||
</intent-filter>
|
||||
</receiver>
|
||||
|
||||
<!-- Intent received used to initialize a restored widget -->
|
||||
<receiver android:name="com.android.colorfulos.AppWidgetsRestoredReceiver" >
|
||||
<receiver android:name="com.aoleyun.os.AppWidgetsRestoredReceiver">
|
||||
<intent-filter>
|
||||
<action android:name="android.appwidget.action.APPWIDGET_HOST_RESTORED" />
|
||||
</intent-filter>
|
||||
</receiver>
|
||||
|
||||
<service
|
||||
android:name="com.android.colorfulos.uioverrides.dynamicui.WallpaperManagerCompatVL$ColorExtractionService"
|
||||
android:name="com.aoleyun.os.uioverrides.dynamicui.WallpaperManagerCompatVL$ColorExtractionService"
|
||||
android:exported="false"
|
||||
android:process=":wallpaper_chooser"
|
||||
android:permission="android.permission.BIND_JOB_SERVICE" />
|
||||
android:permission="android.permission.BIND_JOB_SERVICE"
|
||||
android:process=":wallpaper_chooser" />
|
||||
|
||||
<service
|
||||
android:name="com.android.colorfulos.notification.NotificationListener"
|
||||
android:label="@string/notification_dots_service_title"
|
||||
android:name="com.aoleyun.os.notification.NotificationListener"
|
||||
android:enabled="@bool/notification_dots_enabled"
|
||||
android:label="@string/notification_dots_service_title"
|
||||
android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE">
|
||||
<intent-filter>
|
||||
<action android:name="android.service.notification.NotificationListenerService" />
|
||||
</intent-filter>
|
||||
</service>
|
||||
|
||||
<meta-data android:name="android.nfc.disable_beam_default"
|
||||
<meta-data
|
||||
android:name="android.nfc.disable_beam_default"
|
||||
android:value="true" />
|
||||
|
||||
<activity android:name="com.android.colorfulos.dragndrop.AddItemActivity"
|
||||
android:theme="@style/AppItemActivityTheme"
|
||||
android:excludeFromRecents="true"
|
||||
<activity
|
||||
android:name="com.aoleyun.os.dragndrop.AddItemActivity"
|
||||
android:autoRemoveFromRecents="true"
|
||||
android:label="@string/action_add_to_workspace" >
|
||||
android:excludeFromRecents="true"
|
||||
android:label="@string/action_add_to_workspace"
|
||||
android:theme="@style/AppItemActivityTheme">
|
||||
<intent-filter>
|
||||
<action android:name="android.content.pm.action.CONFIRM_PIN_SHORTCUT" />
|
||||
<action android:name="android.content.pm.action.CONFIRM_PIN_APPWIDGET" />
|
||||
@@ -143,8 +142,8 @@
|
||||
worspace configuration to the dump's file descriptor by using launcher_dump.proto
|
||||
-->
|
||||
<meta-data
|
||||
android:name="com.android.colorfulos.launcher_dump_provider"
|
||||
android:value="com.android.colorfulos.LauncherProvider" />
|
||||
android:name="com.aoleyun.os.launcher_dump_provider"
|
||||
android:value="com.aoleyun.os.LauncherProvider" />
|
||||
|
||||
<!--
|
||||
The settings provider contains Home's data, like the workspace favorites. The permissions
|
||||
@@ -152,18 +151,18 @@
|
||||
represent the package name.
|
||||
-->
|
||||
<provider
|
||||
android:name="com.android.colorfulos.LauncherProvider"
|
||||
android:name="com.aoleyun.os.LauncherProvider"
|
||||
android:authorities="${packageName}.settings"
|
||||
android:exported="true"
|
||||
android:writePermission="${packageName}.permission.WRITE_SETTINGS"
|
||||
android:readPermission="${packageName}.permission.READ_SETTINGS" />
|
||||
android:readPermission="${packageName}.permission.READ_SETTINGS"
|
||||
android:writePermission="${packageName}.permission.WRITE_SETTINGS" />
|
||||
|
||||
<!--
|
||||
The content provider for exposing various launcher grid options.
|
||||
TODO: Add proper permissions
|
||||
-->
|
||||
<provider
|
||||
android:name="com.android.colorfulos.graphics.GridOptionsProvider"
|
||||
android:name="com.aoleyun.os.graphics.GridOptionsProvider"
|
||||
android:authorities="${packageName}.grid_control"
|
||||
android:enabled="false"
|
||||
android:exported="true" />
|
||||
@@ -172,29 +171,31 @@
|
||||
The settings activity. To extend point settings_fragment_name to appropriate fragment class
|
||||
-->
|
||||
<activity
|
||||
android:name="com.android.colorfulos.settings.SettingsActivity"
|
||||
android:name="com.aoleyun.os.settings.SettingsActivity"
|
||||
android:autoRemoveFromRecents="true"
|
||||
android:label="@string/settings_button_text"
|
||||
android:theme="@android:style/Theme.DeviceDefault.Settings"
|
||||
android:autoRemoveFromRecents="true">
|
||||
android:theme="@android:style/Theme.DeviceDefault.Settings">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.APPLICATION_PREFERENCES" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
|
||||
<activity android:name="com.android.colorfulos.Launcher"
|
||||
android:launchMode="singleTask"
|
||||
<activity
|
||||
android:name="com.aoleyun.os.Launcher"
|
||||
android:clearTaskOnLaunch="true"
|
||||
android:stateNotNeeded="true"
|
||||
android:windowSoftInputMode="adjustPan"
|
||||
android:screenOrientation="unspecified"
|
||||
android:configChanges="keyboard|keyboardHidden|mcc|mnc|navigation|orientation|screenSize|screenLayout|smallestScreenSize"
|
||||
android:enabled="true"
|
||||
android:launchMode="singleTask"
|
||||
android:resizeableActivity="true"
|
||||
android:resumeWhilePausing="true"
|
||||
android:screenOrientation="unspecified"
|
||||
android:stateNotNeeded="true"
|
||||
android:taskAffinity=""
|
||||
android:enabled="true">
|
||||
android:windowSoftInputMode="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" />
|
||||
@@ -204,32 +205,31 @@
|
||||
</activity>
|
||||
|
||||
<provider
|
||||
android:name="com.android.colorfulos.testing.TestInformationProvider"
|
||||
android:name="com.aoleyun.os.testing.TestInformationProvider"
|
||||
android:authorities="${packageName}.TestInfo"
|
||||
android:readPermission="android.permission.WRITE_SECURE_SETTINGS"
|
||||
android:writePermission="android.permission.WRITE_SECURE_SETTINGS"
|
||||
android:enabled="false"
|
||||
android:exported="true"
|
||||
android:enabled="false" />
|
||||
|
||||
android:readPermission="android.permission.WRITE_SECURE_SETTINGS"
|
||||
android:writePermission="android.permission.WRITE_SECURE_SETTINGS" />
|
||||
|
||||
|
||||
<!-- Rich push 核心功能 since 2.0.6-->
|
||||
<activity
|
||||
android:name="cn.jpush.android.ui.PopWinActivity"
|
||||
android:theme="@style/MyDialogStyle"
|
||||
android:exported="false"
|
||||
tools:replace="android:exported">
|
||||
</activity>
|
||||
android:theme="@style/MyDialogStyle"
|
||||
tools:replace="android:exported"></activity>
|
||||
|
||||
<!-- Required SDK核心功能-->
|
||||
<activity
|
||||
android:name="cn.jpush.android.ui.PushActivity"
|
||||
android:configChanges="orientation|keyboardHidden"
|
||||
android:theme="@android:style/Theme.NoTitleBar"
|
||||
android:exported="false"
|
||||
android:theme="@android:style/Theme.NoTitleBar"
|
||||
tools:replace="android:exported">
|
||||
<intent-filter>
|
||||
<action android:name="cn.jpush.android.ui.PushActivity" />
|
||||
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
<category android:name="${applicationId}" />
|
||||
</intent-filter>
|
||||
@@ -239,8 +239,8 @@
|
||||
<!-- 可配置android:process参数将PushService放在其他进程中 -->
|
||||
<service
|
||||
android:name="cn.jpush.android.service.PushService"
|
||||
android:process=":pushcore"
|
||||
android:exported="false">
|
||||
android:exported="false"
|
||||
android:process=":pushcore">
|
||||
<intent-filter>
|
||||
<action android:name="cn.jpush.android.intent.REGISTER" />
|
||||
<action android:name="cn.jpush.android.intent.REPORT" />
|
||||
@@ -251,10 +251,10 @@
|
||||
|
||||
<!-- since 3.0.9 Required SDK 核心功能-->
|
||||
<provider
|
||||
android:authorities="${applicationId}.DataProvider"
|
||||
android:name="cn.jpush.android.service.DataProvider"
|
||||
android:process=":pushcore"
|
||||
android:authorities="${applicationId}.DataProvider"
|
||||
android:exported="false"
|
||||
android:process=":pushcore"
|
||||
tools:replace="android:authorities" />
|
||||
|
||||
<!-- since 1.8.0 option 可选项。用于同一设备中不同应用的JPush服务相互拉起的功能。 -->
|
||||
@@ -272,8 +272,8 @@
|
||||
|
||||
<!-- since 3.1.0 Required SDK 核心功能-->
|
||||
<provider
|
||||
android:authorities="${applicationId}.DownloadProvider"
|
||||
android:name="cn.jpush.android.service.DownloadProvider"
|
||||
android:authorities="${applicationId}.DownloadProvider"
|
||||
android:exported="true"
|
||||
tools:replace="android:authorities" />
|
||||
|
||||
@@ -281,7 +281,8 @@
|
||||
<receiver
|
||||
android:name="cn.jpush.android.service.PushReceiver"
|
||||
android:enabled="true"
|
||||
android:exported="false">
|
||||
android:exported="false"
|
||||
tools:replace="android:exported">
|
||||
<intent-filter android:priority="1000">
|
||||
<action android:name="cn.jpush.android.intent.NOTIFICATION_RECEIVED_PROXY" /> <!--Required 显示通知栏 -->
|
||||
<category android:name="${applicationId}" />
|
||||
@@ -300,14 +301,16 @@
|
||||
</receiver>
|
||||
|
||||
<!-- Required SDK核心功能-->
|
||||
<receiver android:name="cn.jpush.android.service.AlarmReceiver" android:exported="false"/>
|
||||
<receiver
|
||||
android:name="cn.jpush.android.service.AlarmReceiver"
|
||||
android:exported="false" />
|
||||
|
||||
|
||||
<!-- User defined. For test only 用户自定义的广播接收器-->
|
||||
<receiver
|
||||
android:name="com.android.colorfulos.jpush.MyReceiver"
|
||||
android:exported="false"
|
||||
android:enabled="true">
|
||||
android:name="com.aoleyun.os.jpush.MyReceiver"
|
||||
android:enabled="true"
|
||||
android:exported="false">
|
||||
<intent-filter>
|
||||
<action android:name="cn.jpush.android.intent.REGISTRATION" /> <!--Required 用户注册SDK的intent-->
|
||||
<action android:name="cn.jpush.android.intent.MESSAGE_RECEIVED" /> <!--Required 用户接收SDK消息的intent-->
|
||||
@@ -319,17 +322,16 @@
|
||||
</receiver>
|
||||
|
||||
|
||||
|
||||
<!-- User defined. For test only 用户自定义接收消息器,3.0.7开始支持,目前新tag/alias接口设置结果会在该广播接收器对应的方法中回调-->
|
||||
<!--since 3.3.0 接收JPush相关事件-->
|
||||
<receiver android:name="com.android.colorfulos.jpush.PushMessageReceiver">
|
||||
<receiver android:name="com.aoleyun.os.jpush.MyJPushMessageReceiver">
|
||||
<intent-filter>
|
||||
<action android:name="cn.jpush.android.intent.RECEIVE_MESSAGE" />
|
||||
<category android:name="${applicationId}"></category>
|
||||
<category android:name="${applicationId}" />
|
||||
</intent-filter>
|
||||
</receiver>
|
||||
<receiver
|
||||
android:name="com.android.colorfulos.receiver.InstallResultReceiver"
|
||||
android:name="com.aoleyun.os.receiver.InstallResultReceiver"
|
||||
android:enabled="true"
|
||||
android:exported="true" />
|
||||
|
||||
@@ -348,7 +350,8 @@
|
||||
<!-- since 3.3.0 Required SDK 核心功能-->
|
||||
<!-- 可配置android:process参数将PushService放在其他进程中 -->
|
||||
<!--User defined. For test only 继承自cn.jpush.android.service.JCommonService-->
|
||||
<service android:name="com.android.colorfulos.jpush.PushService"
|
||||
<service
|
||||
android:name="com.aoleyun.os.jpush.PushService"
|
||||
android:process=":pushcore">
|
||||
<intent-filter>
|
||||
<action android:name="cn.jiguang.user.service.action" />
|
||||
@@ -356,7 +359,11 @@
|
||||
</service>
|
||||
|
||||
<!-- Required . Enable it you can get statistics data with channel -->
|
||||
<meta-data android:name="JPUSH_CHANNEL" android:value="${JPUSH_CHANNEL}"/>
|
||||
<meta-data android:name="JPUSH_APPKEY" android:value="${JPUSH_APPKEY}" /> <!-- </>值来自开发者平台取得的AppKey-->
|
||||
<meta-data
|
||||
android:name="JPUSH_CHANNEL"
|
||||
android:value="${JPUSH_CHANNEL}" />
|
||||
<meta-data
|
||||
android:name="JPUSH_APPKEY"
|
||||
android:value="${JPUSH_APPKEY}" /> <!-- </>值来自开发者平台取得的AppKey-->
|
||||
</application>
|
||||
</manifest>
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.android.colorfulos">
|
||||
package="com.aoleyun.os">
|
||||
|
||||
<uses-sdk
|
||||
android:minSdkVersion="25"
|
||||
android:targetSdkVersion="29" />
|
||||
|
||||
<application
|
||||
android:name=".base.MyApplication"
|
||||
android:backupAgent=".LauncherBackupAgent"
|
||||
android:name="com.aoleyun.os.base.MyApplication"
|
||||
android:backupAgent="com.aoleyun.os.LauncherBackupAgent"
|
||||
android:extractNativeLibs="false"
|
||||
android:fullBackupContent="@xml/backupscheme"
|
||||
android:fullBackupOnly="true"
|
||||
@@ -20,7 +20,7 @@
|
||||
android:supportsRtl="true"
|
||||
android:theme="@style/AppTheme">
|
||||
<service
|
||||
android:name=".service.MainService"
|
||||
android:name="com.aoleyun.os.service.MainService"
|
||||
android:enabled="true"
|
||||
android:exported="true" />
|
||||
<!--
|
||||
@@ -28,10 +28,11 @@
|
||||
attributes and intent filters the same
|
||||
-->
|
||||
<activity
|
||||
android:name=".Launcher"
|
||||
android:name="com.aoleyun.os.Launcher"
|
||||
android:clearTaskOnLaunch="true"
|
||||
android:configChanges="keyboard|keyboardHidden|mcc|mnc|navigation|orientation|screenSize|screenLayout|smallestScreenSize"
|
||||
android:enabled="true"
|
||||
android:excludeFromRecents="true"
|
||||
android:launchMode="singleTask"
|
||||
android:resizeableActivity="true"
|
||||
android:resumeWhilePausing="true"
|
||||
@@ -49,7 +50,7 @@
|
||||
</intent-filter>
|
||||
|
||||
<meta-data
|
||||
android:name="com.android.colorfulos.grid.control"
|
||||
android:name="com.aoleyun.os.grid.control"
|
||||
android:value="${packageName}.grid_control" />
|
||||
</activity>
|
||||
</application>
|
||||
|
||||
@@ -19,12 +19,12 @@
|
||||
-->
|
||||
<manifest
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.android.colorfulos">
|
||||
package="com.aoleyun.os">
|
||||
|
||||
<application>
|
||||
|
||||
<activity
|
||||
android:name="com.android.colorfulos.SecondaryDisplayLauncher"
|
||||
android:name="com.aoleyun.os.SecondaryDisplayLauncher"
|
||||
android:theme="@style/SecondaryLauncherTheme"
|
||||
android:launchMode="singleTop"
|
||||
android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout|colorMode|density"
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.colorfulos;
|
||||
package com.aoleyun.os;
|
||||
|
||||
import android.content.ComponentName;
|
||||
import android.content.Intent;
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.colorfulos;
|
||||
package com.aoleyun.os;
|
||||
|
||||
import android.content.Context;
|
||||
import android.view.LayoutInflater;
|
||||
@@ -24,7 +24,7 @@ import android.widget.ArrayAdapter;
|
||||
import android.widget.ImageView;
|
||||
import android.widget.TextView;
|
||||
|
||||
import com.android.colorfulos.R;
|
||||
import com.aoleyun.os.R;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.colorfulos;
|
||||
package com.aoleyun.os;
|
||||
|
||||
import android.app.Application;
|
||||
import android.content.BroadcastReceiver;
|
||||
|
||||
@@ -14,9 +14,9 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.colorfulos;
|
||||
package com.aoleyun.os;
|
||||
|
||||
import static com.android.colorfulos.PinnedAppListViewModel.PINNED_APPS_KEY;
|
||||
import static com.aoleyun.os.PinnedAppListViewModel.PINNED_APPS_KEY;
|
||||
|
||||
import android.app.Application;
|
||||
import android.content.ComponentName;
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.colorfulos;
|
||||
package com.aoleyun.os;
|
||||
|
||||
import android.os.Bundle;
|
||||
import android.view.LayoutInflater;
|
||||
@@ -24,7 +24,7 @@ import android.widget.GridView;
|
||||
|
||||
import androidx.fragment.app.DialogFragment;
|
||||
|
||||
import com.android.colorfulos.R;
|
||||
import com.aoleyun.os.R;
|
||||
|
||||
/**
|
||||
* Callback to be invoked when an app was picked.
|
||||
|
||||
@@ -14,9 +14,9 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.colorfulos;
|
||||
package com.aoleyun.os;
|
||||
|
||||
import static com.android.colorfulos.PinnedAppListViewModel.PINNED_APPS_KEY;
|
||||
import static com.aoleyun.os.PinnedAppListViewModel.PINNED_APPS_KEY;
|
||||
|
||||
import android.animation.Animator;
|
||||
import android.animation.AnimatorListenerAdapter;
|
||||
|
||||
82
build.gradle
82
build.gradle
@@ -9,8 +9,16 @@ buildscript {
|
||||
}
|
||||
}
|
||||
|
||||
allprojects {
|
||||
gradle.projectsEvaluated {
|
||||
tasks.withType(JavaCompile) {
|
||||
options.compilerArgs.add('-Xbootclasspath/p:libs/framework.jar')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def appName() {
|
||||
return "colorfulos"
|
||||
return "奥乐云桌面"
|
||||
}
|
||||
|
||||
def releaseTime() {
|
||||
@@ -24,26 +32,41 @@ apply plugin: 'com.android.application'
|
||||
apply plugin: 'com.google.protobuf'
|
||||
|
||||
android {
|
||||
gradle.projectsEvaluated {
|
||||
tasks.withType(JavaCompile) {
|
||||
Set<File> fileSet = options.bootstrapClasspath.getFiles()
|
||||
List<File> newFileList = new ArrayList<>();
|
||||
//JAVA语法,可连续调用,输入参数建议为相对路径
|
||||
newFileList.add(new File("libs/framework.jar"))
|
||||
//最后将原始参数添加
|
||||
newFileList.addAll(fileSet)
|
||||
options.bootstrapClasspath = files(
|
||||
newFileList.toArray()
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
lintOptions {
|
||||
checkReleaseBuilds false
|
||||
abortOnError false
|
||||
}
|
||||
|
||||
compileSdkVersion COMPILE_SDK
|
||||
buildToolsVersion BUILD_TOOLS_VERSION
|
||||
|
||||
defaultConfig {
|
||||
minSdkVersion 26
|
||||
targetSdkVersion 28
|
||||
versionCode 2
|
||||
versionName "1.1"
|
||||
versionCode 6
|
||||
versionName "1.5"
|
||||
ndk {
|
||||
//选择要添加的对应 cpu 类型的 .so 库。
|
||||
abiFilters 'armeabi', 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64'
|
||||
// 还可以添加 'x86', 'x86_64', 'mips', 'mips64'
|
||||
}
|
||||
manifestPlaceholders = [
|
||||
JPUSH_PKGNAME: "com.android.colorfulos",
|
||||
JPUSH_APPKEY : "12db92240df0226d5e2f3b61", //JPush 上注册的包名对应的 Appkey.
|
||||
JPUSH_PKGNAME: "com.aoleyun.os",
|
||||
JPUSH_APPKEY : "0c7ba5a1622dba78d5bd00cc", //JPush 上注册的包名对应的 Appkey.
|
||||
JPUSH_CHANNEL: "developer-default", //暂时填写默认值即可.
|
||||
]
|
||||
|
||||
@@ -148,14 +171,14 @@ android {
|
||||
productFlavors {
|
||||
aosp {
|
||||
dimension "app"
|
||||
applicationId 'com.android.colorfulos'
|
||||
testApplicationId 'com.android.colorfulos.tests'
|
||||
applicationId 'com.aoleyun.os'
|
||||
testApplicationId 'com.aoleyun.os.tests'
|
||||
}
|
||||
|
||||
l3go {
|
||||
dimension "app"
|
||||
applicationId 'com.android.colorfulos'
|
||||
testApplicationId 'com.android.colorfulos.tests'
|
||||
applicationId 'com.aoleyun.os'
|
||||
testApplicationId 'com.aoleyun.os.tests'
|
||||
}
|
||||
|
||||
/*withQuickstep {
|
||||
@@ -250,6 +273,8 @@ repositories {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compileOnly files('libs/framework.jar')
|
||||
|
||||
implementation "androidx.dynamicanimation:dynamicanimation:${ANDROID_X_VERSION}"
|
||||
implementation "androidx.recyclerview:recyclerview:${ANDROID_X_VERSION}"
|
||||
implementation "androidx.preference:preference:${ANDROID_X_VERSION}"
|
||||
@@ -277,20 +302,45 @@ dependencies {
|
||||
androidTestImplementation "androidx.annotation:annotation:${ANDROID_X_VERSION}"
|
||||
|
||||
//RxJava和Retrofit
|
||||
implementation 'io.reactivex.rxjava2:rxjava:2.2.8'
|
||||
implementation 'io.reactivex.rxjava2:rxjava:2.2.12'
|
||||
implementation 'io.reactivex.rxjava2:rxandroid:2.1.1'
|
||||
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
|
||||
implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
|
||||
implementation 'com.squareup.retrofit2:adapter-rxjava2:2.4.0'
|
||||
|
||||
implementation 'com.squareup.retrofit2:adapter-rxjava2:2.5.0'
|
||||
//gson
|
||||
implementation 'com.google.code.gson:gson:2.8.7'
|
||||
|
||||
//mmkv
|
||||
implementation 'com.tencent:mmkv-static:1.2.10'
|
||||
//极光推送
|
||||
implementation 'cn.jiguang.sdk:jpush:3.8.6' // 此处以JPush 3.8.6 版本为例。
|
||||
implementation 'cn.jiguang.sdk:jcore:2.6.0' // 此处以JCore 2.6.0 版本为例。
|
||||
//下载
|
||||
implementation 'me.laoyuyu.aria:core:3.8.16'
|
||||
annotationProcessor 'me.laoyuyu.aria:compiler:3.8.16'
|
||||
//工具类
|
||||
implementation 'com.blankj:utilcodex:1.30.6'
|
||||
}
|
||||
|
||||
preBuild {
|
||||
doLast {
|
||||
def imlFile = file(project.name + ".iml")
|
||||
println 'Change ' + project.name + '.iml order'
|
||||
try {
|
||||
def parsedXml = (new XmlParser()).parse(imlFile)
|
||||
def jdkNode = parsedXml.component[1].orderEntry.find { it.'@type' == 'jdk' }
|
||||
parsedXml.component[1].remove(jdkNode)
|
||||
def sdkString = "Android API " + android.compileSdkVersion.substring("android-".length()) + " Platform"
|
||||
println 'what' + sdkString
|
||||
new Node(parsedXml.component[1], 'orderEntry', ['type': 'jdk', 'jdkName': sdkString, 'jdkType': 'Android SDK'])
|
||||
groovy.xml.XmlUtil.serialize(parsedXml, new FileOutputStream(imlFile))
|
||||
} catch (FileNotFoundException e) {
|
||||
// nop, iml not found
|
||||
println "no iml found"
|
||||
}
|
||||
}
|
||||
//https://www.pianshen.com/article/93481144911/
|
||||
//https://blog.csdn.net/dhl_1986/article/details/102856026
|
||||
//使用系统编译后的framework.jar
|
||||
}
|
||||
|
||||
protobuf {
|
||||
@@ -303,9 +353,9 @@ protobuf {
|
||||
task.builtins {
|
||||
remove java
|
||||
javanano {
|
||||
option "java_package=launcher_log_extension.proto|com.android.colorfulos.userevent.nano"
|
||||
option "java_package=launcher_log.proto|com.android.colorfulos.userevent.nano"
|
||||
option "java_package=launcher_dump.proto|com.android.colorfulos.model.nano"
|
||||
option "java_package=launcher_log_extension.proto|com.aoleyun.os.userevent.nano"
|
||||
option "java_package=launcher_log.proto|com.aoleyun.os.userevent.nano"
|
||||
option "java_package=launcher_dump.proto|com.aoleyun.os.model.nano"
|
||||
option "enum_style=java"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -20,12 +20,12 @@
|
||||
<manifest
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
package="com.android.colorfulos" >
|
||||
package="com.aoleyun.os" >
|
||||
|
||||
<uses-sdk android:targetSdkVersion="28" android:minSdkVersion="25"/>
|
||||
|
||||
<application
|
||||
android:backupAgent="com.android.colorfulos.LauncherBackupAgent"
|
||||
android:backupAgent="com.aoleyun.os.LauncherBackupAgent"
|
||||
android:fullBackupOnly="true"
|
||||
android:fullBackupContent="@xml/backupscheme"
|
||||
android:hardwareAccelerated="true"
|
||||
@@ -37,7 +37,7 @@
|
||||
android:supportsRtl="true" >
|
||||
|
||||
<!-- Activity for handling PinItemRequest is disabled on Android Go. -->
|
||||
<activity android:name="com.android.colorfulos.dragndrop.AddItemActivity"
|
||||
<activity android:name="com.aoleyun.os.dragndrop.AddItemActivity"
|
||||
android:theme="@android:style/Theme.DeviceDefault.Light.Dialog.Alert"
|
||||
android:excludeFromRecents="true"
|
||||
android:autoRemoveFromRecents="true"
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<!-- Class overrides for Go version of launcher with Go recents. -->
|
||||
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<string name="app_transition_manager_class" translatable="false">com.android.colorfulos.GoLauncherAppTransitionManagerImpl</string>
|
||||
<string name="app_transition_manager_class" translatable="false">com.aoleyun.os.GoLauncherAppTransitionManagerImpl</string>
|
||||
|
||||
<string name="instant_app_resolver_class" translatable="false">com.android.quickstep.InstantAppResolverImpl</string>
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package com.android.colorfulos;
|
||||
package com.aoleyun.os;
|
||||
|
||||
import static com.android.colorfulos.Utilities.postAsyncCallback;
|
||||
import static com.android.colorfulos.anim.Interpolators.AGGRESSIVE_EASE;
|
||||
import static com.android.colorfulos.anim.Interpolators.LINEAR;
|
||||
import static com.aoleyun.os.Utilities.postAsyncCallback;
|
||||
import static com.aoleyun.os.anim.Interpolators.AGGRESSIVE_EASE;
|
||||
import static com.aoleyun.os.anim.Interpolators.LINEAR;
|
||||
import static com.android.quickstep.TaskUtils.taskIsATargetWithMode;
|
||||
import static com.android.quickstep.views.IconRecentsView.CONTENT_ALPHA;
|
||||
import static com.android.systemui.shared.system.RemoteAnimationTargetCompat.MODE_OPENING;
|
||||
|
||||
@@ -13,9 +13,9 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.android.colorfulos;
|
||||
package com.aoleyun.os;
|
||||
|
||||
import static com.android.colorfulos.LauncherState.NORMAL;
|
||||
import static com.aoleyun.os.LauncherState.NORMAL;
|
||||
|
||||
import com.android.quickstep.RecentsToActivityHelper;
|
||||
|
||||
|
||||
@@ -14,19 +14,19 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.colorfulos.uioverrides;
|
||||
package com.aoleyun.os.uioverrides;
|
||||
|
||||
import com.android.colorfulos.DeviceProfile;
|
||||
import com.android.colorfulos.Launcher;
|
||||
import com.android.colorfulos.LauncherStateManager.StateHandler;
|
||||
import com.android.colorfulos.Utilities;
|
||||
import com.android.colorfulos.config.FeatureFlags;
|
||||
import com.android.colorfulos.graphics.RotationMode;
|
||||
import com.android.colorfulos.uioverrides.touchcontrollers.LandscapeEdgeSwipeController;
|
||||
import com.android.colorfulos.uioverrides.touchcontrollers.LandscapeStatesTouchController;
|
||||
import com.android.colorfulos.uioverrides.touchcontrollers.PortraitStatesTouchController;
|
||||
import com.android.colorfulos.uioverrides.touchcontrollers.StatusBarTouchController;
|
||||
import com.android.colorfulos.util.TouchController;
|
||||
import com.aoleyun.os.DeviceProfile;
|
||||
import com.aoleyun.os.Launcher;
|
||||
import com.aoleyun.os.LauncherStateManager.StateHandler;
|
||||
import com.aoleyun.os.Utilities;
|
||||
import com.aoleyun.os.config.FeatureFlags;
|
||||
import com.aoleyun.os.graphics.RotationMode;
|
||||
import com.aoleyun.os.uioverrides.touchcontrollers.LandscapeEdgeSwipeController;
|
||||
import com.aoleyun.os.uioverrides.touchcontrollers.LandscapeStatesTouchController;
|
||||
import com.aoleyun.os.uioverrides.touchcontrollers.PortraitStatesTouchController;
|
||||
import com.aoleyun.os.uioverrides.touchcontrollers.StatusBarTouchController;
|
||||
import com.aoleyun.os.util.TouchController;
|
||||
import com.android.quickstep.SysUINavigationMode;
|
||||
import com.android.quickstep.views.IconRecentsView;
|
||||
|
||||
|
||||
@@ -13,14 +13,14 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.android.colorfulos.uioverrides;
|
||||
package com.aoleyun.os.uioverrides;
|
||||
|
||||
import static com.android.quickstep.views.IconRecentsView.CONTENT_ALPHA;
|
||||
|
||||
import android.util.FloatProperty;
|
||||
|
||||
import com.android.colorfulos.Launcher;
|
||||
import com.android.colorfulos.LauncherRecentsToActivityHelper;
|
||||
import com.aoleyun.os.Launcher;
|
||||
import com.aoleyun.os.LauncherRecentsToActivityHelper;
|
||||
import com.android.quickstep.views.IconRecentsView;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
|
||||
@@ -14,32 +14,32 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.colorfulos.uioverrides.states;
|
||||
package com.aoleyun.os.uioverrides.states;
|
||||
|
||||
import static android.view.View.VISIBLE;
|
||||
|
||||
import static com.android.colorfulos.LauncherAnimUtils.OVERVIEW_TRANSITION_MS;
|
||||
import static com.android.colorfulos.LauncherAnimUtils.SCALE_PROPERTY;
|
||||
import static com.android.colorfulos.anim.AnimatorSetBuilder.ANIM_OVERVIEW_FADE;
|
||||
import static com.android.colorfulos.anim.AnimatorSetBuilder.ANIM_OVERVIEW_SCALE;
|
||||
import static com.android.colorfulos.anim.AnimatorSetBuilder.ANIM_OVERVIEW_TRANSLATE_X;
|
||||
import static com.android.colorfulos.anim.AnimatorSetBuilder.ANIM_WORKSPACE_FADE;
|
||||
import static com.android.colorfulos.anim.AnimatorSetBuilder.ANIM_WORKSPACE_SCALE;
|
||||
import static com.android.colorfulos.anim.AnimatorSetBuilder.ANIM_WORKSPACE_TRANSLATE;
|
||||
import static com.android.colorfulos.anim.Interpolators.ACCEL;
|
||||
import static com.android.colorfulos.anim.Interpolators.DEACCEL_2;
|
||||
import static com.android.colorfulos.anim.Interpolators.OVERSHOOT_1_2;
|
||||
import static com.android.colorfulos.anim.Interpolators.OVERSHOOT_1_7;
|
||||
import static com.android.colorfulos.states.RotationHelper.REQUEST_ROTATE;
|
||||
import static com.aoleyun.os.LauncherAnimUtils.OVERVIEW_TRANSITION_MS;
|
||||
import static com.aoleyun.os.LauncherAnimUtils.SCALE_PROPERTY;
|
||||
import static com.aoleyun.os.anim.AnimatorSetBuilder.ANIM_OVERVIEW_FADE;
|
||||
import static com.aoleyun.os.anim.AnimatorSetBuilder.ANIM_OVERVIEW_SCALE;
|
||||
import static com.aoleyun.os.anim.AnimatorSetBuilder.ANIM_OVERVIEW_TRANSLATE_X;
|
||||
import static com.aoleyun.os.anim.AnimatorSetBuilder.ANIM_WORKSPACE_FADE;
|
||||
import static com.aoleyun.os.anim.AnimatorSetBuilder.ANIM_WORKSPACE_SCALE;
|
||||
import static com.aoleyun.os.anim.AnimatorSetBuilder.ANIM_WORKSPACE_TRANSLATE;
|
||||
import static com.aoleyun.os.anim.Interpolators.ACCEL;
|
||||
import static com.aoleyun.os.anim.Interpolators.DEACCEL_2;
|
||||
import static com.aoleyun.os.anim.Interpolators.OVERSHOOT_1_2;
|
||||
import static com.aoleyun.os.anim.Interpolators.OVERSHOOT_1_7;
|
||||
import static com.aoleyun.os.states.RotationHelper.REQUEST_ROTATE;
|
||||
|
||||
import android.view.View;
|
||||
|
||||
import com.android.colorfulos.DeviceProfile;
|
||||
import com.android.colorfulos.Launcher;
|
||||
import com.android.colorfulos.LauncherState;
|
||||
import com.android.colorfulos.R;
|
||||
import com.android.colorfulos.anim.AnimatorSetBuilder;
|
||||
import com.android.colorfulos.userevent.nano.LauncherLogProto;
|
||||
import com.aoleyun.os.DeviceProfile;
|
||||
import com.aoleyun.os.Launcher;
|
||||
import com.aoleyun.os.LauncherState;
|
||||
import com.aoleyun.os.R;
|
||||
import com.aoleyun.os.anim.AnimatorSetBuilder;
|
||||
import com.aoleyun.os.userevent.nano.LauncherLogProto;
|
||||
import com.android.quickstep.SysUINavigationMode;
|
||||
import com.android.quickstep.views.IconRecentsView;
|
||||
|
||||
|
||||
@@ -13,17 +13,17 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.android.colorfulos.uioverrides.touchcontrollers;
|
||||
package com.aoleyun.os.uioverrides.touchcontrollers;
|
||||
|
||||
import static com.android.colorfulos.LauncherState.ALL_APPS;
|
||||
import static com.android.colorfulos.LauncherState.NORMAL;
|
||||
import static com.aoleyun.os.LauncherState.ALL_APPS;
|
||||
import static com.aoleyun.os.LauncherState.NORMAL;
|
||||
|
||||
import android.view.MotionEvent;
|
||||
|
||||
import com.android.colorfulos.AbstractFloatingView;
|
||||
import com.android.colorfulos.Launcher;
|
||||
import com.android.colorfulos.LauncherState;
|
||||
import com.android.colorfulos.userevent.nano.LauncherLogProto;
|
||||
import com.aoleyun.os.AbstractFloatingView;
|
||||
import com.aoleyun.os.Launcher;
|
||||
import com.aoleyun.os.LauncherState;
|
||||
import com.aoleyun.os.userevent.nano.LauncherLogProto;
|
||||
|
||||
/**
|
||||
* Touch controller for landscape mode.
|
||||
|
||||
@@ -14,12 +14,12 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.colorfulos.uioverrides.touchcontrollers;
|
||||
package com.aoleyun.os.uioverrides.touchcontrollers;
|
||||
|
||||
import android.view.MotionEvent;
|
||||
|
||||
import com.android.colorfulos.Launcher;
|
||||
import com.android.colorfulos.util.PendingAnimation;
|
||||
import com.aoleyun.os.Launcher;
|
||||
import com.aoleyun.os.util.PendingAnimation;
|
||||
|
||||
/**
|
||||
* Helper class for {@link PortraitStatesTouchController} that determines swipeable regions and
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
*/
|
||||
package com.android.quickstep;
|
||||
|
||||
import static com.android.colorfulos.Utilities.postAsyncCallback;
|
||||
import static com.android.colorfulos.anim.Interpolators.FAST_OUT_SLOW_IN;
|
||||
import static com.aoleyun.os.Utilities.postAsyncCallback;
|
||||
import static com.aoleyun.os.anim.Interpolators.FAST_OUT_SLOW_IN;
|
||||
import static com.android.quickstep.views.IconRecentsView.REMOTE_APP_TO_OVERVIEW_DURATION;
|
||||
import static com.android.systemui.shared.system.RemoteAnimationTargetCompat.ACTIVITY_TYPE_HOME;
|
||||
import static com.android.systemui.shared.system.RemoteAnimationTargetCompat.MODE_CLOSING;
|
||||
@@ -28,8 +28,8 @@ import android.app.ActivityOptions;
|
||||
import android.os.Handler;
|
||||
import android.util.Log;
|
||||
|
||||
import com.android.colorfulos.BaseDraggingActivity;
|
||||
import com.android.colorfulos.LauncherAnimationRunner;
|
||||
import com.aoleyun.os.BaseDraggingActivity;
|
||||
import com.aoleyun.os.LauncherAnimationRunner;
|
||||
import com.android.quickstep.util.RemoteAnimationProvider;
|
||||
import com.android.quickstep.util.RemoteAnimationTargetSet;
|
||||
import com.android.quickstep.views.IconRecentsView;
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
*/
|
||||
package com.android.quickstep;
|
||||
|
||||
import static com.android.colorfulos.anim.Interpolators.LINEAR;
|
||||
import static com.aoleyun.os.anim.Interpolators.LINEAR;
|
||||
import static com.android.quickstep.views.IconRecentsView.CONTENT_ALPHA;
|
||||
|
||||
import android.animation.AnimatorSet;
|
||||
@@ -24,8 +24,8 @@ import android.graphics.Rect;
|
||||
|
||||
import androidx.annotation.Nullable;
|
||||
|
||||
import com.android.colorfulos.anim.AnimatorPlaybackController;
|
||||
import com.android.colorfulos.userevent.nano.LauncherLogProto;
|
||||
import com.aoleyun.os.anim.AnimatorPlaybackController;
|
||||
import com.aoleyun.os.userevent.nano.LauncherLogProto;
|
||||
import com.android.quickstep.util.RemoteAnimationTargetSet;
|
||||
import com.android.quickstep.views.IconRecentsView;
|
||||
|
||||
|
||||
@@ -3,8 +3,8 @@ package com.android.quickstep;
|
||||
import android.content.Context;
|
||||
import android.graphics.Rect;
|
||||
|
||||
import com.android.colorfulos.BaseDraggingActivity;
|
||||
import com.android.colorfulos.DeviceProfile;
|
||||
import com.aoleyun.os.BaseDraggingActivity;
|
||||
import com.aoleyun.os.DeviceProfile;
|
||||
import com.android.systemui.shared.system.RemoteAnimationTargetCompat;
|
||||
|
||||
/**
|
||||
|
||||
@@ -25,7 +25,7 @@ import android.view.ViewGroup;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
|
||||
import com.android.colorfulos.R;
|
||||
import com.aoleyun.os.R;
|
||||
|
||||
public class IconRecentsFragment extends Fragment {
|
||||
@Nullable
|
||||
|
||||
@@ -16,14 +16,14 @@
|
||||
|
||||
package com.android.quickstep;
|
||||
|
||||
import static com.android.colorfulos.LauncherState.OVERVIEW;
|
||||
import static com.aoleyun.os.LauncherState.OVERVIEW;
|
||||
|
||||
import com.android.colorfulos.Launcher;
|
||||
import com.android.colorfulos.LauncherAppState;
|
||||
import com.android.colorfulos.LauncherInitListener;
|
||||
import com.android.colorfulos.LauncherState;
|
||||
import com.android.colorfulos.anim.AnimatorPlaybackController;
|
||||
import com.android.colorfulos.userevent.nano.LauncherLogProto;
|
||||
import com.aoleyun.os.Launcher;
|
||||
import com.aoleyun.os.LauncherAppState;
|
||||
import com.aoleyun.os.LauncherInitListener;
|
||||
import com.aoleyun.os.LauncherState;
|
||||
import com.aoleyun.os.anim.AnimatorPlaybackController;
|
||||
import com.aoleyun.os.userevent.nano.LauncherLogProto;
|
||||
import com.android.quickstep.views.IconRecentsView;
|
||||
|
||||
import java.util.function.BiPredicate;
|
||||
|
||||
@@ -24,10 +24,10 @@ import android.os.Build;
|
||||
import android.os.SystemClock;
|
||||
import android.view.ViewConfiguration;
|
||||
|
||||
import com.android.colorfulos.BaseDraggingActivity;
|
||||
import com.android.colorfulos.MainThreadExecutor;
|
||||
import com.android.colorfulos.logging.UserEventDispatcher;
|
||||
import com.android.colorfulos.userevent.nano.LauncherLogProto;
|
||||
import com.aoleyun.os.BaseDraggingActivity;
|
||||
import com.aoleyun.os.MainThreadExecutor;
|
||||
import com.aoleyun.os.logging.UserEventDispatcher;
|
||||
import com.aoleyun.os.userevent.nano.LauncherLogProto;
|
||||
import com.android.quickstep.ActivityControlHelper.ActivityInitListener;
|
||||
import com.android.quickstep.AppToOverviewAnimationProvider.AppToOverviewAnimationListener;
|
||||
import com.android.quickstep.views.IconRecentsView;
|
||||
|
||||
@@ -18,8 +18,8 @@ package com.android.quickstep;
|
||||
import android.app.ActivityOptions;
|
||||
import android.view.View;
|
||||
|
||||
import com.android.colorfulos.R;
|
||||
import com.android.colorfulos.views.BaseDragLayer;
|
||||
import com.aoleyun.os.R;
|
||||
import com.aoleyun.os.views.BaseDragLayer;
|
||||
import com.android.quickstep.fallback.GoRecentsActivityRootView;
|
||||
import com.android.quickstep.views.IconRecentsView;
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ import android.view.View;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
|
||||
import com.android.colorfulos.logging.StatsLogManager;
|
||||
import com.aoleyun.os.logging.StatsLogManager;
|
||||
import com.android.quickstep.views.TaskItemView;
|
||||
import com.android.systemui.shared.recents.model.Task;
|
||||
import com.android.systemui.shared.recents.model.Task.TaskKey;
|
||||
|
||||
@@ -25,7 +25,7 @@ import androidx.annotation.NonNull;
|
||||
import androidx.recyclerview.widget.RecyclerView.Adapter;
|
||||
import androidx.recyclerview.widget.RecyclerView.ViewHolder;
|
||||
|
||||
import com.android.colorfulos.R;
|
||||
import com.aoleyun.os.R;
|
||||
import com.android.quickstep.views.TaskItemView;
|
||||
import com.android.systemui.shared.recents.model.Task;
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ import android.graphics.drawable.Drawable;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
|
||||
import com.android.colorfulos.R;
|
||||
import com.aoleyun.os.R;
|
||||
import com.android.systemui.shared.recents.model.ThumbnailData;
|
||||
|
||||
/**
|
||||
|
||||
@@ -32,8 +32,8 @@ import android.os.RemoteException;
|
||||
import android.util.Log;
|
||||
import android.view.MotionEvent;
|
||||
|
||||
import com.android.colorfulos.Utilities;
|
||||
import com.android.colorfulos.compat.UserManagerCompat;
|
||||
import com.aoleyun.os.Utilities;
|
||||
import com.aoleyun.os.compat.UserManagerCompat;
|
||||
import com.android.systemui.shared.recents.IOverviewProxy;
|
||||
import com.android.systemui.shared.recents.ISystemUiProxy;
|
||||
|
||||
|
||||
@@ -21,8 +21,8 @@ import android.graphics.Rect;
|
||||
import android.util.AttributeSet;
|
||||
import android.view.WindowInsets;
|
||||
|
||||
import com.android.colorfulos.util.TouchController;
|
||||
import com.android.colorfulos.views.BaseDragLayer;
|
||||
import com.aoleyun.os.util.TouchController;
|
||||
import com.aoleyun.os.views.BaseDragLayer;
|
||||
import com.android.quickstep.RecentsActivity;
|
||||
|
||||
/**
|
||||
|
||||
@@ -19,7 +19,7 @@ import static android.content.res.Configuration.ORIENTATION_LANDSCAPE;
|
||||
|
||||
import static androidx.recyclerview.widget.LinearLayoutManager.VERTICAL;
|
||||
|
||||
import static com.android.colorfulos.anim.Interpolators.ACCEL_2;
|
||||
import static com.aoleyun.os.anim.Interpolators.ACCEL_2;
|
||||
import static com.android.quickstep.TaskAdapter.CHANGE_EVENT_TYPE_EMPTY_TO_CONTENT;
|
||||
import static com.android.quickstep.TaskAdapter.ITEM_TYPE_CLEAR_ALL;
|
||||
import static com.android.quickstep.TaskAdapter.ITEM_TYPE_TASK;
|
||||
@@ -60,10 +60,10 @@ import androidx.recyclerview.widget.RecyclerView.AdapterDataObserver;
|
||||
import androidx.recyclerview.widget.RecyclerView.ItemDecoration;
|
||||
import androidx.recyclerview.widget.RecyclerView.OnChildAttachStateChangeListener;
|
||||
|
||||
import com.android.colorfulos.BaseActivity;
|
||||
import com.android.colorfulos.Insettable;
|
||||
import com.android.colorfulos.R;
|
||||
import com.android.colorfulos.util.Themes;
|
||||
import com.aoleyun.os.BaseActivity;
|
||||
import com.aoleyun.os.Insettable;
|
||||
import com.aoleyun.os.R;
|
||||
import com.aoleyun.os.util.Themes;
|
||||
import com.android.quickstep.ContentFillItemAnimator;
|
||||
import com.android.quickstep.RecentsModel;
|
||||
import com.android.quickstep.RecentsToActivityHelper;
|
||||
|
||||
@@ -29,7 +29,7 @@ import android.widget.TextView;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
|
||||
import com.android.colorfulos.R;
|
||||
import com.aoleyun.os.R;
|
||||
import com.android.quickstep.ThumbnailDrawable;
|
||||
import com.android.systemui.shared.recents.model.ThumbnailData;
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ import android.graphics.drawable.LayerDrawable;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
|
||||
import com.android.colorfulos.R;
|
||||
import com.aoleyun.os.R;
|
||||
|
||||
/**
|
||||
* A layer drawable for task content that transitions between two drawables by crossfading. Similar
|
||||
|
||||
@@ -26,7 +26,7 @@ import android.view.Gravity;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
|
||||
import com.android.colorfulos.R;
|
||||
import com.aoleyun.os.R;
|
||||
|
||||
/**
|
||||
* Square view that holds thumbnail and icon and shrinks them appropriately so that both fit nicely
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.colorfulos.config;
|
||||
package com.aoleyun.os.config;
|
||||
|
||||
import android.content.Context;
|
||||
|
||||
|
||||
@@ -14,16 +14,16 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.colorfulos.model;
|
||||
package com.aoleyun.os.model;
|
||||
|
||||
import com.android.colorfulos.AllAppsList;
|
||||
import com.android.colorfulos.LauncherAppState;
|
||||
import com.android.colorfulos.LauncherModel.Callbacks;
|
||||
import com.aoleyun.os.AllAppsList;
|
||||
import com.aoleyun.os.LauncherAppState;
|
||||
import com.aoleyun.os.LauncherModel.Callbacks;
|
||||
|
||||
import java.lang.ref.WeakReference;
|
||||
|
||||
/**
|
||||
* Helper class to handle results of {@link com.android.colorfulos.model.LoaderTask}.
|
||||
* Helper class to handle results of {@link com.aoleyun.os.model.LoaderTask}.
|
||||
*/
|
||||
public class LoaderResults extends BaseLoaderResults {
|
||||
|
||||
|
||||
@@ -14,15 +14,15 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.colorfulos.model;
|
||||
package com.aoleyun.os.model;
|
||||
|
||||
import android.content.Context;
|
||||
import android.os.UserHandle;
|
||||
|
||||
import com.android.colorfulos.icons.ComponentWithLabel;
|
||||
import com.android.colorfulos.LauncherAppState;
|
||||
import com.android.colorfulos.util.PackageUserKey;
|
||||
import com.android.colorfulos.widget.WidgetListRowEntry;
|
||||
import com.aoleyun.os.icons.ComponentWithLabel;
|
||||
import com.aoleyun.os.LauncherAppState;
|
||||
import com.aoleyun.os.util.PackageUserKey;
|
||||
import com.aoleyun.os.widget.WidgetListRowEntry;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
@@ -43,9 +43,9 @@ public class WidgetsModel {
|
||||
* Returns a list of {@link WidgetListRowEntry}. All {@link WidgetItem} in a single row
|
||||
* are sorted (based on label and user), but the overall list of {@link WidgetListRowEntry}s
|
||||
* is not sorted. This list is sorted at the UI when using
|
||||
* {@link com.android.colorfulos.widget.WidgetsDiffReporter}
|
||||
* {@link com.aoleyun.os.widget.WidgetsDiffReporter}
|
||||
*
|
||||
* @see com.android.colorfulos.widget.WidgetsListAdapter#setWidgets(ArrayList)
|
||||
* @see com.aoleyun.os.widget.WidgetsListAdapter#setWidgets(ArrayList)
|
||||
*/
|
||||
public synchronized ArrayList<WidgetListRowEntry> getWidgetsList(Context context) {
|
||||
return EMPTY_WIDGET_LIST;
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.colorfulos.shortcuts;
|
||||
package com.aoleyun.os.shortcuts;
|
||||
|
||||
import android.content.ComponentName;
|
||||
import android.content.Context;
|
||||
@@ -24,7 +24,7 @@ import android.graphics.drawable.Drawable;
|
||||
import android.os.Bundle;
|
||||
import android.os.UserHandle;
|
||||
|
||||
import com.android.colorfulos.ItemInfo;
|
||||
import com.aoleyun.os.ItemInfo;
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
@@ -16,5 +16,5 @@
|
||||
-->
|
||||
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.android.colorfulos.icons">
|
||||
package="com.aoleyun.os.icons">
|
||||
</manifest>
|
||||
|
||||
@@ -17,6 +17,6 @@
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@color/legacy_icon_background"/>
|
||||
<foreground>
|
||||
<com.android.colorfulos.icons.FixedScaleDrawable />
|
||||
<com.aoleyun.os.icons.FixedScaleDrawable />
|
||||
</foreground>
|
||||
</adaptive-icon>
|
||||
|
||||
@@ -1,10 +1,8 @@
|
||||
package com.android.colorfulos.icons;
|
||||
package com.aoleyun.os.icons;
|
||||
|
||||
import static android.graphics.Paint.DITHER_FLAG;
|
||||
import static android.graphics.Paint.FILTER_BITMAP_FLAG;
|
||||
|
||||
import static com.android.colorfulos.icons.ShadowGenerator.BLUR_FACTOR;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.content.pm.PackageManager;
|
||||
@@ -22,6 +20,8 @@ import android.os.Build;
|
||||
import android.os.Process;
|
||||
import android.os.UserHandle;
|
||||
|
||||
import com.aoleyun.os.icons.R;
|
||||
|
||||
/**
|
||||
* This class will be moved to androidx library. There shouldn't be any dependency outside
|
||||
* this package.
|
||||
@@ -269,7 +269,7 @@ public class BaseIconFactory implements AutoCloseable {
|
||||
mOldBounds.set(icon.getBounds());
|
||||
|
||||
if (ATLEAST_OREO && icon instanceof AdaptiveIconDrawable) {
|
||||
int offset = Math.max((int) Math.ceil(BLUR_FACTOR * size),
|
||||
int offset = Math.max((int) Math.ceil(ShadowGenerator.BLUR_FACTOR * size),
|
||||
Math.round(size * (1 - scale) / 2 ));
|
||||
icon.setBounds(offset, offset, size - offset, size - offset);
|
||||
icon.draw(mCanvas);
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.android.colorfulos.icons;
|
||||
package com.aoleyun.os.icons;
|
||||
|
||||
import android.graphics.Bitmap;
|
||||
import android.graphics.Bitmap.Config;
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.android.colorfulos.icons;
|
||||
package com.aoleyun.os.icons;
|
||||
|
||||
import android.annotation.TargetApi;
|
||||
import android.graphics.Bitmap;
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.android.colorfulos.icons;
|
||||
package com.aoleyun.os.icons;
|
||||
|
||||
import android.graphics.Bitmap;
|
||||
import android.graphics.Color;
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.colorfulos.icons;
|
||||
package com.aoleyun.os.icons;
|
||||
|
||||
import static android.graphics.Paint.ANTI_ALIAS_FLAG;
|
||||
import static android.graphics.Paint.FILTER_BITMAP_FLAG;
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.android.colorfulos.icons;
|
||||
package com.aoleyun.os.icons;
|
||||
|
||||
import android.content.res.Resources;
|
||||
import android.content.res.Resources.Theme;
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.android.colorfulos.icons;
|
||||
package com.aoleyun.os.icons;
|
||||
|
||||
import android.graphics.Bitmap;
|
||||
import android.graphics.Rect;
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.colorfulos.icons;
|
||||
package com.aoleyun.os.icons;
|
||||
|
||||
import android.annotation.TargetApi;
|
||||
import android.content.Context;
|
||||
@@ -14,9 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.colorfulos.icons;
|
||||
|
||||
import static com.android.colorfulos.icons.GraphicsUtils.setColorAlphaBound;
|
||||
package com.aoleyun.os.icons;
|
||||
|
||||
import android.graphics.Bitmap;
|
||||
import android.graphics.Bitmap.Config;
|
||||
@@ -146,12 +144,12 @@ public class ShadowGenerator {
|
||||
|
||||
// Key shadow
|
||||
p.setShadowLayer(shadowBlur, 0, keyShadowDistance,
|
||||
setColorAlphaBound(Color.BLACK, keyShadowAlpha));
|
||||
GraphicsUtils.setColorAlphaBound(Color.BLACK, keyShadowAlpha));
|
||||
c.drawRoundRect(bounds, radius, radius, p);
|
||||
|
||||
// Ambient shadow
|
||||
p.setShadowLayer(shadowBlur, 0, 0,
|
||||
setColorAlphaBound(Color.BLACK, ambientShadowAlpha));
|
||||
GraphicsUtils.setColorAlphaBound(Color.BLACK, ambientShadowAlpha));
|
||||
c.drawRoundRect(bounds, radius, radius, p);
|
||||
|
||||
if (Color.alpha(color) < 255) {
|
||||
@@ -13,11 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.android.colorfulos.icons.cache;
|
||||
|
||||
import static com.android.colorfulos.icons.BaseIconFactory.getFullResDefaultActivityIcon;
|
||||
import static com.android.colorfulos.icons.BitmapInfo.LOW_RES_ICON;
|
||||
import static com.android.colorfulos.icons.GraphicsUtils.setColorAlphaBound;
|
||||
package com.aoleyun.os.icons.cache;
|
||||
|
||||
import android.content.ComponentName;
|
||||
import android.content.ContentValues;
|
||||
@@ -42,12 +38,12 @@ import android.os.UserHandle;
|
||||
import android.text.TextUtils;
|
||||
import android.util.Log;
|
||||
|
||||
import com.android.colorfulos.icons.BaseIconFactory;
|
||||
import com.android.colorfulos.icons.BitmapInfo;
|
||||
import com.android.colorfulos.icons.BitmapRenderer;
|
||||
import com.android.colorfulos.icons.GraphicsUtils;
|
||||
import com.android.colorfulos.util.ComponentKey;
|
||||
import com.android.colorfulos.util.SQLiteCacheHelper;
|
||||
import com.aoleyun.os.icons.BaseIconFactory;
|
||||
import com.aoleyun.os.icons.BitmapInfo;
|
||||
import com.aoleyun.os.icons.BitmapRenderer;
|
||||
import com.aoleyun.os.icons.GraphicsUtils;
|
||||
import com.aoleyun.os.util.ComponentKey;
|
||||
import com.aoleyun.os.util.SQLiteCacheHelper;
|
||||
|
||||
import java.util.AbstractMap;
|
||||
import java.util.Collections;
|
||||
@@ -162,14 +158,14 @@ public abstract class BaseIconCache {
|
||||
return resources.getDrawableForDensity(iconId, mIconDpi);
|
||||
} catch (Resources.NotFoundException e) { }
|
||||
}
|
||||
return getFullResDefaultActivityIcon(mIconDpi);
|
||||
return BaseIconFactory.getFullResDefaultActivityIcon(mIconDpi);
|
||||
}
|
||||
|
||||
public Drawable getFullResIcon(String packageName, int iconId) {
|
||||
try {
|
||||
return getFullResIcon(mPackageManager.getResourcesForApplication(packageName), iconId);
|
||||
} catch (PackageManager.NameNotFoundException e) { }
|
||||
return getFullResDefaultActivityIcon(mIconDpi);
|
||||
return BaseIconFactory.getFullResDefaultActivityIcon(mIconDpi);
|
||||
}
|
||||
|
||||
public Drawable getFullResIcon(ActivityInfo info) {
|
||||
@@ -177,7 +173,7 @@ public abstract class BaseIconCache {
|
||||
return getFullResIcon(mPackageManager.getResourcesForApplication(info.applicationInfo),
|
||||
info.getIconResource());
|
||||
} catch (PackageManager.NameNotFoundException e) { }
|
||||
return getFullResDefaultActivityIcon(mIconDpi);
|
||||
return BaseIconFactory.getFullResDefaultActivityIcon(mIconDpi);
|
||||
}
|
||||
|
||||
private BitmapInfo makeDefaultIcon(UserHandle user) {
|
||||
@@ -439,7 +435,7 @@ public abstract class BaseIconCache {
|
||||
|
||||
entry.title = appInfo.loadLabel(mPackageManager);
|
||||
entry.contentDescription = mPackageManager.getUserBadgedLabel(entry.title, user);
|
||||
entry.icon = useLowResIcon ? LOW_RES_ICON : iconInfo.icon;
|
||||
entry.icon = useLowResIcon ? BitmapInfo.LOW_RES_ICON : iconInfo.icon;
|
||||
entry.color = iconInfo.color;
|
||||
|
||||
// Add the icon in the DB here, since these do not get written during
|
||||
@@ -473,7 +469,7 @@ public abstract class BaseIconCache {
|
||||
Long.toString(getSerialNumberForUser(cacheKey.user))});
|
||||
if (c.moveToNext()) {
|
||||
// Set the alpha to be 255, so that we never have a wrong color
|
||||
entry.color = setColorAlphaBound(c.getInt(0), 255);
|
||||
entry.color = GraphicsUtils.setColorAlphaBound(c.getInt(0), 255);
|
||||
entry.title = c.getString(1);
|
||||
if (entry.title == null) {
|
||||
entry.title = "";
|
||||
@@ -484,7 +480,7 @@ public abstract class BaseIconCache {
|
||||
}
|
||||
|
||||
if (lowRes) {
|
||||
entry.icon = LOW_RES_ICON;
|
||||
entry.icon = BitmapInfo.LOW_RES_ICON;
|
||||
} else {
|
||||
byte[] data = c.getBlob(2);
|
||||
try {
|
||||
@@ -13,13 +13,13 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.android.colorfulos.icons.cache;
|
||||
package com.aoleyun.os.icons.cache;
|
||||
|
||||
import android.content.ComponentName;
|
||||
import android.content.Context;
|
||||
import android.os.UserHandle;
|
||||
|
||||
import com.android.colorfulos.icons.BitmapInfo;
|
||||
import com.aoleyun.os.icons.BitmapInfo;
|
||||
|
||||
public interface CachingLogic<T> {
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.android.colorfulos.icons.cache;
|
||||
package com.aoleyun.os.icons.cache;
|
||||
|
||||
import android.os.Handler;
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.android.colorfulos.icons.cache;
|
||||
package com.aoleyun.os.icons.cache;
|
||||
|
||||
import android.content.ComponentName;
|
||||
import android.content.pm.ApplicationInfo;
|
||||
@@ -27,7 +27,7 @@ import android.text.TextUtils;
|
||||
import android.util.Log;
|
||||
import android.util.SparseBooleanArray;
|
||||
|
||||
import com.android.colorfulos.icons.cache.BaseIconCache.IconDB;
|
||||
import com.aoleyun.os.icons.cache.BaseIconCache.IconDB;
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.HashMap;
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.android.colorfulos.util;
|
||||
package com.aoleyun.os.util;
|
||||
|
||||
/**
|
||||
* Copyright (C) 2015 The Android Open Source Project
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.colorfulos.util;
|
||||
package com.aoleyun.os.util;
|
||||
|
||||
import static android.database.sqlite.SQLiteDatabase.NO_LOCALIZED_COLLATORS;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.android.colorfulos.util;
|
||||
package com.aoleyun.os.util;
|
||||
|
||||
import android.content.ContentValues;
|
||||
import android.content.Context;
|
||||
@@ -14,10 +14,12 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.colorfulos.icons;
|
||||
package com.aoleyun.os.icons;
|
||||
|
||||
import android.content.Context;
|
||||
|
||||
import com.aoleyun.os.icons.R;
|
||||
|
||||
/**
|
||||
* Wrapper class to provide access to {@link BaseIconFactory} and also to provide pool of this class
|
||||
* that are threadsafe.
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.android.colorfulos.icons;
|
||||
package com.aoleyun.os.icons;
|
||||
|
||||
import static android.content.Intent.ACTION_MANAGED_PROFILE_ADDED;
|
||||
import static android.content.Intent.ACTION_MANAGED_PROFILE_REMOVED;
|
||||
@@ -32,7 +32,8 @@ import android.os.UserHandle;
|
||||
import android.os.UserManager;
|
||||
import android.util.SparseLongArray;
|
||||
|
||||
import com.android.colorfulos.icons.cache.BaseIconCache;
|
||||
import com.aoleyun.os.icons.R;
|
||||
import com.aoleyun.os.icons.cache.BaseIconCache;
|
||||
|
||||
/**
|
||||
* Wrapper class to provide access to {@link BaseIconFactory} and also to provide pool of this class
|
||||
BIN
libs/framework.jar
Normal file
BIN
libs/framework.jar
Normal file
Binary file not shown.
@@ -43,7 +43,7 @@ def adb_root_remount():
|
||||
def pull_file(fn):
|
||||
print "pull_file: " + fn
|
||||
rv = os.system("adb pull"
|
||||
+ " /data/data/com.android.colorfulos/databases/launcher.db"
|
||||
+ " /data/data/com.aoleyun.os/databases/launcher.db"
|
||||
+ " " + fn);
|
||||
if rv != 0:
|
||||
print "adb pull failed"
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
-keep,allowshrinking,allowoptimization class com.android.colorfulos.** {
|
||||
-keep,allowshrinking,allowoptimization class com.aoleyun.os.** {
|
||||
*;
|
||||
}
|
||||
|
||||
# Proguard will strip new callbacks in LauncherApps.Callback from
|
||||
# WrappedCallback if compiled against an older SDK. Don't let this happen.
|
||||
-keep class com.android.colorfulos.compat.** {
|
||||
-keep class com.aoleyun.os.compat.** {
|
||||
*;
|
||||
}
|
||||
|
||||
-keep class com.android.colorfulos.graphics.ShadowDrawable {
|
||||
-keep class com.aoleyun.os.graphics.ShadowDrawable {
|
||||
public <init>(...);
|
||||
}
|
||||
|
||||
@@ -29,19 +29,19 @@
|
||||
}
|
||||
|
||||
## Prevent obfuscating various overridable objects
|
||||
-keep class ** implements com.android.colorfulos.util.ResourceBasedOverride {
|
||||
-keep class ** implements com.aoleyun.os.util.ResourceBasedOverride {
|
||||
public <init>(...);
|
||||
}
|
||||
|
||||
-keep interface com.android.colorfulos.userevent.nano.LauncherLogProto.** {
|
||||
-keep interface com.aoleyun.os.userevent.nano.LauncherLogProto.** {
|
||||
*;
|
||||
}
|
||||
-keep interface com.android.colorfulos.model.nano.LauncherDumpProto.** {
|
||||
-keep interface com.aoleyun.os.model.nano.LauncherDumpProto.** {
|
||||
*;
|
||||
}
|
||||
|
||||
# Discovery bounce animation
|
||||
-keep class com.android.colorfulos.allapps.DiscoveryBounce$VerticalProgressWrapper {
|
||||
-keep class com.aoleyun.os.allapps.DiscoveryBounce$VerticalProgressWrapper {
|
||||
public void setProgress(float);
|
||||
public float getProgress();
|
||||
}
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
*/
|
||||
syntax = "proto2";
|
||||
|
||||
option java_package = "com.android.colorfulos.userevent";
|
||||
option java_package = "com.aoleyun.os.userevent";
|
||||
option java_outer_classname = "LauncherLogExtensions";
|
||||
|
||||
package userevent;
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
*/
|
||||
syntax = "proto2";
|
||||
|
||||
option java_package = "com.android.colorfulos.model";
|
||||
option java_package = "com.aoleyun.os.model";
|
||||
option java_outer_classname = "LauncherDumpProto";
|
||||
|
||||
package model;
|
||||
|
||||
@@ -17,7 +17,7 @@ syntax = "proto2";
|
||||
|
||||
import "launcher_log_extension.proto";
|
||||
|
||||
option java_package = "com.android.colorfulos.userevent";
|
||||
option java_package = "com.aoleyun.os.userevent";
|
||||
option java_outer_classname = "LauncherLogProto";
|
||||
|
||||
package userevent;
|
||||
|
||||
@@ -20,12 +20,12 @@
|
||||
<manifest
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
package="com.android.colorfulos" >
|
||||
package="com.aoleyun.os" >
|
||||
|
||||
<uses-permission android:name="android.permission.CONTROL_REMOTE_APP_TRANSITION_ANIMATIONS" />
|
||||
|
||||
<application
|
||||
android:backupAgent="com.android.colorfulos.LauncherBackupAgent"
|
||||
android:backupAgent="com.aoleyun.os.LauncherBackupAgent"
|
||||
android:fullBackupOnly="true"
|
||||
android:fullBackupContent="@xml/backupscheme"
|
||||
android:hardwareAccelerated="true"
|
||||
@@ -74,11 +74,11 @@
|
||||
</provider>
|
||||
|
||||
<service
|
||||
android:name="com.android.colorfulos.uioverrides.dynamicui.WallpaperManagerCompatVL$ColorExtractionService"
|
||||
android:name="com.aoleyun.os.uioverrides.dynamicui.WallpaperManagerCompatVL$ColorExtractionService"
|
||||
tools:node="remove" />
|
||||
|
||||
<activity
|
||||
android:name="com.android.colorfulos.proxy.ProxyActivityStarter"
|
||||
android:name="com.aoleyun.os.proxy.ProxyActivityStarter"
|
||||
android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen"
|
||||
android:launchMode="singleTask"
|
||||
android:clearTaskOnLaunch="true"
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<merge xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<com.android.colorfulos.appprediction.PredictionRowView
|
||||
<com.aoleyun.os.appprediction.PredictionRowView
|
||||
android:id="@+id/prediction_row"
|
||||
android:accessibilityPaneTitle="@string/title_app_suggestions"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
<com.android.colorfulos.appprediction.AppsDividerView
|
||||
<com.aoleyun.os.appprediction.AppsDividerView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/apps_divider_view" />
|
||||
|
||||
@@ -17,11 +17,11 @@
|
||||
<!-- Class overrides for launcher with quickstep. -->
|
||||
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<string name="app_transition_manager_class" translatable="false">com.android.colorfulos.LauncherAppTransitionManagerImpl</string>
|
||||
<string name="app_transition_manager_class" translatable="false">com.aoleyun.os.LauncherAppTransitionManagerImpl</string>
|
||||
|
||||
<string name="instant_app_resolver_class" translatable="false">com.android.quickstep.InstantAppResolverImpl</string>
|
||||
|
||||
<string name="app_launch_tracker_class" translatable="false">com.android.colorfulos.appprediction.PredictionAppTracker</string>
|
||||
<string name="app_launch_tracker_class" translatable="false">com.aoleyun.os.appprediction.PredictionAppTracker</string>
|
||||
|
||||
<string name="main_process_initializer_class" translatable="false">com.android.quickstep.QuickstepProcessInitializer</string>
|
||||
</resources>
|
||||
|
||||
@@ -14,13 +14,13 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.colorfulos;
|
||||
package com.aoleyun.os;
|
||||
|
||||
import static com.android.colorfulos.LauncherAnimUtils.VIEW_TRANSLATE_X;
|
||||
import static com.android.colorfulos.LauncherState.NORMAL;
|
||||
import static com.android.colorfulos.allapps.AllAppsTransitionController.ALL_APPS_PROGRESS;
|
||||
import static com.android.colorfulos.anim.Interpolators.AGGRESSIVE_EASE;
|
||||
import static com.android.colorfulos.anim.Interpolators.LINEAR;
|
||||
import static com.aoleyun.os.LauncherAnimUtils.VIEW_TRANSLATE_X;
|
||||
import static com.aoleyun.os.LauncherState.NORMAL;
|
||||
import static com.aoleyun.os.allapps.AllAppsTransitionController.ALL_APPS_PROGRESS;
|
||||
import static com.aoleyun.os.anim.Interpolators.AGGRESSIVE_EASE;
|
||||
import static com.aoleyun.os.anim.Interpolators.LINEAR;
|
||||
import static com.android.quickstep.TaskViewUtils.findTaskViewToLaunch;
|
||||
import static com.android.quickstep.TaskViewUtils.getRecentsWindowAnimator;
|
||||
|
||||
@@ -38,10 +38,10 @@ import android.view.View;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
|
||||
import com.android.colorfulos.allapps.AllAppsTransitionController;
|
||||
import com.android.colorfulos.anim.AnimatorPlaybackController;
|
||||
import com.android.colorfulos.anim.Interpolators;
|
||||
import com.android.colorfulos.anim.SpringObjectAnimator;
|
||||
import com.aoleyun.os.allapps.AllAppsTransitionController;
|
||||
import com.aoleyun.os.anim.AnimatorPlaybackController;
|
||||
import com.aoleyun.os.anim.Interpolators;
|
||||
import com.aoleyun.os.anim.SpringObjectAnimator;
|
||||
import com.android.quickstep.util.ClipAnimationHelper;
|
||||
import com.android.quickstep.views.RecentsView;
|
||||
import com.android.quickstep.views.TaskView;
|
||||
|
||||
@@ -13,10 +13,10 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.android.colorfulos;
|
||||
package com.aoleyun.os;
|
||||
|
||||
import com.android.colorfulos.appprediction.PredictionUiStateManager;
|
||||
import com.android.colorfulos.appprediction.PredictionUiStateManager.Client;
|
||||
import com.aoleyun.os.appprediction.PredictionUiStateManager;
|
||||
import com.aoleyun.os.appprediction.PredictionUiStateManager.Client;
|
||||
|
||||
import java.util.function.BiPredicate;
|
||||
|
||||
|
||||
@@ -14,9 +14,9 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.colorfulos.appprediction;
|
||||
package com.aoleyun.os.appprediction;
|
||||
|
||||
import static com.android.colorfulos.LauncherState.ALL_APPS;
|
||||
import static com.aoleyun.os.LauncherState.ALL_APPS;
|
||||
import static com.android.quickstep.logging.UserEventDispatcherExtension.ALL_APPS_PREDICTION_TIPS;
|
||||
|
||||
import android.content.Context;
|
||||
@@ -33,17 +33,17 @@ import android.view.ViewGroup;
|
||||
import android.widget.LinearLayout;
|
||||
import android.widget.TextView;
|
||||
|
||||
import com.android.colorfulos.AbstractFloatingView;
|
||||
import com.android.colorfulos.Launcher;
|
||||
import com.android.colorfulos.LauncherState;
|
||||
import com.android.colorfulos.LauncherStateManager;
|
||||
import com.android.colorfulos.R;
|
||||
import com.android.colorfulos.Utilities;
|
||||
import com.android.colorfulos.allapps.FloatingHeaderView;
|
||||
import com.android.colorfulos.anim.Interpolators;
|
||||
import com.android.colorfulos.compat.UserManagerCompat;
|
||||
import com.android.colorfulos.dragndrop.DragLayer;
|
||||
import com.android.colorfulos.graphics.TriangleShape;
|
||||
import com.aoleyun.os.AbstractFloatingView;
|
||||
import com.aoleyun.os.Launcher;
|
||||
import com.aoleyun.os.LauncherState;
|
||||
import com.aoleyun.os.LauncherStateManager;
|
||||
import com.aoleyun.os.R;
|
||||
import com.aoleyun.os.Utilities;
|
||||
import com.aoleyun.os.allapps.FloatingHeaderView;
|
||||
import com.aoleyun.os.anim.Interpolators;
|
||||
import com.aoleyun.os.compat.UserManagerCompat;
|
||||
import com.aoleyun.os.dragndrop.DragLayer;
|
||||
import com.aoleyun.os.graphics.TriangleShape;
|
||||
import com.android.systemui.shared.system.LauncherEventUtil;
|
||||
|
||||
import androidx.core.content.ContextCompat;
|
||||
|
||||
@@ -14,9 +14,9 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.colorfulos.appprediction;
|
||||
package com.aoleyun.os.appprediction;
|
||||
|
||||
import static com.android.colorfulos.LauncherState.ALL_APPS;
|
||||
import static com.aoleyun.os.LauncherState.ALL_APPS;
|
||||
|
||||
import android.annotation.TargetApi;
|
||||
import android.content.Context;
|
||||
@@ -31,15 +31,15 @@ import android.util.AttributeSet;
|
||||
import android.view.View;
|
||||
import android.view.animation.Interpolator;
|
||||
|
||||
import com.android.colorfulos.DeviceProfile;
|
||||
import com.android.colorfulos.Launcher;
|
||||
import com.android.colorfulos.LauncherState;
|
||||
import com.android.colorfulos.LauncherStateManager;
|
||||
import com.android.colorfulos.R;
|
||||
import com.android.colorfulos.allapps.FloatingHeaderRow;
|
||||
import com.android.colorfulos.allapps.FloatingHeaderView;
|
||||
import com.android.colorfulos.anim.PropertySetter;
|
||||
import com.android.colorfulos.util.Themes;
|
||||
import com.aoleyun.os.DeviceProfile;
|
||||
import com.aoleyun.os.Launcher;
|
||||
import com.aoleyun.os.LauncherState;
|
||||
import com.aoleyun.os.LauncherStateManager;
|
||||
import com.aoleyun.os.R;
|
||||
import com.aoleyun.os.allapps.FloatingHeaderRow;
|
||||
import com.aoleyun.os.allapps.FloatingHeaderView;
|
||||
import com.aoleyun.os.anim.PropertySetter;
|
||||
import com.aoleyun.os.util.Themes;
|
||||
|
||||
import androidx.annotation.ColorInt;
|
||||
import androidx.core.content.ContextCompat;
|
||||
|
||||
@@ -14,17 +14,17 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.colorfulos.appprediction;
|
||||
package com.aoleyun.os.appprediction;
|
||||
|
||||
import static com.android.quickstep.InstantAppResolverImpl.COMPONENT_CLASS_MARKER;
|
||||
|
||||
import android.content.Context;
|
||||
|
||||
import com.android.colorfulos.AppInfo;
|
||||
import com.android.colorfulos.ItemInfoWithIcon;
|
||||
import com.android.colorfulos.allapps.AllAppsStore;
|
||||
import com.android.colorfulos.shortcuts.ShortcutKey;
|
||||
import com.android.colorfulos.util.ComponentKey;
|
||||
import com.aoleyun.os.AppInfo;
|
||||
import com.aoleyun.os.ItemInfoWithIcon;
|
||||
import com.aoleyun.os.allapps.AllAppsStore;
|
||||
import com.aoleyun.os.shortcuts.ShortcutKey;
|
||||
import com.aoleyun.os.util.ComponentKey;
|
||||
|
||||
public class ComponentKeyMapper {
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.android.colorfulos.appprediction;
|
||||
package com.aoleyun.os.appprediction;
|
||||
|
||||
import static android.content.pm.PackageManager.MATCH_INSTANT;
|
||||
|
||||
@@ -30,14 +30,14 @@ import android.os.Message;
|
||||
import android.util.ArrayMap;
|
||||
import android.util.Log;
|
||||
|
||||
import com.android.colorfulos.LauncherAppState;
|
||||
import com.android.colorfulos.LauncherModel;
|
||||
import com.android.colorfulos.WorkspaceItemInfo;
|
||||
import com.android.colorfulos.icons.IconCache;
|
||||
import com.android.colorfulos.icons.LauncherIcons;
|
||||
import com.android.colorfulos.shortcuts.DeepShortcutManager;
|
||||
import com.android.colorfulos.shortcuts.ShortcutKey;
|
||||
import com.android.colorfulos.util.InstantAppResolver;
|
||||
import com.aoleyun.os.LauncherAppState;
|
||||
import com.aoleyun.os.LauncherModel;
|
||||
import com.aoleyun.os.WorkspaceItemInfo;
|
||||
import com.aoleyun.os.icons.IconCache;
|
||||
import com.aoleyun.os.icons.LauncherIcons;
|
||||
import com.aoleyun.os.shortcuts.DeepShortcutManager;
|
||||
import com.aoleyun.os.shortcuts.ShortcutKey;
|
||||
import com.aoleyun.os.util.InstantAppResolver;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
|
||||
@@ -14,16 +14,16 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.colorfulos.appprediction;
|
||||
package com.aoleyun.os.appprediction;
|
||||
|
||||
import static com.android.quickstep.InstantAppResolverImpl.COMPONENT_CLASS_MARKER;
|
||||
|
||||
import android.content.ComponentName;
|
||||
import android.content.Intent;
|
||||
|
||||
import com.android.colorfulos.AppInfo;
|
||||
import com.android.colorfulos.LauncherSettings;
|
||||
import com.android.colorfulos.WorkspaceItemInfo;
|
||||
import com.aoleyun.os.AppInfo;
|
||||
import com.aoleyun.os.LauncherSettings;
|
||||
import com.aoleyun.os.WorkspaceItemInfo;
|
||||
|
||||
public class InstantAppItemInfo extends AppInfo {
|
||||
|
||||
|
||||
@@ -13,9 +13,9 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.android.colorfulos.appprediction;
|
||||
package com.aoleyun.os.appprediction;
|
||||
|
||||
import static com.android.colorfulos.InvariantDeviceProfile.CHANGE_FLAG_GRID;
|
||||
import static com.aoleyun.os.InvariantDeviceProfile.CHANGE_FLAG_GRID;
|
||||
|
||||
import android.annotation.TargetApi;
|
||||
import android.app.prediction.AppPredictionContext;
|
||||
@@ -34,10 +34,10 @@ import android.os.UserHandle;
|
||||
import android.util.Log;
|
||||
|
||||
import androidx.annotation.Nullable;
|
||||
import com.android.colorfulos.InvariantDeviceProfile;
|
||||
import com.android.colorfulos.appprediction.PredictionUiStateManager.Client;
|
||||
import com.android.colorfulos.model.AppLaunchTracker;
|
||||
import com.android.colorfulos.util.UiThreadHelper;
|
||||
import com.aoleyun.os.InvariantDeviceProfile;
|
||||
import com.aoleyun.os.appprediction.PredictionUiStateManager.Client;
|
||||
import com.aoleyun.os.model.AppLaunchTracker;
|
||||
import com.aoleyun.os.util.UiThreadHelper;
|
||||
|
||||
import androidx.annotation.UiThread;
|
||||
import androidx.annotation.WorkerThread;
|
||||
|
||||
@@ -14,10 +14,10 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.colorfulos.appprediction;
|
||||
package com.aoleyun.os.appprediction;
|
||||
|
||||
import static com.android.colorfulos.anim.Interpolators.LINEAR;
|
||||
import static com.android.colorfulos.icons.GraphicsUtils.setColorAlphaBound;
|
||||
import static com.aoleyun.os.anim.Interpolators.LINEAR;
|
||||
import static com.aoleyun.os.icons.GraphicsUtils.setColorAlphaBound;
|
||||
|
||||
import android.annotation.TargetApi;
|
||||
import android.content.Context;
|
||||
@@ -32,30 +32,30 @@ import android.view.View;
|
||||
import android.view.animation.Interpolator;
|
||||
import android.widget.LinearLayout;
|
||||
|
||||
import com.android.colorfulos.AppInfo;
|
||||
import com.android.colorfulos.BubbleTextView;
|
||||
import com.android.colorfulos.DeviceProfile;
|
||||
import com.android.colorfulos.DeviceProfile.OnDeviceProfileChangeListener;
|
||||
import com.android.colorfulos.ItemInfo;
|
||||
import com.android.colorfulos.ItemInfoWithIcon;
|
||||
import com.android.colorfulos.Launcher;
|
||||
import com.android.colorfulos.LauncherAppState;
|
||||
import com.android.colorfulos.R;
|
||||
import com.android.colorfulos.WorkspaceItemInfo;
|
||||
import com.android.colorfulos.allapps.AllAppsStore;
|
||||
import com.android.colorfulos.allapps.FloatingHeaderRow;
|
||||
import com.android.colorfulos.allapps.FloatingHeaderView;
|
||||
import com.android.colorfulos.anim.AlphaUpdateListener;
|
||||
import com.android.colorfulos.anim.PropertySetter;
|
||||
import com.android.colorfulos.config.FeatureFlags;
|
||||
import com.android.colorfulos.keyboard.FocusIndicatorHelper;
|
||||
import com.android.colorfulos.keyboard.FocusIndicatorHelper.SimpleFocusIndicatorHelper;
|
||||
import com.android.colorfulos.logging.StatsLogUtils.LogContainerProvider;
|
||||
import com.android.colorfulos.model.AppLaunchTracker;
|
||||
import com.android.colorfulos.touch.ItemClickHandler;
|
||||
import com.android.colorfulos.touch.ItemLongClickListener;
|
||||
import com.android.colorfulos.userevent.nano.LauncherLogProto;
|
||||
import com.android.colorfulos.util.Themes;
|
||||
import com.aoleyun.os.AppInfo;
|
||||
import com.aoleyun.os.BubbleTextView;
|
||||
import com.aoleyun.os.DeviceProfile;
|
||||
import com.aoleyun.os.DeviceProfile.OnDeviceProfileChangeListener;
|
||||
import com.aoleyun.os.ItemInfo;
|
||||
import com.aoleyun.os.ItemInfoWithIcon;
|
||||
import com.aoleyun.os.Launcher;
|
||||
import com.aoleyun.os.LauncherAppState;
|
||||
import com.aoleyun.os.R;
|
||||
import com.aoleyun.os.WorkspaceItemInfo;
|
||||
import com.aoleyun.os.allapps.AllAppsStore;
|
||||
import com.aoleyun.os.allapps.FloatingHeaderRow;
|
||||
import com.aoleyun.os.allapps.FloatingHeaderView;
|
||||
import com.aoleyun.os.anim.AlphaUpdateListener;
|
||||
import com.aoleyun.os.anim.PropertySetter;
|
||||
import com.aoleyun.os.config.FeatureFlags;
|
||||
import com.aoleyun.os.keyboard.FocusIndicatorHelper;
|
||||
import com.aoleyun.os.keyboard.FocusIndicatorHelper.SimpleFocusIndicatorHelper;
|
||||
import com.aoleyun.os.logging.StatsLogUtils.LogContainerProvider;
|
||||
import com.aoleyun.os.model.AppLaunchTracker;
|
||||
import com.aoleyun.os.touch.ItemClickHandler;
|
||||
import com.aoleyun.os.touch.ItemLongClickListener;
|
||||
import com.aoleyun.os.userevent.nano.LauncherLogProto;
|
||||
import com.aoleyun.os.util.Themes;
|
||||
import com.android.quickstep.AnimatedFloat;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
@@ -14,10 +14,10 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.colorfulos.appprediction;
|
||||
package com.aoleyun.os.appprediction;
|
||||
|
||||
import static com.android.colorfulos.LauncherState.BACKGROUND_APP;
|
||||
import static com.android.colorfulos.LauncherState.OVERVIEW;
|
||||
import static com.aoleyun.os.LauncherState.BACKGROUND_APP;
|
||||
import static com.aoleyun.os.LauncherState.OVERVIEW;
|
||||
import static com.android.quickstep.InstantAppResolverImpl.COMPONENT_CLASS_MARKER;
|
||||
|
||||
import android.app.prediction.AppPredictor;
|
||||
@@ -26,20 +26,20 @@ import android.content.ComponentName;
|
||||
import android.content.Context;
|
||||
import android.view.ViewTreeObserver.OnGlobalLayoutListener;
|
||||
|
||||
import com.android.colorfulos.AppInfo;
|
||||
import com.android.colorfulos.InvariantDeviceProfile;
|
||||
import com.android.colorfulos.InvariantDeviceProfile.OnIDPChangeListener;
|
||||
import com.android.colorfulos.ItemInfoWithIcon;
|
||||
import com.android.colorfulos.Launcher;
|
||||
import com.android.colorfulos.LauncherAppState;
|
||||
import com.android.colorfulos.Utilities;
|
||||
import com.android.colorfulos.allapps.AllAppsContainerView;
|
||||
import com.android.colorfulos.allapps.AllAppsStore.OnUpdateListener;
|
||||
import com.android.colorfulos.icons.IconCache;
|
||||
import com.android.colorfulos.icons.IconCache.ItemInfoUpdateReceiver;
|
||||
import com.android.colorfulos.shortcuts.ShortcutKey;
|
||||
import com.android.colorfulos.util.ComponentKey;
|
||||
import com.android.colorfulos.util.MainThreadInitializedObject;
|
||||
import com.aoleyun.os.AppInfo;
|
||||
import com.aoleyun.os.InvariantDeviceProfile;
|
||||
import com.aoleyun.os.InvariantDeviceProfile.OnIDPChangeListener;
|
||||
import com.aoleyun.os.ItemInfoWithIcon;
|
||||
import com.aoleyun.os.Launcher;
|
||||
import com.aoleyun.os.LauncherAppState;
|
||||
import com.aoleyun.os.Utilities;
|
||||
import com.aoleyun.os.allapps.AllAppsContainerView;
|
||||
import com.aoleyun.os.allapps.AllAppsStore.OnUpdateListener;
|
||||
import com.aoleyun.os.icons.IconCache;
|
||||
import com.aoleyun.os.icons.IconCache.ItemInfoUpdateReceiver;
|
||||
import com.aoleyun.os.shortcuts.ShortcutKey;
|
||||
import com.aoleyun.os.util.ComponentKey;
|
||||
import com.aoleyun.os.util.MainThreadInitializedObject;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
|
||||
@@ -14,36 +14,36 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.colorfulos.uioverrides;
|
||||
package com.aoleyun.os.uioverrides;
|
||||
|
||||
import static com.android.colorfulos.LauncherState.NORMAL;
|
||||
import static com.android.colorfulos.LauncherState.OVERVIEW;
|
||||
import static com.aoleyun.os.LauncherState.NORMAL;
|
||||
import static com.aoleyun.os.LauncherState.OVERVIEW;
|
||||
import static com.android.quickstep.SysUINavigationMode.Mode.NO_BUTTON;
|
||||
|
||||
import android.content.Context;
|
||||
import android.graphics.Rect;
|
||||
import android.view.Gravity;
|
||||
|
||||
import com.android.colorfulos.DeviceProfile;
|
||||
import com.android.colorfulos.Launcher;
|
||||
import com.android.colorfulos.LauncherState;
|
||||
import com.android.colorfulos.LauncherStateManager.StateHandler;
|
||||
import com.android.colorfulos.Utilities;
|
||||
import com.android.colorfulos.anim.AnimatorPlaybackController;
|
||||
import com.android.colorfulos.config.FeatureFlags;
|
||||
import com.android.colorfulos.graphics.RotationMode;
|
||||
import com.android.colorfulos.uioverrides.touchcontrollers.FlingAndHoldTouchController;
|
||||
import com.android.colorfulos.uioverrides.touchcontrollers.LandscapeEdgeSwipeController;
|
||||
import com.android.colorfulos.uioverrides.touchcontrollers.NavBarToHomeTouchController;
|
||||
import com.android.colorfulos.uioverrides.touchcontrollers.OverviewToAllAppsTouchController;
|
||||
import com.android.colorfulos.uioverrides.touchcontrollers.PortraitStatesTouchController;
|
||||
import com.android.colorfulos.uioverrides.touchcontrollers.StatusBarTouchController;
|
||||
import com.android.colorfulos.uioverrides.touchcontrollers.QuickSwitchTouchController;
|
||||
import com.android.colorfulos.uioverrides.touchcontrollers.TaskViewTouchController;
|
||||
import com.android.colorfulos.uioverrides.touchcontrollers.TransposedQuickSwitchTouchController;
|
||||
import com.android.colorfulos.util.TouchController;
|
||||
import com.android.colorfulos.util.UiThreadHelper;
|
||||
import com.android.colorfulos.util.UiThreadHelper.AsyncCommand;
|
||||
import com.aoleyun.os.DeviceProfile;
|
||||
import com.aoleyun.os.Launcher;
|
||||
import com.aoleyun.os.LauncherState;
|
||||
import com.aoleyun.os.LauncherStateManager.StateHandler;
|
||||
import com.aoleyun.os.Utilities;
|
||||
import com.aoleyun.os.anim.AnimatorPlaybackController;
|
||||
import com.aoleyun.os.config.FeatureFlags;
|
||||
import com.aoleyun.os.graphics.RotationMode;
|
||||
import com.aoleyun.os.uioverrides.touchcontrollers.FlingAndHoldTouchController;
|
||||
import com.aoleyun.os.uioverrides.touchcontrollers.LandscapeEdgeSwipeController;
|
||||
import com.aoleyun.os.uioverrides.touchcontrollers.NavBarToHomeTouchController;
|
||||
import com.aoleyun.os.uioverrides.touchcontrollers.OverviewToAllAppsTouchController;
|
||||
import com.aoleyun.os.uioverrides.touchcontrollers.PortraitStatesTouchController;
|
||||
import com.aoleyun.os.uioverrides.touchcontrollers.StatusBarTouchController;
|
||||
import com.aoleyun.os.uioverrides.touchcontrollers.QuickSwitchTouchController;
|
||||
import com.aoleyun.os.uioverrides.touchcontrollers.TaskViewTouchController;
|
||||
import com.aoleyun.os.uioverrides.touchcontrollers.TransposedQuickSwitchTouchController;
|
||||
import com.aoleyun.os.util.TouchController;
|
||||
import com.aoleyun.os.util.UiThreadHelper;
|
||||
import com.aoleyun.os.util.UiThreadHelper.AsyncCommand;
|
||||
import com.android.quickstep.SysUINavigationMode;
|
||||
import com.android.quickstep.SysUINavigationMode.Mode;
|
||||
import com.android.quickstep.TouchInteractionService;
|
||||
|
||||
@@ -13,10 +13,10 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.android.colorfulos.uioverrides;
|
||||
package com.aoleyun.os.uioverrides;
|
||||
|
||||
import static com.android.colorfulos.LauncherState.RECENTS_CLEAR_ALL_BUTTON;
|
||||
import static com.android.colorfulos.anim.Interpolators.LINEAR;
|
||||
import static com.aoleyun.os.LauncherState.RECENTS_CLEAR_ALL_BUTTON;
|
||||
import static com.aoleyun.os.anim.Interpolators.LINEAR;
|
||||
import static com.android.quickstep.views.RecentsView.CONTENT_ALPHA;
|
||||
import static com.android.quickstep.views.RecentsView.FULLSCREEN_PROGRESS;
|
||||
|
||||
@@ -27,11 +27,11 @@ import android.util.FloatProperty;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
|
||||
import com.android.colorfulos.Launcher;
|
||||
import com.android.colorfulos.LauncherState;
|
||||
import com.android.colorfulos.LauncherStateManager.AnimationConfig;
|
||||
import com.android.colorfulos.anim.AnimatorSetBuilder;
|
||||
import com.android.colorfulos.anim.PropertySetter;
|
||||
import com.aoleyun.os.Launcher;
|
||||
import com.aoleyun.os.LauncherState;
|
||||
import com.aoleyun.os.LauncherStateManager.AnimationConfig;
|
||||
import com.aoleyun.os.anim.AnimatorSetBuilder;
|
||||
import com.aoleyun.os.anim.PropertySetter;
|
||||
import com.android.quickstep.views.ClearAllButton;
|
||||
import com.android.quickstep.views.LauncherRecentsView;
|
||||
import com.android.quickstep.views.RecentsView;
|
||||
|
||||
@@ -13,14 +13,14 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.android.colorfulos.uioverrides.states;
|
||||
package com.aoleyun.os.uioverrides.states;
|
||||
|
||||
import static com.android.colorfulos.LauncherAnimUtils.OVERVIEW_TRANSITION_MS;
|
||||
import static com.aoleyun.os.LauncherAnimUtils.OVERVIEW_TRANSITION_MS;
|
||||
|
||||
import com.android.colorfulos.AbstractFloatingView;
|
||||
import com.android.colorfulos.Launcher;
|
||||
import com.android.colorfulos.allapps.AllAppsTransitionController;
|
||||
import com.android.colorfulos.userevent.nano.LauncherLogProto;
|
||||
import com.aoleyun.os.AbstractFloatingView;
|
||||
import com.aoleyun.os.Launcher;
|
||||
import com.aoleyun.os.allapps.AllAppsTransitionController;
|
||||
import com.aoleyun.os.userevent.nano.LauncherLogProto;
|
||||
import com.android.quickstep.util.LayoutUtils;
|
||||
import com.android.quickstep.views.RecentsView;
|
||||
import com.android.quickstep.views.TaskView;
|
||||
|
||||
@@ -13,16 +13,16 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.android.colorfulos.uioverrides.states;
|
||||
import static com.android.colorfulos.anim.AnimatorSetBuilder.ANIM_OVERVIEW_FADE;
|
||||
import static com.android.colorfulos.anim.AnimatorSetBuilder.ANIM_OVERVIEW_TRANSLATE_X;
|
||||
import static com.android.colorfulos.anim.Interpolators.INSTANT;
|
||||
import static com.android.colorfulos.anim.Interpolators.OVERSHOOT_1_7;
|
||||
package com.aoleyun.os.uioverrides.states;
|
||||
import static com.aoleyun.os.anim.AnimatorSetBuilder.ANIM_OVERVIEW_FADE;
|
||||
import static com.aoleyun.os.anim.AnimatorSetBuilder.ANIM_OVERVIEW_TRANSLATE_X;
|
||||
import static com.aoleyun.os.anim.Interpolators.INSTANT;
|
||||
import static com.aoleyun.os.anim.Interpolators.OVERSHOOT_1_7;
|
||||
|
||||
import com.android.colorfulos.Launcher;
|
||||
import com.android.colorfulos.LauncherState;
|
||||
import com.android.colorfulos.R;
|
||||
import com.android.colorfulos.anim.AnimatorSetBuilder;
|
||||
import com.aoleyun.os.Launcher;
|
||||
import com.aoleyun.os.LauncherState;
|
||||
import com.aoleyun.os.R;
|
||||
import com.aoleyun.os.anim.AnimatorSetBuilder;
|
||||
|
||||
public class OverviewPeekState extends OverviewState {
|
||||
public OverviewPeekState(int id) {
|
||||
|
||||
@@ -13,39 +13,39 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.android.colorfulos.uioverrides.states;
|
||||
package com.aoleyun.os.uioverrides.states;
|
||||
|
||||
import static android.view.View.VISIBLE;
|
||||
|
||||
import static com.android.colorfulos.LauncherAnimUtils.OVERVIEW_TRANSITION_MS;
|
||||
import static com.android.colorfulos.LauncherAnimUtils.SCALE_PROPERTY;
|
||||
import static com.android.colorfulos.anim.AnimatorSetBuilder.ANIM_OVERVIEW_FADE;
|
||||
import static com.android.colorfulos.anim.AnimatorSetBuilder.ANIM_OVERVIEW_SCALE;
|
||||
import static com.android.colorfulos.anim.AnimatorSetBuilder.ANIM_OVERVIEW_TRANSLATE_X;
|
||||
import static com.android.colorfulos.anim.AnimatorSetBuilder.ANIM_WORKSPACE_FADE;
|
||||
import static com.android.colorfulos.anim.AnimatorSetBuilder.ANIM_WORKSPACE_SCALE;
|
||||
import static com.android.colorfulos.anim.AnimatorSetBuilder.ANIM_WORKSPACE_TRANSLATE;
|
||||
import static com.android.colorfulos.anim.Interpolators.ACCEL;
|
||||
import static com.android.colorfulos.anim.Interpolators.DEACCEL_2;
|
||||
import static com.android.colorfulos.anim.Interpolators.OVERSHOOT_1_2;
|
||||
import static com.android.colorfulos.anim.Interpolators.OVERSHOOT_1_7;
|
||||
import static com.android.colorfulos.logging.LoggerUtils.newContainerTarget;
|
||||
import static com.android.colorfulos.states.RotationHelper.REQUEST_ROTATE;
|
||||
import static com.aoleyun.os.LauncherAnimUtils.OVERVIEW_TRANSITION_MS;
|
||||
import static com.aoleyun.os.LauncherAnimUtils.SCALE_PROPERTY;
|
||||
import static com.aoleyun.os.anim.AnimatorSetBuilder.ANIM_OVERVIEW_FADE;
|
||||
import static com.aoleyun.os.anim.AnimatorSetBuilder.ANIM_OVERVIEW_SCALE;
|
||||
import static com.aoleyun.os.anim.AnimatorSetBuilder.ANIM_OVERVIEW_TRANSLATE_X;
|
||||
import static com.aoleyun.os.anim.AnimatorSetBuilder.ANIM_WORKSPACE_FADE;
|
||||
import static com.aoleyun.os.anim.AnimatorSetBuilder.ANIM_WORKSPACE_SCALE;
|
||||
import static com.aoleyun.os.anim.AnimatorSetBuilder.ANIM_WORKSPACE_TRANSLATE;
|
||||
import static com.aoleyun.os.anim.Interpolators.ACCEL;
|
||||
import static com.aoleyun.os.anim.Interpolators.DEACCEL_2;
|
||||
import static com.aoleyun.os.anim.Interpolators.OVERSHOOT_1_2;
|
||||
import static com.aoleyun.os.anim.Interpolators.OVERSHOOT_1_7;
|
||||
import static com.aoleyun.os.logging.LoggerUtils.newContainerTarget;
|
||||
import static com.aoleyun.os.states.RotationHelper.REQUEST_ROTATE;
|
||||
|
||||
import android.graphics.Rect;
|
||||
import android.view.View;
|
||||
|
||||
import com.android.colorfulos.AbstractFloatingView;
|
||||
import com.android.colorfulos.DeviceProfile;
|
||||
import com.android.colorfulos.Launcher;
|
||||
import com.android.colorfulos.LauncherState;
|
||||
import com.android.colorfulos.R;
|
||||
import com.android.colorfulos.Workspace;
|
||||
import com.android.colorfulos.allapps.DiscoveryBounce;
|
||||
import com.android.colorfulos.anim.AnimatorSetBuilder;
|
||||
import com.android.colorfulos.uioverrides.UiFactory;
|
||||
import com.android.colorfulos.userevent.nano.LauncherLogProto.Action;
|
||||
import com.android.colorfulos.userevent.nano.LauncherLogProto.ContainerType;
|
||||
import com.aoleyun.os.AbstractFloatingView;
|
||||
import com.aoleyun.os.DeviceProfile;
|
||||
import com.aoleyun.os.Launcher;
|
||||
import com.aoleyun.os.LauncherState;
|
||||
import com.aoleyun.os.R;
|
||||
import com.aoleyun.os.Workspace;
|
||||
import com.aoleyun.os.allapps.DiscoveryBounce;
|
||||
import com.aoleyun.os.anim.AnimatorSetBuilder;
|
||||
import com.aoleyun.os.uioverrides.UiFactory;
|
||||
import com.aoleyun.os.userevent.nano.LauncherLogProto.Action;
|
||||
import com.aoleyun.os.userevent.nano.LauncherLogProto.ContainerType;
|
||||
import com.android.quickstep.SysUINavigationMode;
|
||||
import com.android.quickstep.views.RecentsView;
|
||||
import com.android.quickstep.views.TaskView;
|
||||
|
||||
@@ -13,13 +13,13 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.android.colorfulos.uioverrides.states;
|
||||
package com.aoleyun.os.uioverrides.states;
|
||||
|
||||
import android.os.Handler;
|
||||
import android.os.Looper;
|
||||
|
||||
import com.android.colorfulos.Launcher;
|
||||
import com.android.colorfulos.userevent.nano.LauncherLogProto;
|
||||
import com.aoleyun.os.Launcher;
|
||||
import com.aoleyun.os.userevent.nano.LauncherLogProto;
|
||||
import com.android.quickstep.views.RecentsView;
|
||||
import com.android.quickstep.views.TaskView;
|
||||
|
||||
|
||||
@@ -14,23 +14,23 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.colorfulos.uioverrides.touchcontrollers;
|
||||
package com.aoleyun.os.uioverrides.touchcontrollers;
|
||||
|
||||
import static com.android.colorfulos.LauncherState.ALL_APPS;
|
||||
import static com.android.colorfulos.LauncherState.HOTSEAT_ICONS;
|
||||
import static com.android.colorfulos.LauncherState.NORMAL;
|
||||
import static com.android.colorfulos.LauncherState.OVERVIEW;
|
||||
import static com.android.colorfulos.LauncherState.OVERVIEW_PEEK;
|
||||
import static com.android.colorfulos.LauncherStateManager.ANIM_ALL;
|
||||
import static com.android.colorfulos.LauncherStateManager.ATOMIC_OVERVIEW_PEEK_COMPONENT;
|
||||
import static com.android.colorfulos.anim.AnimatorSetBuilder.ANIM_HOTSEAT_SCALE;
|
||||
import static com.android.colorfulos.anim.AnimatorSetBuilder.ANIM_HOTSEAT_TRANSLATE;
|
||||
import static com.android.colorfulos.anim.AnimatorSetBuilder.ANIM_VERTICAL_PROGRESS;
|
||||
import static com.android.colorfulos.anim.AnimatorSetBuilder.ANIM_WORKSPACE_FADE;
|
||||
import static com.android.colorfulos.anim.AnimatorSetBuilder.ANIM_WORKSPACE_SCALE;
|
||||
import static com.android.colorfulos.anim.AnimatorSetBuilder.ANIM_WORKSPACE_TRANSLATE;
|
||||
import static com.android.colorfulos.anim.Interpolators.DEACCEL_3;
|
||||
import static com.android.colorfulos.anim.Interpolators.OVERSHOOT_1_2;
|
||||
import static com.aoleyun.os.LauncherState.ALL_APPS;
|
||||
import static com.aoleyun.os.LauncherState.HOTSEAT_ICONS;
|
||||
import static com.aoleyun.os.LauncherState.NORMAL;
|
||||
import static com.aoleyun.os.LauncherState.OVERVIEW;
|
||||
import static com.aoleyun.os.LauncherState.OVERVIEW_PEEK;
|
||||
import static com.aoleyun.os.LauncherStateManager.ANIM_ALL;
|
||||
import static com.aoleyun.os.LauncherStateManager.ATOMIC_OVERVIEW_PEEK_COMPONENT;
|
||||
import static com.aoleyun.os.anim.AnimatorSetBuilder.ANIM_HOTSEAT_SCALE;
|
||||
import static com.aoleyun.os.anim.AnimatorSetBuilder.ANIM_HOTSEAT_TRANSLATE;
|
||||
import static com.aoleyun.os.anim.AnimatorSetBuilder.ANIM_VERTICAL_PROGRESS;
|
||||
import static com.aoleyun.os.anim.AnimatorSetBuilder.ANIM_WORKSPACE_FADE;
|
||||
import static com.aoleyun.os.anim.AnimatorSetBuilder.ANIM_WORKSPACE_SCALE;
|
||||
import static com.aoleyun.os.anim.AnimatorSetBuilder.ANIM_WORKSPACE_TRANSLATE;
|
||||
import static com.aoleyun.os.anim.Interpolators.DEACCEL_3;
|
||||
import static com.aoleyun.os.anim.Interpolators.OVERSHOOT_1_2;
|
||||
import static com.android.systemui.shared.system.QuickStepContract.SYSUI_STATE_OVERVIEW_DISABLED;
|
||||
|
||||
import android.animation.Animator;
|
||||
@@ -40,10 +40,10 @@ import android.view.HapticFeedbackConstants;
|
||||
import android.view.MotionEvent;
|
||||
import android.view.ViewConfiguration;
|
||||
|
||||
import com.android.colorfulos.Launcher;
|
||||
import com.android.colorfulos.LauncherState;
|
||||
import com.android.colorfulos.anim.AnimatorSetBuilder;
|
||||
import com.android.colorfulos.userevent.nano.LauncherLogProto.Action.Touch;
|
||||
import com.aoleyun.os.Launcher;
|
||||
import com.aoleyun.os.LauncherState;
|
||||
import com.aoleyun.os.anim.AnimatorSetBuilder;
|
||||
import com.aoleyun.os.userevent.nano.LauncherLogProto.Action.Touch;
|
||||
import com.android.quickstep.OverviewInteractionState;
|
||||
import com.android.quickstep.util.MotionPauseDetector;
|
||||
import com.android.quickstep.views.RecentsView;
|
||||
|
||||
@@ -13,16 +13,16 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.android.colorfulos.uioverrides.touchcontrollers;
|
||||
package com.aoleyun.os.uioverrides.touchcontrollers;
|
||||
|
||||
import static android.view.View.TRANSLATION_X;
|
||||
|
||||
import static com.android.colorfulos.LauncherState.ALL_APPS;
|
||||
import static com.android.colorfulos.LauncherState.NORMAL;
|
||||
import static com.android.colorfulos.LauncherState.OVERVIEW;
|
||||
import static com.android.colorfulos.allapps.AllAppsTransitionController.ALL_APPS_PROGRESS;
|
||||
import static com.android.colorfulos.anim.Interpolators.DEACCEL_3;
|
||||
import static com.android.colorfulos.touch.AbstractStateChangeTouchController.SUCCESS_TRANSITION_PROGRESS;
|
||||
import static com.aoleyun.os.LauncherState.ALL_APPS;
|
||||
import static com.aoleyun.os.LauncherState.NORMAL;
|
||||
import static com.aoleyun.os.LauncherState.OVERVIEW;
|
||||
import static com.aoleyun.os.allapps.AllAppsTransitionController.ALL_APPS_PROGRESS;
|
||||
import static com.aoleyun.os.anim.Interpolators.DEACCEL_3;
|
||||
import static com.aoleyun.os.touch.AbstractStateChangeTouchController.SUCCESS_TRANSITION_PROGRESS;
|
||||
|
||||
import android.animation.Animator;
|
||||
import android.animation.AnimatorSet;
|
||||
@@ -31,22 +31,22 @@ import android.animation.ValueAnimator;
|
||||
import android.view.MotionEvent;
|
||||
import android.view.animation.Interpolator;
|
||||
|
||||
import com.android.colorfulos.AbstractFloatingView;
|
||||
import com.android.colorfulos.Launcher;
|
||||
import com.android.colorfulos.LauncherState;
|
||||
import com.android.colorfulos.LauncherStateManager.AnimationConfig;
|
||||
import com.android.colorfulos.R;
|
||||
import com.android.colorfulos.Utilities;
|
||||
import com.android.colorfulos.allapps.AllAppsTransitionController;
|
||||
import com.android.colorfulos.anim.AnimationSuccessListener;
|
||||
import com.android.colorfulos.anim.AnimatorPlaybackController;
|
||||
import com.android.colorfulos.anim.AnimatorSetBuilder;
|
||||
import com.android.colorfulos.anim.Interpolators;
|
||||
import com.android.colorfulos.compat.AccessibilityManagerCompat;
|
||||
import com.android.colorfulos.touch.SwipeDetector;
|
||||
import com.android.colorfulos.userevent.nano.LauncherLogProto;
|
||||
import com.android.colorfulos.userevent.nano.LauncherLogProto.Action.Touch;
|
||||
import com.android.colorfulos.util.TouchController;
|
||||
import com.aoleyun.os.AbstractFloatingView;
|
||||
import com.aoleyun.os.Launcher;
|
||||
import com.aoleyun.os.LauncherState;
|
||||
import com.aoleyun.os.LauncherStateManager.AnimationConfig;
|
||||
import com.aoleyun.os.R;
|
||||
import com.aoleyun.os.Utilities;
|
||||
import com.aoleyun.os.allapps.AllAppsTransitionController;
|
||||
import com.aoleyun.os.anim.AnimationSuccessListener;
|
||||
import com.aoleyun.os.anim.AnimatorPlaybackController;
|
||||
import com.aoleyun.os.anim.AnimatorSetBuilder;
|
||||
import com.aoleyun.os.anim.Interpolators;
|
||||
import com.aoleyun.os.compat.AccessibilityManagerCompat;
|
||||
import com.aoleyun.os.touch.SwipeDetector;
|
||||
import com.aoleyun.os.userevent.nano.LauncherLogProto;
|
||||
import com.aoleyun.os.userevent.nano.LauncherLogProto.Action.Touch;
|
||||
import com.aoleyun.os.util.TouchController;
|
||||
import com.android.quickstep.views.RecentsView;
|
||||
|
||||
/**
|
||||
|
||||
@@ -13,19 +13,19 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.android.colorfulos.uioverrides.touchcontrollers;
|
||||
package com.aoleyun.os.uioverrides.touchcontrollers;
|
||||
|
||||
import static com.android.colorfulos.LauncherState.ALL_APPS;
|
||||
import static com.android.colorfulos.LauncherState.NORMAL;
|
||||
import static com.android.colorfulos.LauncherState.OVERVIEW;
|
||||
import static com.aoleyun.os.LauncherState.ALL_APPS;
|
||||
import static com.aoleyun.os.LauncherState.NORMAL;
|
||||
import static com.aoleyun.os.LauncherState.OVERVIEW;
|
||||
|
||||
import android.view.MotionEvent;
|
||||
|
||||
import com.android.colorfulos.AbstractFloatingView;
|
||||
import com.android.colorfulos.Launcher;
|
||||
import com.android.colorfulos.LauncherState;
|
||||
import com.android.colorfulos.Utilities;
|
||||
import com.android.colorfulos.userevent.nano.LauncherLogProto;
|
||||
import com.aoleyun.os.AbstractFloatingView;
|
||||
import com.aoleyun.os.Launcher;
|
||||
import com.aoleyun.os.LauncherState;
|
||||
import com.aoleyun.os.Utilities;
|
||||
import com.aoleyun.os.userevent.nano.LauncherLogProto;
|
||||
import com.android.quickstep.TouchInteractionService;
|
||||
import com.android.quickstep.views.RecentsView;
|
||||
|
||||
|
||||
@@ -14,14 +14,14 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.android.colorfulos.uioverrides.touchcontrollers;
|
||||
package com.aoleyun.os.uioverrides.touchcontrollers;
|
||||
|
||||
import static com.android.colorfulos.uioverrides.touchcontrollers.PortraitStatesTouchController.isTouchOverHotseat;
|
||||
import static com.aoleyun.os.uioverrides.touchcontrollers.PortraitStatesTouchController.isTouchOverHotseat;
|
||||
|
||||
import android.view.MotionEvent;
|
||||
|
||||
import com.android.colorfulos.Launcher;
|
||||
import com.android.colorfulos.util.PendingAnimation;
|
||||
import com.aoleyun.os.Launcher;
|
||||
import com.aoleyun.os.util.PendingAnimation;
|
||||
import com.android.quickstep.views.RecentsView;
|
||||
import com.android.quickstep.views.TaskView;
|
||||
|
||||
|
||||
@@ -13,22 +13,22 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.android.colorfulos.uioverrides.touchcontrollers;
|
||||
package com.aoleyun.os.uioverrides.touchcontrollers;
|
||||
|
||||
import static com.android.colorfulos.LauncherState.NORMAL;
|
||||
import static com.android.colorfulos.LauncherState.QUICK_SWITCH;
|
||||
import static com.android.colorfulos.anim.AnimatorSetBuilder.ANIM_ALL_APPS_FADE;
|
||||
import static com.android.colorfulos.anim.AnimatorSetBuilder.ANIM_OVERVIEW_FADE;
|
||||
import static com.android.colorfulos.anim.AnimatorSetBuilder.ANIM_OVERVIEW_SCALE;
|
||||
import static com.android.colorfulos.anim.AnimatorSetBuilder.ANIM_OVERVIEW_TRANSLATE_Y;
|
||||
import static com.android.colorfulos.anim.AnimatorSetBuilder.ANIM_VERTICAL_PROGRESS;
|
||||
import static com.android.colorfulos.anim.AnimatorSetBuilder.ANIM_WORKSPACE_FADE;
|
||||
import static com.android.colorfulos.anim.AnimatorSetBuilder.ANIM_WORKSPACE_TRANSLATE;
|
||||
import static com.android.colorfulos.anim.Interpolators.ACCEL_2;
|
||||
import static com.android.colorfulos.anim.Interpolators.DEACCEL_2;
|
||||
import static com.android.colorfulos.anim.Interpolators.INSTANT;
|
||||
import static com.android.colorfulos.anim.Interpolators.LINEAR;
|
||||
import static com.android.colorfulos.util.SystemUiController.UI_STATE_OVERVIEW;
|
||||
import static com.aoleyun.os.LauncherState.NORMAL;
|
||||
import static com.aoleyun.os.LauncherState.QUICK_SWITCH;
|
||||
import static com.aoleyun.os.anim.AnimatorSetBuilder.ANIM_ALL_APPS_FADE;
|
||||
import static com.aoleyun.os.anim.AnimatorSetBuilder.ANIM_OVERVIEW_FADE;
|
||||
import static com.aoleyun.os.anim.AnimatorSetBuilder.ANIM_OVERVIEW_SCALE;
|
||||
import static com.aoleyun.os.anim.AnimatorSetBuilder.ANIM_OVERVIEW_TRANSLATE_Y;
|
||||
import static com.aoleyun.os.anim.AnimatorSetBuilder.ANIM_VERTICAL_PROGRESS;
|
||||
import static com.aoleyun.os.anim.AnimatorSetBuilder.ANIM_WORKSPACE_FADE;
|
||||
import static com.aoleyun.os.anim.AnimatorSetBuilder.ANIM_WORKSPACE_TRANSLATE;
|
||||
import static com.aoleyun.os.anim.Interpolators.ACCEL_2;
|
||||
import static com.aoleyun.os.anim.Interpolators.DEACCEL_2;
|
||||
import static com.aoleyun.os.anim.Interpolators.INSTANT;
|
||||
import static com.aoleyun.os.anim.Interpolators.LINEAR;
|
||||
import static com.aoleyun.os.util.SystemUiController.UI_STATE_OVERVIEW;
|
||||
import static com.android.quickstep.views.RecentsView.UPDATE_SYSUI_FLAGS_THRESHOLD;
|
||||
import static com.android.systemui.shared.system.QuickStepContract.SYSUI_STATE_OVERVIEW_DISABLED;
|
||||
|
||||
@@ -36,15 +36,15 @@ import android.view.MotionEvent;
|
||||
|
||||
import androidx.annotation.Nullable;
|
||||
|
||||
import com.android.colorfulos.Launcher;
|
||||
import com.android.colorfulos.LauncherState;
|
||||
import com.android.colorfulos.LauncherStateManager;
|
||||
import com.android.colorfulos.Utilities;
|
||||
import com.android.colorfulos.anim.AnimatorSetBuilder;
|
||||
import com.android.colorfulos.touch.AbstractStateChangeTouchController;
|
||||
import com.android.colorfulos.touch.SwipeDetector;
|
||||
import com.android.colorfulos.userevent.nano.LauncherLogProto;
|
||||
import com.android.colorfulos.userevent.nano.LauncherLogProto.Action.Direction;
|
||||
import com.aoleyun.os.Launcher;
|
||||
import com.aoleyun.os.LauncherState;
|
||||
import com.aoleyun.os.LauncherStateManager;
|
||||
import com.aoleyun.os.Utilities;
|
||||
import com.aoleyun.os.anim.AnimatorSetBuilder;
|
||||
import com.aoleyun.os.touch.AbstractStateChangeTouchController;
|
||||
import com.aoleyun.os.touch.SwipeDetector;
|
||||
import com.aoleyun.os.userevent.nano.LauncherLogProto;
|
||||
import com.aoleyun.os.userevent.nano.LauncherLogProto.Action.Direction;
|
||||
import com.android.quickstep.OverviewInteractionState;
|
||||
import com.android.quickstep.SysUINavigationMode;
|
||||
import com.android.quickstep.SysUINavigationMode.Mode;
|
||||
|
||||
@@ -13,31 +13,31 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.android.colorfulos.uioverrides.touchcontrollers;
|
||||
package com.aoleyun.os.uioverrides.touchcontrollers;
|
||||
|
||||
import static com.android.colorfulos.AbstractFloatingView.TYPE_ACCESSIBLE;
|
||||
import static com.android.colorfulos.Utilities.SINGLE_FRAME_MS;
|
||||
import static com.android.colorfulos.anim.Interpolators.scrollInterpolatorForVelocity;
|
||||
import static com.android.colorfulos.config.FeatureFlags.ENABLE_QUICKSTEP_LIVE_TILE;
|
||||
import static com.android.colorfulos.config.FeatureFlags.QUICKSTEP_SPRINGS;
|
||||
import static com.aoleyun.os.AbstractFloatingView.TYPE_ACCESSIBLE;
|
||||
import static com.aoleyun.os.Utilities.SINGLE_FRAME_MS;
|
||||
import static com.aoleyun.os.anim.Interpolators.scrollInterpolatorForVelocity;
|
||||
import static com.aoleyun.os.config.FeatureFlags.ENABLE_QUICKSTEP_LIVE_TILE;
|
||||
import static com.aoleyun.os.config.FeatureFlags.QUICKSTEP_SPRINGS;
|
||||
|
||||
import android.animation.Animator;
|
||||
import android.animation.AnimatorListenerAdapter;
|
||||
import android.animation.ValueAnimator;
|
||||
import android.view.MotionEvent;
|
||||
|
||||
import com.android.colorfulos.AbstractFloatingView;
|
||||
import com.android.colorfulos.BaseDraggingActivity;
|
||||
import com.android.colorfulos.LauncherAnimUtils;
|
||||
import com.android.colorfulos.Utilities;
|
||||
import com.android.colorfulos.anim.AnimatorPlaybackController;
|
||||
import com.android.colorfulos.anim.Interpolators;
|
||||
import com.android.colorfulos.touch.SwipeDetector;
|
||||
import com.android.colorfulos.userevent.nano.LauncherLogProto.Action.Touch;
|
||||
import com.android.colorfulos.util.FlingBlockCheck;
|
||||
import com.android.colorfulos.util.PendingAnimation;
|
||||
import com.android.colorfulos.util.TouchController;
|
||||
import com.android.colorfulos.views.BaseDragLayer;
|
||||
import com.aoleyun.os.AbstractFloatingView;
|
||||
import com.aoleyun.os.BaseDraggingActivity;
|
||||
import com.aoleyun.os.LauncherAnimUtils;
|
||||
import com.aoleyun.os.Utilities;
|
||||
import com.aoleyun.os.anim.AnimatorPlaybackController;
|
||||
import com.aoleyun.os.anim.Interpolators;
|
||||
import com.aoleyun.os.touch.SwipeDetector;
|
||||
import com.aoleyun.os.userevent.nano.LauncherLogProto.Action.Touch;
|
||||
import com.aoleyun.os.util.FlingBlockCheck;
|
||||
import com.aoleyun.os.util.PendingAnimation;
|
||||
import com.aoleyun.os.util.TouchController;
|
||||
import com.aoleyun.os.views.BaseDragLayer;
|
||||
import com.android.quickstep.SysUINavigationMode;
|
||||
import com.android.quickstep.views.RecentsView;
|
||||
import com.android.quickstep.views.TaskView;
|
||||
|
||||
@@ -13,11 +13,11 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.android.colorfulos.uioverrides.touchcontrollers;
|
||||
package com.aoleyun.os.uioverrides.touchcontrollers;
|
||||
|
||||
import com.android.colorfulos.Launcher;
|
||||
import com.android.colorfulos.LauncherState;
|
||||
import com.android.colorfulos.touch.SwipeDetector;
|
||||
import com.aoleyun.os.Launcher;
|
||||
import com.aoleyun.os.LauncherState;
|
||||
import com.aoleyun.os.touch.SwipeDetector;
|
||||
|
||||
public class TransposedQuickSwitchTouchController extends QuickSwitchTouchController {
|
||||
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
*/
|
||||
package com.android.quickstep;
|
||||
|
||||
import static com.android.colorfulos.anim.Interpolators.FAST_OUT_SLOW_IN;
|
||||
import static com.android.colorfulos.anim.Interpolators.TOUCH_RESPONSE_INTERPOLATOR;
|
||||
import static com.aoleyun.os.anim.Interpolators.FAST_OUT_SLOW_IN;
|
||||
import static com.aoleyun.os.anim.Interpolators.TOUCH_RESPONSE_INTERPOLATOR;
|
||||
import static com.android.systemui.shared.system.RemoteAnimationTargetCompat.MODE_CLOSING;
|
||||
import static com.android.systemui.shared.system.RemoteAnimationTargetCompat.MODE_OPENING;
|
||||
|
||||
@@ -27,9 +27,9 @@ import android.graphics.Rect;
|
||||
import android.util.Log;
|
||||
import android.view.View;
|
||||
|
||||
import com.android.colorfulos.AbstractFloatingView;
|
||||
import com.android.colorfulos.BaseDraggingActivity;
|
||||
import com.android.colorfulos.anim.AnimationSuccessListener;
|
||||
import com.aoleyun.os.AbstractFloatingView;
|
||||
import com.aoleyun.os.BaseDraggingActivity;
|
||||
import com.aoleyun.os.anim.AnimationSuccessListener;
|
||||
import com.android.quickstep.util.ClipAnimationHelper;
|
||||
import com.android.quickstep.util.RemoteAnimationProvider;
|
||||
import com.android.quickstep.util.RemoteAnimationTargetSet;
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
*/
|
||||
package com.android.quickstep;
|
||||
|
||||
import static com.android.colorfulos.anim.Interpolators.LINEAR;
|
||||
import static com.aoleyun.os.anim.Interpolators.LINEAR;
|
||||
import static com.android.quickstep.SysUINavigationMode.Mode.NO_BUTTON;
|
||||
import static com.android.quickstep.fallback.FallbackRecentsView.ZOOM_PROGRESS;
|
||||
import static com.android.quickstep.views.RecentsView.CONTENT_ALPHA;
|
||||
@@ -30,10 +30,10 @@ import android.graphics.RectF;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
|
||||
import com.android.colorfulos.DeviceProfile;
|
||||
import com.android.colorfulos.anim.AnimationSuccessListener;
|
||||
import com.android.colorfulos.anim.AnimatorPlaybackController;
|
||||
import com.android.colorfulos.userevent.nano.LauncherLogProto;
|
||||
import com.aoleyun.os.DeviceProfile;
|
||||
import com.aoleyun.os.anim.AnimationSuccessListener;
|
||||
import com.aoleyun.os.anim.AnimatorPlaybackController;
|
||||
import com.aoleyun.os.userevent.nano.LauncherLogProto;
|
||||
import com.android.quickstep.fallback.FallbackRecentsView;
|
||||
import com.android.quickstep.util.LayoutUtils;
|
||||
import com.android.quickstep.util.RemoteAnimationTargetSet;
|
||||
|
||||
@@ -17,18 +17,18 @@ package com.android.quickstep;
|
||||
|
||||
import static android.view.View.TRANSLATION_Y;
|
||||
|
||||
import static com.android.colorfulos.LauncherAnimUtils.SCALE_PROPERTY;
|
||||
import static com.android.colorfulos.LauncherAppTransitionManagerImpl.INDEX_RECENTS_FADE_ANIM;
|
||||
import static com.android.colorfulos.LauncherAppTransitionManagerImpl.INDEX_RECENTS_TRANSLATE_X_ANIM;
|
||||
import static com.android.colorfulos.LauncherAppTransitionManagerImpl.INDEX_SHELF_ANIM;
|
||||
import static com.android.colorfulos.LauncherState.BACKGROUND_APP;
|
||||
import static com.android.colorfulos.LauncherState.NORMAL;
|
||||
import static com.android.colorfulos.LauncherState.OVERVIEW;
|
||||
import static com.android.colorfulos.LauncherStateManager.ANIM_ALL;
|
||||
import static com.android.colorfulos.anim.Interpolators.ACCEL_2;
|
||||
import static com.android.colorfulos.anim.Interpolators.ACCEL_DEACCEL;
|
||||
import static com.android.colorfulos.anim.Interpolators.INSTANT;
|
||||
import static com.android.colorfulos.anim.Interpolators.LINEAR;
|
||||
import static com.aoleyun.os.LauncherAnimUtils.SCALE_PROPERTY;
|
||||
import static com.aoleyun.os.LauncherAppTransitionManagerImpl.INDEX_RECENTS_FADE_ANIM;
|
||||
import static com.aoleyun.os.LauncherAppTransitionManagerImpl.INDEX_RECENTS_TRANSLATE_X_ANIM;
|
||||
import static com.aoleyun.os.LauncherAppTransitionManagerImpl.INDEX_SHELF_ANIM;
|
||||
import static com.aoleyun.os.LauncherState.BACKGROUND_APP;
|
||||
import static com.aoleyun.os.LauncherState.NORMAL;
|
||||
import static com.aoleyun.os.LauncherState.OVERVIEW;
|
||||
import static com.aoleyun.os.LauncherStateManager.ANIM_ALL;
|
||||
import static com.aoleyun.os.anim.Interpolators.ACCEL_2;
|
||||
import static com.aoleyun.os.anim.Interpolators.ACCEL_DEACCEL;
|
||||
import static com.aoleyun.os.anim.Interpolators.INSTANT;
|
||||
import static com.aoleyun.os.anim.Interpolators.LINEAR;
|
||||
import static com.android.quickstep.WindowTransformSwipeHandler.RECENTS_ATTACH_DURATION;
|
||||
|
||||
import android.animation.Animator;
|
||||
@@ -49,19 +49,19 @@ import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.annotation.UiThread;
|
||||
|
||||
import com.android.colorfulos.DeviceProfile;
|
||||
import com.android.colorfulos.Launcher;
|
||||
import com.android.colorfulos.LauncherAppState;
|
||||
import com.android.colorfulos.LauncherInitListenerEx;
|
||||
import com.android.colorfulos.LauncherState;
|
||||
import com.android.colorfulos.LauncherStateManager;
|
||||
import com.android.colorfulos.allapps.DiscoveryBounce;
|
||||
import com.android.colorfulos.anim.AnimatorPlaybackController;
|
||||
import com.android.colorfulos.anim.AnimatorSetBuilder;
|
||||
import com.android.colorfulos.testing.TestProtocol;
|
||||
import com.android.colorfulos.uioverrides.states.OverviewState;
|
||||
import com.android.colorfulos.userevent.nano.LauncherLogProto;
|
||||
import com.android.colorfulos.views.FloatingIconView;
|
||||
import com.aoleyun.os.DeviceProfile;
|
||||
import com.aoleyun.os.Launcher;
|
||||
import com.aoleyun.os.LauncherAppState;
|
||||
import com.aoleyun.os.LauncherInitListenerEx;
|
||||
import com.aoleyun.os.LauncherState;
|
||||
import com.aoleyun.os.LauncherStateManager;
|
||||
import com.aoleyun.os.allapps.DiscoveryBounce;
|
||||
import com.aoleyun.os.anim.AnimatorPlaybackController;
|
||||
import com.aoleyun.os.anim.AnimatorSetBuilder;
|
||||
import com.aoleyun.os.testing.TestProtocol;
|
||||
import com.aoleyun.os.uioverrides.states.OverviewState;
|
||||
import com.aoleyun.os.userevent.nano.LauncherLogProto;
|
||||
import com.aoleyun.os.views.FloatingIconView;
|
||||
import com.android.quickstep.SysUINavigationMode.Mode;
|
||||
import com.android.quickstep.util.LayoutUtils;
|
||||
import com.android.quickstep.util.StaggeredWorkspaceAnim;
|
||||
|
||||
@@ -18,7 +18,7 @@ package com.android.quickstep;
|
||||
import android.util.Log;
|
||||
import android.util.SparseArray;
|
||||
|
||||
import com.android.colorfulos.config.FeatureFlags;
|
||||
import com.aoleyun.os.config.FeatureFlags;
|
||||
|
||||
import java.util.StringJoiner;
|
||||
import java.util.function.Consumer;
|
||||
|
||||
@@ -27,10 +27,10 @@ import android.os.Build;
|
||||
import android.os.SystemClock;
|
||||
import android.view.ViewConfiguration;
|
||||
|
||||
import com.android.colorfulos.BaseDraggingActivity;
|
||||
import com.android.colorfulos.MainThreadExecutor;
|
||||
import com.android.colorfulos.logging.UserEventDispatcher;
|
||||
import com.android.colorfulos.userevent.nano.LauncherLogProto;
|
||||
import com.aoleyun.os.BaseDraggingActivity;
|
||||
import com.aoleyun.os.MainThreadExecutor;
|
||||
import com.aoleyun.os.logging.UserEventDispatcher;
|
||||
import com.aoleyun.os.userevent.nano.LauncherLogProto;
|
||||
import com.android.quickstep.ActivityControlHelper.ActivityInitListener;
|
||||
import com.android.quickstep.views.RecentsView;
|
||||
import com.android.quickstep.views.TaskView;
|
||||
|
||||
@@ -15,10 +15,10 @@
|
||||
*/
|
||||
package com.android.quickstep;
|
||||
|
||||
import static com.android.colorfulos.QuickstepAppTransitionManagerImpl.RECENTS_LAUNCH_DURATION;
|
||||
import static com.android.colorfulos.QuickstepAppTransitionManagerImpl
|
||||
import static com.aoleyun.os.QuickstepAppTransitionManagerImpl.RECENTS_LAUNCH_DURATION;
|
||||
import static com.aoleyun.os.QuickstepAppTransitionManagerImpl
|
||||
.STATUS_BAR_TRANSITION_DURATION;
|
||||
import static com.android.colorfulos.QuickstepAppTransitionManagerImpl
|
||||
import static com.aoleyun.os.QuickstepAppTransitionManagerImpl
|
||||
.STATUS_BAR_TRANSITION_PRE_DELAY;
|
||||
import static com.android.quickstep.TaskViewUtils.getRecentsWindowAnimator;
|
||||
import static com.android.quickstep.TaskUtils.taskIsATargetWithMode;
|
||||
@@ -33,12 +33,12 @@ import android.os.Handler;
|
||||
import android.os.Looper;
|
||||
import android.view.View;
|
||||
|
||||
import com.android.colorfulos.DeviceProfile;
|
||||
import com.android.colorfulos.InvariantDeviceProfile;
|
||||
import com.android.colorfulos.LauncherAnimationRunner;
|
||||
import com.android.colorfulos.R;
|
||||
import com.android.colorfulos.anim.Interpolators;
|
||||
import com.android.colorfulos.views.BaseDragLayer;
|
||||
import com.aoleyun.os.DeviceProfile;
|
||||
import com.aoleyun.os.InvariantDeviceProfile;
|
||||
import com.aoleyun.os.LauncherAnimationRunner;
|
||||
import com.aoleyun.os.R;
|
||||
import com.aoleyun.os.anim.Interpolators;
|
||||
import com.aoleyun.os.views.BaseDragLayer;
|
||||
import com.android.quickstep.fallback.FallbackRecentsView;
|
||||
import com.android.quickstep.fallback.RecentsRootView;
|
||||
import com.android.quickstep.util.ClipAnimationHelper;
|
||||
|
||||
@@ -19,13 +19,13 @@ import static android.view.MotionEvent.ACTION_CANCEL;
|
||||
import static android.view.MotionEvent.ACTION_DOWN;
|
||||
import static android.view.MotionEvent.ACTION_UP;
|
||||
|
||||
import static com.android.colorfulos.Utilities.FLAG_NO_GESTURES;
|
||||
import static com.aoleyun.os.Utilities.FLAG_NO_GESTURES;
|
||||
|
||||
import android.view.InputEvent;
|
||||
import android.view.KeyEvent;
|
||||
import android.view.MotionEvent;
|
||||
|
||||
import com.android.colorfulos.util.Preconditions;
|
||||
import com.aoleyun.os.util.Preconditions;
|
||||
import com.android.quickstep.inputconsumers.InputConsumer;
|
||||
import com.android.quickstep.util.SwipeAnimationTargetSet;
|
||||
import com.android.systemui.shared.system.InputConsumerController;
|
||||
|
||||
@@ -19,9 +19,9 @@ import static com.android.quickstep.TouchInteractionService.MAIN_THREAD_EXECUTOR
|
||||
|
||||
import android.util.Log;
|
||||
|
||||
import com.android.colorfulos.Utilities;
|
||||
import com.android.colorfulos.config.FeatureFlags;
|
||||
import com.android.colorfulos.util.Preconditions;
|
||||
import com.aoleyun.os.Utilities;
|
||||
import com.aoleyun.os.config.FeatureFlags;
|
||||
import com.aoleyun.os.util.Preconditions;
|
||||
import com.android.quickstep.util.RecentsAnimationListenerSet;
|
||||
import com.android.quickstep.util.SwipeAnimationTargetSet;
|
||||
import com.android.quickstep.util.SwipeAnimationTargetSet.SwipeAnimationListener;
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user