change package name to uiuios
This commit is contained in:
1 parent
164c1fc8a0
commit
c5bda0953d
645 files changed
+3881
-3881
No files matched your search
+5
-5
@@ -106,7 +106,7 @@ LOCAL_REQUIRED_MODULES := privapp_whitelist_com.android.launcher3
|
|||||||
|
|
||||||
LOCAL_FULL_LIBS_MANIFEST_FILES := $(LOCAL_PATH)/AndroidManifest-common.xml
|
LOCAL_FULL_LIBS_MANIFEST_FILES := $(LOCAL_PATH)/AndroidManifest-common.xml
|
||||||
|
|
||||||
LOCAL_JACK_COVERAGE_INCLUDE_FILTER := com.android.launcher3.*
|
LOCAL_JACK_COVERAGE_INCLUDE_FILTER := com.android.uiuios.*
|
||||||
|
|
||||||
include $(BUILD_PACKAGE)
|
include $(BUILD_PACKAGE)
|
||||||
|
|
||||||
@@ -140,7 +140,7 @@ LOCAL_FULL_LIBS_MANIFEST_FILES := \
|
|||||||
$(LOCAL_PATH)/AndroidManifest-common.xml
|
$(LOCAL_PATH)/AndroidManifest-common.xml
|
||||||
|
|
||||||
LOCAL_MANIFEST_FILE := go/AndroidManifest.xml
|
LOCAL_MANIFEST_FILE := go/AndroidManifest.xml
|
||||||
LOCAL_JACK_COVERAGE_INCLUDE_FILTER := com.android.launcher3.*
|
LOCAL_JACK_COVERAGE_INCLUDE_FILTER := com.android.uiuios.*
|
||||||
include $(BUILD_PACKAGE)
|
include $(BUILD_PACKAGE)
|
||||||
|
|
||||||
#
|
#
|
||||||
@@ -212,7 +212,7 @@ LOCAL_FULL_LIBS_MANIFEST_FILES := \
|
|||||||
$(LOCAL_PATH)/AndroidManifest-common.xml
|
$(LOCAL_PATH)/AndroidManifest-common.xml
|
||||||
|
|
||||||
LOCAL_MANIFEST_FILE := quickstep/AndroidManifest.xml
|
LOCAL_MANIFEST_FILE := quickstep/AndroidManifest.xml
|
||||||
LOCAL_JACK_COVERAGE_INCLUDE_FILTER := com.android.launcher3.*
|
LOCAL_JACK_COVERAGE_INCLUDE_FILTER := com.android.uiuios.*
|
||||||
|
|
||||||
include $(BUILD_PACKAGE)
|
include $(BUILD_PACKAGE)
|
||||||
|
|
||||||
@@ -260,7 +260,7 @@ LOCAL_FULL_LIBS_MANIFEST_FILES := \
|
|||||||
$(LOCAL_PATH)/AndroidManifest-common.xml
|
$(LOCAL_PATH)/AndroidManifest-common.xml
|
||||||
|
|
||||||
LOCAL_MANIFEST_FILE := quickstep/AndroidManifest.xml
|
LOCAL_MANIFEST_FILE := quickstep/AndroidManifest.xml
|
||||||
LOCAL_JACK_COVERAGE_INCLUDE_FILTER := com.android.launcher3.*
|
LOCAL_JACK_COVERAGE_INCLUDE_FILTER := com.android.uiuios.*
|
||||||
include $(BUILD_PACKAGE)
|
include $(BUILD_PACKAGE)
|
||||||
|
|
||||||
#
|
#
|
||||||
@@ -307,7 +307,7 @@ LOCAL_FULL_LIBS_MANIFEST_FILES := \
|
|||||||
$(LOCAL_PATH)/AndroidManifest-common.xml
|
$(LOCAL_PATH)/AndroidManifest-common.xml
|
||||||
|
|
||||||
LOCAL_MANIFEST_FILE := quickstep/AndroidManifest.xml
|
LOCAL_MANIFEST_FILE := quickstep/AndroidManifest.xml
|
||||||
LOCAL_JACK_COVERAGE_INCLUDE_FILTER := com.android.launcher3.*
|
LOCAL_JACK_COVERAGE_INCLUDE_FILTER := com.android.uiuios.*
|
||||||
include $(BUILD_PACKAGE)
|
include $(BUILD_PACKAGE)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+14
-14
@@ -19,7 +19,7 @@
|
|||||||
-->
|
-->
|
||||||
<manifest
|
<manifest
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
package="com.android.launcher3">
|
package="com.android.uiuios">
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
The manifest defines the common entries that should be present in any derivative of Launcher3.
|
The manifest defines the common entries that should be present in any derivative of Launcher3.
|
||||||
@@ -67,7 +67,7 @@
|
|||||||
<uses-permission android:name="${packageName}.permission.WRITE_SETTINGS" />
|
<uses-permission android:name="${packageName}.permission.WRITE_SETTINGS" />
|
||||||
|
|
||||||
<application
|
<application
|
||||||
android:backupAgent="com.android.launcher3.LauncherBackupAgent"
|
android:backupAgent="com.android.uiuios.LauncherBackupAgent"
|
||||||
android:fullBackupOnly="true"
|
android:fullBackupOnly="true"
|
||||||
android:fullBackupContent="@xml/backupscheme"
|
android:fullBackupContent="@xml/backupscheme"
|
||||||
android:hardwareAccelerated="true"
|
android:hardwareAccelerated="true"
|
||||||
@@ -79,7 +79,7 @@
|
|||||||
|
|
||||||
<!-- Intent received used to install shortcuts from other applications -->
|
<!-- Intent received used to install shortcuts from other applications -->
|
||||||
<receiver
|
<receiver
|
||||||
android:name="com.android.launcher3.InstallShortcutReceiver"
|
android:name="com.android.uiuios.InstallShortcutReceiver"
|
||||||
android:permission="com.android.launcher.permission.INSTALL_SHORTCUT"
|
android:permission="com.android.launcher.permission.INSTALL_SHORTCUT"
|
||||||
android:enabled="@bool/enable_install_shortcut_api" >
|
android:enabled="@bool/enable_install_shortcut_api" >
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
@@ -89,27 +89,27 @@
|
|||||||
|
|
||||||
<!-- Intent received when a session is committed -->
|
<!-- Intent received when a session is committed -->
|
||||||
<receiver
|
<receiver
|
||||||
android:name="com.android.launcher3.SessionCommitReceiver" >
|
android:name="com.android.uiuios.SessionCommitReceiver" >
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="android.content.pm.action.SESSION_COMMITTED" />
|
<action android:name="android.content.pm.action.SESSION_COMMITTED" />
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
</receiver>
|
</receiver>
|
||||||
|
|
||||||
<!-- Intent received used to initialize a restored widget -->
|
<!-- Intent received used to initialize a restored widget -->
|
||||||
<receiver android:name="com.android.launcher3.AppWidgetsRestoredReceiver" >
|
<receiver android:name="com.android.uiuios.AppWidgetsRestoredReceiver" >
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="android.appwidget.action.APPWIDGET_HOST_RESTORED"/>
|
<action android:name="android.appwidget.action.APPWIDGET_HOST_RESTORED"/>
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
</receiver>
|
</receiver>
|
||||||
|
|
||||||
<service
|
<service
|
||||||
android:name="com.android.launcher3.uioverrides.dynamicui.WallpaperManagerCompatVL$ColorExtractionService"
|
android:name="com.android.uiuios.uioverrides.dynamicui.WallpaperManagerCompatVL$ColorExtractionService"
|
||||||
android:exported="false"
|
android:exported="false"
|
||||||
android:process=":wallpaper_chooser"
|
android:process=":wallpaper_chooser"
|
||||||
android:permission="android.permission.BIND_JOB_SERVICE" />
|
android:permission="android.permission.BIND_JOB_SERVICE" />
|
||||||
|
|
||||||
<service
|
<service
|
||||||
android:name="com.android.launcher3.notification.NotificationListener"
|
android:name="com.android.uiuios.notification.NotificationListener"
|
||||||
android:label="@string/notification_dots_service_title"
|
android:label="@string/notification_dots_service_title"
|
||||||
android:enabled="@bool/notification_dots_enabled"
|
android:enabled="@bool/notification_dots_enabled"
|
||||||
android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE">
|
android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE">
|
||||||
@@ -121,7 +121,7 @@
|
|||||||
<meta-data android:name="android.nfc.disable_beam_default"
|
<meta-data android:name="android.nfc.disable_beam_default"
|
||||||
android:value="true" />
|
android:value="true" />
|
||||||
|
|
||||||
<activity android:name="com.android.launcher3.dragndrop.AddItemActivity"
|
<activity android:name="com.android.uiuios.dragndrop.AddItemActivity"
|
||||||
android:theme="@style/AppItemActivityTheme"
|
android:theme="@style/AppItemActivityTheme"
|
||||||
android:excludeFromRecents="true"
|
android:excludeFromRecents="true"
|
||||||
android:autoRemoveFromRecents="true"
|
android:autoRemoveFromRecents="true"
|
||||||
@@ -137,8 +137,8 @@
|
|||||||
worspace configuration to the dump's file descriptor by using launcher_dump.proto
|
worspace configuration to the dump's file descriptor by using launcher_dump.proto
|
||||||
-->
|
-->
|
||||||
<meta-data
|
<meta-data
|
||||||
android:name="com.android.launcher3.launcher_dump_provider"
|
android:name="com.android.uiuios.launcher_dump_provider"
|
||||||
android:value="com.android.launcher3.LauncherProvider" />
|
android:value="com.android.uiuios.LauncherProvider" />
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
The settings provider contains Home's data, like the workspace favorites. The permissions
|
The settings provider contains Home's data, like the workspace favorites. The permissions
|
||||||
@@ -146,7 +146,7 @@
|
|||||||
represent the package name.
|
represent the package name.
|
||||||
-->
|
-->
|
||||||
<provider
|
<provider
|
||||||
android:name="com.android.launcher3.LauncherProvider"
|
android:name="com.android.uiuios.LauncherProvider"
|
||||||
android:authorities="${packageName}.settings"
|
android:authorities="${packageName}.settings"
|
||||||
android:exported="true"
|
android:exported="true"
|
||||||
android:writePermission="${packageName}.permission.WRITE_SETTINGS"
|
android:writePermission="${packageName}.permission.WRITE_SETTINGS"
|
||||||
@@ -157,7 +157,7 @@
|
|||||||
TODO: Add proper permissions
|
TODO: Add proper permissions
|
||||||
-->
|
-->
|
||||||
<provider
|
<provider
|
||||||
android:name="com.android.launcher3.graphics.GridOptionsProvider"
|
android:name="com.android.uiuios.graphics.GridOptionsProvider"
|
||||||
android:authorities="${packageName}.grid_control"
|
android:authorities="${packageName}.grid_control"
|
||||||
android:enabled="false"
|
android:enabled="false"
|
||||||
android:exported="true" />
|
android:exported="true" />
|
||||||
@@ -166,7 +166,7 @@
|
|||||||
The settings activity. To extend point settings_fragment_name to appropriate fragment class
|
The settings activity. To extend point settings_fragment_name to appropriate fragment class
|
||||||
-->
|
-->
|
||||||
<activity
|
<activity
|
||||||
android:name="com.android.launcher3.settings.SettingsActivity"
|
android:name="com.android.uiuios.settings.SettingsActivity"
|
||||||
android:label="@string/settings_button_text"
|
android:label="@string/settings_button_text"
|
||||||
android:theme="@android:style/Theme.DeviceDefault.Settings"
|
android:theme="@android:style/Theme.DeviceDefault.Settings"
|
||||||
android:autoRemoveFromRecents="true">
|
android:autoRemoveFromRecents="true">
|
||||||
@@ -177,7 +177,7 @@
|
|||||||
</activity>
|
</activity>
|
||||||
|
|
||||||
<provider
|
<provider
|
||||||
android:name="com.android.launcher3.testing.TestInformationProvider"
|
android:name="com.android.uiuios.testing.TestInformationProvider"
|
||||||
android:authorities="${packageName}.TestInfo"
|
android:authorities="${packageName}.TestInfo"
|
||||||
android:readPermission="android.permission.WRITE_SECURE_SETTINGS"
|
android:readPermission="android.permission.WRITE_SECURE_SETTINGS"
|
||||||
android:writePermission="android.permission.WRITE_SECURE_SETTINGS"
|
android:writePermission="android.permission.WRITE_SECURE_SETTINGS"
|
||||||
|
|||||||
+4
-4
@@ -19,7 +19,7 @@
|
|||||||
-->
|
-->
|
||||||
<manifest
|
<manifest
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
package="com.android.launcher3">
|
package="com.android.uiuios">
|
||||||
<uses-sdk android:targetSdkVersion="29" android:minSdkVersion="25"/>
|
<uses-sdk android:targetSdkVersion="29" android:minSdkVersion="25"/>
|
||||||
<!--
|
<!--
|
||||||
Manifest entries specific to Launcher3. This is merged with AndroidManifest-common.xml.
|
Manifest entries specific to Launcher3. This is merged with AndroidManifest-common.xml.
|
||||||
@@ -27,7 +27,7 @@
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<application
|
<application
|
||||||
android:backupAgent="com.android.launcher3.LauncherBackupAgent"
|
android:backupAgent="com.android.uiuios.LauncherBackupAgent"
|
||||||
android:fullBackupOnly="true"
|
android:fullBackupOnly="true"
|
||||||
android:fullBackupContent="@xml/backupscheme"
|
android:fullBackupContent="@xml/backupscheme"
|
||||||
android:hardwareAccelerated="true"
|
android:hardwareAccelerated="true"
|
||||||
@@ -43,7 +43,7 @@
|
|||||||
attributes and intent filters the same
|
attributes and intent filters the same
|
||||||
-->
|
-->
|
||||||
<activity
|
<activity
|
||||||
android:name="com.android.launcher3.Launcher"
|
android:name="com.android.uiuios.Launcher"
|
||||||
android:launchMode="singleTask"
|
android:launchMode="singleTask"
|
||||||
android:clearTaskOnLaunch="true"
|
android:clearTaskOnLaunch="true"
|
||||||
android:stateNotNeeded="true"
|
android:stateNotNeeded="true"
|
||||||
@@ -62,7 +62,7 @@
|
|||||||
<category android:name="android.intent.category.LAUNCHER_APP" />
|
<category android:name="android.intent.category.LAUNCHER_APP" />
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
<meta-data
|
<meta-data
|
||||||
android:name="com.android.launcher3.grid.control"
|
android:name="com.android.uiuios.grid.control"
|
||||||
android:value="${packageName}.grid_control" />
|
android:value="${packageName}.grid_control" />
|
||||||
</activity>
|
</activity>
|
||||||
|
|
||||||
|
|||||||
@@ -19,12 +19,12 @@
|
|||||||
-->
|
-->
|
||||||
<manifest
|
<manifest
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
package="com.android.launcher3">
|
package="com.android.uiuios">
|
||||||
|
|
||||||
<application>
|
<application>
|
||||||
|
|
||||||
<activity
|
<activity
|
||||||
android:name="com.android.launcher3.SecondaryDisplayLauncher"
|
android:name="com.android.uiuios.SecondaryDisplayLauncher"
|
||||||
android:theme="@style/SecondaryLauncherTheme"
|
android:theme="@style/SecondaryLauncherTheme"
|
||||||
android:launchMode="singleTop"
|
android:launchMode="singleTop"
|
||||||
android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout|colorMode|density"
|
android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout|colorMode|density"
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.android.launcher3;
|
package com.android.uiuios;
|
||||||
|
|
||||||
import android.content.ComponentName;
|
import android.content.ComponentName;
|
||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.android.launcher3;
|
package com.android.uiuios;
|
||||||
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.view.LayoutInflater;
|
import android.view.LayoutInflater;
|
||||||
@@ -24,7 +24,7 @@ import android.widget.ArrayAdapter;
|
|||||||
import android.widget.ImageView;
|
import android.widget.ImageView;
|
||||||
import android.widget.TextView;
|
import android.widget.TextView;
|
||||||
|
|
||||||
import com.android.launcher3.R;
|
import com.android.uiuios.R;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.android.launcher3;
|
package com.android.uiuios;
|
||||||
|
|
||||||
import android.app.Application;
|
import android.app.Application;
|
||||||
import android.content.BroadcastReceiver;
|
import android.content.BroadcastReceiver;
|
||||||
|
|||||||
@@ -14,9 +14,9 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.android.launcher3;
|
package com.android.uiuios;
|
||||||
|
|
||||||
import static com.android.launcher3.PinnedAppListViewModel.PINNED_APPS_KEY;
|
import static com.android.uiuios.PinnedAppListViewModel.PINNED_APPS_KEY;
|
||||||
|
|
||||||
import android.app.Application;
|
import android.app.Application;
|
||||||
import android.content.ComponentName;
|
import android.content.ComponentName;
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.android.launcher3;
|
package com.android.uiuios;
|
||||||
|
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
import android.view.LayoutInflater;
|
import android.view.LayoutInflater;
|
||||||
@@ -24,7 +24,7 @@ import android.widget.GridView;
|
|||||||
|
|
||||||
import androidx.fragment.app.DialogFragment;
|
import androidx.fragment.app.DialogFragment;
|
||||||
|
|
||||||
import com.android.launcher3.R;
|
import com.android.uiuios.R;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Callback to be invoked when an app was picked.
|
* Callback to be invoked when an app was picked.
|
||||||
|
|||||||
@@ -14,9 +14,9 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.android.launcher3;
|
package com.android.uiuios;
|
||||||
|
|
||||||
import static com.android.launcher3.PinnedAppListViewModel.PINNED_APPS_KEY;
|
import static com.android.uiuios.PinnedAppListViewModel.PINNED_APPS_KEY;
|
||||||
|
|
||||||
import android.animation.Animator;
|
import android.animation.Animator;
|
||||||
import android.animation.AnimatorListenerAdapter;
|
import android.animation.AnimatorListenerAdapter;
|
||||||
|
|||||||
+7
-7
@@ -46,14 +46,14 @@ android {
|
|||||||
productFlavors {
|
productFlavors {
|
||||||
aosp {
|
aosp {
|
||||||
dimension "app"
|
dimension "app"
|
||||||
applicationId 'com.android.launcher3'
|
applicationId 'com.android.uiuios'
|
||||||
testApplicationId 'com.android.launcher3.tests'
|
testApplicationId 'com.android.uiuios.tests'
|
||||||
}
|
}
|
||||||
|
|
||||||
l3go {
|
l3go {
|
||||||
dimension "app"
|
dimension "app"
|
||||||
applicationId 'com.android.launcher3'
|
applicationId 'com.android.uiuios'
|
||||||
testApplicationId 'com.android.launcher3.tests'
|
testApplicationId 'com.android.uiuios.tests'
|
||||||
}
|
}
|
||||||
|
|
||||||
/*withQuickstep {
|
/*withQuickstep {
|
||||||
@@ -182,9 +182,9 @@ protobuf {
|
|||||||
task.builtins {
|
task.builtins {
|
||||||
remove java
|
remove java
|
||||||
javanano {
|
javanano {
|
||||||
option "java_package=launcher_log_extension.proto|com.android.launcher3.userevent.nano"
|
option "java_package=launcher_log_extension.proto|com.android.uiuios.userevent.nano"
|
||||||
option "java_package=launcher_log.proto|com.android.launcher3.userevent.nano"
|
option "java_package=launcher_log.proto|com.android.uiuios.userevent.nano"
|
||||||
option "java_package=launcher_dump.proto|com.android.launcher3.model.nano"
|
option "java_package=launcher_dump.proto|com.android.uiuios.model.nano"
|
||||||
option "enum_style=java"
|
option "enum_style=java"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -20,12 +20,12 @@
|
|||||||
<manifest
|
<manifest
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
package="com.android.launcher3" >
|
package="com.android.uiuios" >
|
||||||
|
|
||||||
<uses-sdk android:targetSdkVersion="28" android:minSdkVersion="25"/>
|
<uses-sdk android:targetSdkVersion="28" android:minSdkVersion="25"/>
|
||||||
|
|
||||||
<application
|
<application
|
||||||
android:backupAgent="com.android.launcher3.LauncherBackupAgent"
|
android:backupAgent="com.android.uiuios.LauncherBackupAgent"
|
||||||
android:fullBackupOnly="true"
|
android:fullBackupOnly="true"
|
||||||
android:fullBackupContent="@xml/backupscheme"
|
android:fullBackupContent="@xml/backupscheme"
|
||||||
android:hardwareAccelerated="true"
|
android:hardwareAccelerated="true"
|
||||||
@@ -37,7 +37,7 @@
|
|||||||
android:supportsRtl="true" >
|
android:supportsRtl="true" >
|
||||||
|
|
||||||
<!-- Activity for handling PinItemRequest is disabled on Android Go. -->
|
<!-- Activity for handling PinItemRequest is disabled on Android Go. -->
|
||||||
<activity android:name="com.android.launcher3.dragndrop.AddItemActivity"
|
<activity android:name="com.android.uiuios.dragndrop.AddItemActivity"
|
||||||
android:theme="@android:style/Theme.DeviceDefault.Light.Dialog.Alert"
|
android:theme="@android:style/Theme.DeviceDefault.Light.Dialog.Alert"
|
||||||
android:excludeFromRecents="true"
|
android:excludeFromRecents="true"
|
||||||
android:autoRemoveFromRecents="true"
|
android:autoRemoveFromRecents="true"
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
<!-- Class overrides for Go version of launcher with Go recents. -->
|
<!-- Class overrides for Go version of launcher with Go recents. -->
|
||||||
|
|
||||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||||
<string name="app_transition_manager_class" translatable="false">com.android.launcher3.GoLauncherAppTransitionManagerImpl</string>
|
<string name="app_transition_manager_class" translatable="false">com.android.uiuios.GoLauncherAppTransitionManagerImpl</string>
|
||||||
|
|
||||||
<string name="instant_app_resolver_class" translatable="false">com.android.quickstep.InstantAppResolverImpl</string>
|
<string name="instant_app_resolver_class" translatable="false">com.android.quickstep.InstantAppResolverImpl</string>
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
package com.android.launcher3;
|
package com.android.uiuios;
|
||||||
|
|
||||||
import static com.android.launcher3.Utilities.postAsyncCallback;
|
import static com.android.uiuios.Utilities.postAsyncCallback;
|
||||||
import static com.android.launcher3.anim.Interpolators.AGGRESSIVE_EASE;
|
import static com.android.uiuios.anim.Interpolators.AGGRESSIVE_EASE;
|
||||||
import static com.android.launcher3.anim.Interpolators.LINEAR;
|
import static com.android.uiuios.anim.Interpolators.LINEAR;
|
||||||
import static com.android.quickstep.TaskUtils.taskIsATargetWithMode;
|
import static com.android.quickstep.TaskUtils.taskIsATargetWithMode;
|
||||||
import static com.android.quickstep.views.IconRecentsView.CONTENT_ALPHA;
|
import static com.android.quickstep.views.IconRecentsView.CONTENT_ALPHA;
|
||||||
import static com.android.systemui.shared.system.RemoteAnimationTargetCompat.MODE_OPENING;
|
import static com.android.systemui.shared.system.RemoteAnimationTargetCompat.MODE_OPENING;
|
||||||
|
|||||||
@@ -13,9 +13,9 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.android.launcher3;
|
package com.android.uiuios;
|
||||||
|
|
||||||
import static com.android.launcher3.LauncherState.NORMAL;
|
import static com.android.uiuios.LauncherState.NORMAL;
|
||||||
|
|
||||||
import com.android.quickstep.RecentsToActivityHelper;
|
import com.android.quickstep.RecentsToActivityHelper;
|
||||||
|
|
||||||
|
|||||||
@@ -14,19 +14,19 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.android.launcher3.uioverrides;
|
package com.android.uiuios.uioverrides;
|
||||||
|
|
||||||
import com.android.launcher3.DeviceProfile;
|
import com.android.uiuios.DeviceProfile;
|
||||||
import com.android.launcher3.Launcher;
|
import com.android.uiuios.Launcher;
|
||||||
import com.android.launcher3.LauncherStateManager.StateHandler;
|
import com.android.uiuios.LauncherStateManager.StateHandler;
|
||||||
import com.android.launcher3.Utilities;
|
import com.android.uiuios.Utilities;
|
||||||
import com.android.launcher3.config.FeatureFlags;
|
import com.android.uiuios.config.FeatureFlags;
|
||||||
import com.android.launcher3.graphics.RotationMode;
|
import com.android.uiuios.graphics.RotationMode;
|
||||||
import com.android.launcher3.uioverrides.touchcontrollers.LandscapeEdgeSwipeController;
|
import com.android.uiuios.uioverrides.touchcontrollers.LandscapeEdgeSwipeController;
|
||||||
import com.android.launcher3.uioverrides.touchcontrollers.LandscapeStatesTouchController;
|
import com.android.uiuios.uioverrides.touchcontrollers.LandscapeStatesTouchController;
|
||||||
import com.android.launcher3.uioverrides.touchcontrollers.PortraitStatesTouchController;
|
import com.android.uiuios.uioverrides.touchcontrollers.PortraitStatesTouchController;
|
||||||
import com.android.launcher3.uioverrides.touchcontrollers.StatusBarTouchController;
|
import com.android.uiuios.uioverrides.touchcontrollers.StatusBarTouchController;
|
||||||
import com.android.launcher3.util.TouchController;
|
import com.android.uiuios.util.TouchController;
|
||||||
import com.android.quickstep.SysUINavigationMode;
|
import com.android.quickstep.SysUINavigationMode;
|
||||||
import com.android.quickstep.views.IconRecentsView;
|
import com.android.quickstep.views.IconRecentsView;
|
||||||
|
|
||||||
|
|||||||
@@ -13,14 +13,14 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.android.launcher3.uioverrides;
|
package com.android.uiuios.uioverrides;
|
||||||
|
|
||||||
import static com.android.quickstep.views.IconRecentsView.CONTENT_ALPHA;
|
import static com.android.quickstep.views.IconRecentsView.CONTENT_ALPHA;
|
||||||
|
|
||||||
import android.util.FloatProperty;
|
import android.util.FloatProperty;
|
||||||
|
|
||||||
import com.android.launcher3.Launcher;
|
import com.android.uiuios.Launcher;
|
||||||
import com.android.launcher3.LauncherRecentsToActivityHelper;
|
import com.android.uiuios.LauncherRecentsToActivityHelper;
|
||||||
import com.android.quickstep.views.IconRecentsView;
|
import com.android.quickstep.views.IconRecentsView;
|
||||||
|
|
||||||
import androidx.annotation.NonNull;
|
import androidx.annotation.NonNull;
|
||||||
|
|||||||
@@ -14,32 +14,32 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.android.launcher3.uioverrides.states;
|
package com.android.uiuios.uioverrides.states;
|
||||||
|
|
||||||
import static android.view.View.VISIBLE;
|
import static android.view.View.VISIBLE;
|
||||||
|
|
||||||
import static com.android.launcher3.LauncherAnimUtils.OVERVIEW_TRANSITION_MS;
|
import static com.android.uiuios.LauncherAnimUtils.OVERVIEW_TRANSITION_MS;
|
||||||
import static com.android.launcher3.LauncherAnimUtils.SCALE_PROPERTY;
|
import static com.android.uiuios.LauncherAnimUtils.SCALE_PROPERTY;
|
||||||
import static com.android.launcher3.anim.AnimatorSetBuilder.ANIM_OVERVIEW_FADE;
|
import static com.android.uiuios.anim.AnimatorSetBuilder.ANIM_OVERVIEW_FADE;
|
||||||
import static com.android.launcher3.anim.AnimatorSetBuilder.ANIM_OVERVIEW_SCALE;
|
import static com.android.uiuios.anim.AnimatorSetBuilder.ANIM_OVERVIEW_SCALE;
|
||||||
import static com.android.launcher3.anim.AnimatorSetBuilder.ANIM_OVERVIEW_TRANSLATE_X;
|
import static com.android.uiuios.anim.AnimatorSetBuilder.ANIM_OVERVIEW_TRANSLATE_X;
|
||||||
import static com.android.launcher3.anim.AnimatorSetBuilder.ANIM_WORKSPACE_FADE;
|
import static com.android.uiuios.anim.AnimatorSetBuilder.ANIM_WORKSPACE_FADE;
|
||||||
import static com.android.launcher3.anim.AnimatorSetBuilder.ANIM_WORKSPACE_SCALE;
|
import static com.android.uiuios.anim.AnimatorSetBuilder.ANIM_WORKSPACE_SCALE;
|
||||||
import static com.android.launcher3.anim.AnimatorSetBuilder.ANIM_WORKSPACE_TRANSLATE;
|
import static com.android.uiuios.anim.AnimatorSetBuilder.ANIM_WORKSPACE_TRANSLATE;
|
||||||
import static com.android.launcher3.anim.Interpolators.ACCEL;
|
import static com.android.uiuios.anim.Interpolators.ACCEL;
|
||||||
import static com.android.launcher3.anim.Interpolators.DEACCEL_2;
|
import static com.android.uiuios.anim.Interpolators.DEACCEL_2;
|
||||||
import static com.android.launcher3.anim.Interpolators.OVERSHOOT_1_2;
|
import static com.android.uiuios.anim.Interpolators.OVERSHOOT_1_2;
|
||||||
import static com.android.launcher3.anim.Interpolators.OVERSHOOT_1_7;
|
import static com.android.uiuios.anim.Interpolators.OVERSHOOT_1_7;
|
||||||
import static com.android.launcher3.states.RotationHelper.REQUEST_ROTATE;
|
import static com.android.uiuios.states.RotationHelper.REQUEST_ROTATE;
|
||||||
|
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
|
|
||||||
import com.android.launcher3.DeviceProfile;
|
import com.android.uiuios.DeviceProfile;
|
||||||
import com.android.launcher3.Launcher;
|
import com.android.uiuios.Launcher;
|
||||||
import com.android.launcher3.LauncherState;
|
import com.android.uiuios.LauncherState;
|
||||||
import com.android.launcher3.R;
|
import com.android.uiuios.R;
|
||||||
import com.android.launcher3.anim.AnimatorSetBuilder;
|
import com.android.uiuios.anim.AnimatorSetBuilder;
|
||||||
import com.android.launcher3.userevent.nano.LauncherLogProto;
|
import com.android.uiuios.userevent.nano.LauncherLogProto;
|
||||||
import com.android.quickstep.SysUINavigationMode;
|
import com.android.quickstep.SysUINavigationMode;
|
||||||
import com.android.quickstep.views.IconRecentsView;
|
import com.android.quickstep.views.IconRecentsView;
|
||||||
|
|
||||||
|
|||||||
+7
-7
@@ -13,17 +13,17 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.android.launcher3.uioverrides.touchcontrollers;
|
package com.android.uiuios.uioverrides.touchcontrollers;
|
||||||
|
|
||||||
import static com.android.launcher3.LauncherState.ALL_APPS;
|
import static com.android.uiuios.LauncherState.ALL_APPS;
|
||||||
import static com.android.launcher3.LauncherState.NORMAL;
|
import static com.android.uiuios.LauncherState.NORMAL;
|
||||||
|
|
||||||
import android.view.MotionEvent;
|
import android.view.MotionEvent;
|
||||||
|
|
||||||
import com.android.launcher3.AbstractFloatingView;
|
import com.android.uiuios.AbstractFloatingView;
|
||||||
import com.android.launcher3.Launcher;
|
import com.android.uiuios.Launcher;
|
||||||
import com.android.launcher3.LauncherState;
|
import com.android.uiuios.LauncherState;
|
||||||
import com.android.launcher3.userevent.nano.LauncherLogProto;
|
import com.android.uiuios.userevent.nano.LauncherLogProto;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Touch controller for landscape mode.
|
* Touch controller for landscape mode.
|
||||||
|
|||||||
+3
-3
@@ -14,12 +14,12 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.android.launcher3.uioverrides.touchcontrollers;
|
package com.android.uiuios.uioverrides.touchcontrollers;
|
||||||
|
|
||||||
import android.view.MotionEvent;
|
import android.view.MotionEvent;
|
||||||
|
|
||||||
import com.android.launcher3.Launcher;
|
import com.android.uiuios.Launcher;
|
||||||
import com.android.launcher3.util.PendingAnimation;
|
import com.android.uiuios.util.PendingAnimation;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Helper class for {@link PortraitStatesTouchController} that determines swipeable regions and
|
* Helper class for {@link PortraitStatesTouchController} that determines swipeable regions and
|
||||||
|
|||||||
@@ -15,8 +15,8 @@
|
|||||||
*/
|
*/
|
||||||
package com.android.quickstep;
|
package com.android.quickstep;
|
||||||
|
|
||||||
import static com.android.launcher3.Utilities.postAsyncCallback;
|
import static com.android.uiuios.Utilities.postAsyncCallback;
|
||||||
import static com.android.launcher3.anim.Interpolators.FAST_OUT_SLOW_IN;
|
import static com.android.uiuios.anim.Interpolators.FAST_OUT_SLOW_IN;
|
||||||
import static com.android.quickstep.views.IconRecentsView.REMOTE_APP_TO_OVERVIEW_DURATION;
|
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.ACTIVITY_TYPE_HOME;
|
||||||
import static com.android.systemui.shared.system.RemoteAnimationTargetCompat.MODE_CLOSING;
|
import static com.android.systemui.shared.system.RemoteAnimationTargetCompat.MODE_CLOSING;
|
||||||
@@ -28,8 +28,8 @@ import android.app.ActivityOptions;
|
|||||||
import android.os.Handler;
|
import android.os.Handler;
|
||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
|
|
||||||
import com.android.launcher3.BaseDraggingActivity;
|
import com.android.uiuios.BaseDraggingActivity;
|
||||||
import com.android.launcher3.LauncherAnimationRunner;
|
import com.android.uiuios.LauncherAnimationRunner;
|
||||||
import com.android.quickstep.util.RemoteAnimationProvider;
|
import com.android.quickstep.util.RemoteAnimationProvider;
|
||||||
import com.android.quickstep.util.RemoteAnimationTargetSet;
|
import com.android.quickstep.util.RemoteAnimationTargetSet;
|
||||||
import com.android.quickstep.views.IconRecentsView;
|
import com.android.quickstep.views.IconRecentsView;
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
*/
|
*/
|
||||||
package com.android.quickstep;
|
package com.android.quickstep;
|
||||||
|
|
||||||
import static com.android.launcher3.anim.Interpolators.LINEAR;
|
import static com.android.uiuios.anim.Interpolators.LINEAR;
|
||||||
import static com.android.quickstep.views.IconRecentsView.CONTENT_ALPHA;
|
import static com.android.quickstep.views.IconRecentsView.CONTENT_ALPHA;
|
||||||
|
|
||||||
import android.animation.AnimatorSet;
|
import android.animation.AnimatorSet;
|
||||||
@@ -24,8 +24,8 @@ import android.graphics.Rect;
|
|||||||
|
|
||||||
import androidx.annotation.Nullable;
|
import androidx.annotation.Nullable;
|
||||||
|
|
||||||
import com.android.launcher3.anim.AnimatorPlaybackController;
|
import com.android.uiuios.anim.AnimatorPlaybackController;
|
||||||
import com.android.launcher3.userevent.nano.LauncherLogProto;
|
import com.android.uiuios.userevent.nano.LauncherLogProto;
|
||||||
import com.android.quickstep.util.RemoteAnimationTargetSet;
|
import com.android.quickstep.util.RemoteAnimationTargetSet;
|
||||||
import com.android.quickstep.views.IconRecentsView;
|
import com.android.quickstep.views.IconRecentsView;
|
||||||
|
|
||||||
|
|||||||
@@ -3,8 +3,8 @@ package com.android.quickstep;
|
|||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.graphics.Rect;
|
import android.graphics.Rect;
|
||||||
|
|
||||||
import com.android.launcher3.BaseDraggingActivity;
|
import com.android.uiuios.BaseDraggingActivity;
|
||||||
import com.android.launcher3.DeviceProfile;
|
import com.android.uiuios.DeviceProfile;
|
||||||
import com.android.systemui.shared.system.RemoteAnimationTargetCompat;
|
import com.android.systemui.shared.system.RemoteAnimationTargetCompat;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ import android.view.ViewGroup;
|
|||||||
import androidx.annotation.NonNull;
|
import androidx.annotation.NonNull;
|
||||||
import androidx.annotation.Nullable;
|
import androidx.annotation.Nullable;
|
||||||
|
|
||||||
import com.android.launcher3.R;
|
import com.android.uiuios.R;
|
||||||
|
|
||||||
public class IconRecentsFragment extends Fragment {
|
public class IconRecentsFragment extends Fragment {
|
||||||
@Nullable
|
@Nullable
|
||||||
|
|||||||
@@ -16,14 +16,14 @@
|
|||||||
|
|
||||||
package com.android.quickstep;
|
package com.android.quickstep;
|
||||||
|
|
||||||
import static com.android.launcher3.LauncherState.OVERVIEW;
|
import static com.android.uiuios.LauncherState.OVERVIEW;
|
||||||
|
|
||||||
import com.android.launcher3.Launcher;
|
import com.android.uiuios.Launcher;
|
||||||
import com.android.launcher3.LauncherAppState;
|
import com.android.uiuios.LauncherAppState;
|
||||||
import com.android.launcher3.LauncherInitListener;
|
import com.android.uiuios.LauncherInitListener;
|
||||||
import com.android.launcher3.LauncherState;
|
import com.android.uiuios.LauncherState;
|
||||||
import com.android.launcher3.anim.AnimatorPlaybackController;
|
import com.android.uiuios.anim.AnimatorPlaybackController;
|
||||||
import com.android.launcher3.userevent.nano.LauncherLogProto;
|
import com.android.uiuios.userevent.nano.LauncherLogProto;
|
||||||
import com.android.quickstep.views.IconRecentsView;
|
import com.android.quickstep.views.IconRecentsView;
|
||||||
|
|
||||||
import java.util.function.BiPredicate;
|
import java.util.function.BiPredicate;
|
||||||
|
|||||||
@@ -24,10 +24,10 @@ import android.os.Build;
|
|||||||
import android.os.SystemClock;
|
import android.os.SystemClock;
|
||||||
import android.view.ViewConfiguration;
|
import android.view.ViewConfiguration;
|
||||||
|
|
||||||
import com.android.launcher3.BaseDraggingActivity;
|
import com.android.uiuios.BaseDraggingActivity;
|
||||||
import com.android.launcher3.MainThreadExecutor;
|
import com.android.uiuios.MainThreadExecutor;
|
||||||
import com.android.launcher3.logging.UserEventDispatcher;
|
import com.android.uiuios.logging.UserEventDispatcher;
|
||||||
import com.android.launcher3.userevent.nano.LauncherLogProto;
|
import com.android.uiuios.userevent.nano.LauncherLogProto;
|
||||||
import com.android.quickstep.ActivityControlHelper.ActivityInitListener;
|
import com.android.quickstep.ActivityControlHelper.ActivityInitListener;
|
||||||
import com.android.quickstep.AppToOverviewAnimationProvider.AppToOverviewAnimationListener;
|
import com.android.quickstep.AppToOverviewAnimationProvider.AppToOverviewAnimationListener;
|
||||||
import com.android.quickstep.views.IconRecentsView;
|
import com.android.quickstep.views.IconRecentsView;
|
||||||
|
|||||||
@@ -18,8 +18,8 @@ package com.android.quickstep;
|
|||||||
import android.app.ActivityOptions;
|
import android.app.ActivityOptions;
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
|
|
||||||
import com.android.launcher3.R;
|
import com.android.uiuios.R;
|
||||||
import com.android.launcher3.views.BaseDragLayer;
|
import com.android.uiuios.views.BaseDragLayer;
|
||||||
import com.android.quickstep.fallback.GoRecentsActivityRootView;
|
import com.android.quickstep.fallback.GoRecentsActivityRootView;
|
||||||
import com.android.quickstep.views.IconRecentsView;
|
import com.android.quickstep.views.IconRecentsView;
|
||||||
|
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ import android.view.View;
|
|||||||
|
|
||||||
import androidx.annotation.NonNull;
|
import androidx.annotation.NonNull;
|
||||||
|
|
||||||
import com.android.launcher3.logging.StatsLogManager;
|
import com.android.uiuios.logging.StatsLogManager;
|
||||||
import com.android.quickstep.views.TaskItemView;
|
import com.android.quickstep.views.TaskItemView;
|
||||||
import com.android.systemui.shared.recents.model.Task;
|
import com.android.systemui.shared.recents.model.Task;
|
||||||
import com.android.systemui.shared.recents.model.Task.TaskKey;
|
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.Adapter;
|
||||||
import androidx.recyclerview.widget.RecyclerView.ViewHolder;
|
import androidx.recyclerview.widget.RecyclerView.ViewHolder;
|
||||||
|
|
||||||
import com.android.launcher3.R;
|
import com.android.uiuios.R;
|
||||||
import com.android.quickstep.views.TaskItemView;
|
import com.android.quickstep.views.TaskItemView;
|
||||||
import com.android.systemui.shared.recents.model.Task;
|
import com.android.systemui.shared.recents.model.Task;
|
||||||
|
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ import android.graphics.drawable.Drawable;
|
|||||||
|
|
||||||
import androidx.annotation.NonNull;
|
import androidx.annotation.NonNull;
|
||||||
|
|
||||||
import com.android.launcher3.R;
|
import com.android.uiuios.R;
|
||||||
import com.android.systemui.shared.recents.model.ThumbnailData;
|
import com.android.systemui.shared.recents.model.ThumbnailData;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -32,8 +32,8 @@ import android.os.RemoteException;
|
|||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
import android.view.MotionEvent;
|
import android.view.MotionEvent;
|
||||||
|
|
||||||
import com.android.launcher3.Utilities;
|
import com.android.uiuios.Utilities;
|
||||||
import com.android.launcher3.compat.UserManagerCompat;
|
import com.android.uiuios.compat.UserManagerCompat;
|
||||||
import com.android.systemui.shared.recents.IOverviewProxy;
|
import com.android.systemui.shared.recents.IOverviewProxy;
|
||||||
import com.android.systemui.shared.recents.ISystemUiProxy;
|
import com.android.systemui.shared.recents.ISystemUiProxy;
|
||||||
|
|
||||||
|
|||||||
@@ -21,8 +21,8 @@ import android.graphics.Rect;
|
|||||||
import android.util.AttributeSet;
|
import android.util.AttributeSet;
|
||||||
import android.view.WindowInsets;
|
import android.view.WindowInsets;
|
||||||
|
|
||||||
import com.android.launcher3.util.TouchController;
|
import com.android.uiuios.util.TouchController;
|
||||||
import com.android.launcher3.views.BaseDragLayer;
|
import com.android.uiuios.views.BaseDragLayer;
|
||||||
import com.android.quickstep.RecentsActivity;
|
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 androidx.recyclerview.widget.LinearLayoutManager.VERTICAL;
|
||||||
|
|
||||||
import static com.android.launcher3.anim.Interpolators.ACCEL_2;
|
import static com.android.uiuios.anim.Interpolators.ACCEL_2;
|
||||||
import static com.android.quickstep.TaskAdapter.CHANGE_EVENT_TYPE_EMPTY_TO_CONTENT;
|
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_CLEAR_ALL;
|
||||||
import static com.android.quickstep.TaskAdapter.ITEM_TYPE_TASK;
|
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.ItemDecoration;
|
||||||
import androidx.recyclerview.widget.RecyclerView.OnChildAttachStateChangeListener;
|
import androidx.recyclerview.widget.RecyclerView.OnChildAttachStateChangeListener;
|
||||||
|
|
||||||
import com.android.launcher3.BaseActivity;
|
import com.android.uiuios.BaseActivity;
|
||||||
import com.android.launcher3.Insettable;
|
import com.android.uiuios.Insettable;
|
||||||
import com.android.launcher3.R;
|
import com.android.uiuios.R;
|
||||||
import com.android.launcher3.util.Themes;
|
import com.android.uiuios.util.Themes;
|
||||||
import com.android.quickstep.ContentFillItemAnimator;
|
import com.android.quickstep.ContentFillItemAnimator;
|
||||||
import com.android.quickstep.RecentsModel;
|
import com.android.quickstep.RecentsModel;
|
||||||
import com.android.quickstep.RecentsToActivityHelper;
|
import com.android.quickstep.RecentsToActivityHelper;
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ import android.widget.TextView;
|
|||||||
import androidx.annotation.NonNull;
|
import androidx.annotation.NonNull;
|
||||||
import androidx.annotation.Nullable;
|
import androidx.annotation.Nullable;
|
||||||
|
|
||||||
import com.android.launcher3.R;
|
import com.android.uiuios.R;
|
||||||
import com.android.quickstep.ThumbnailDrawable;
|
import com.android.quickstep.ThumbnailDrawable;
|
||||||
import com.android.systemui.shared.recents.model.ThumbnailData;
|
import com.android.systemui.shared.recents.model.ThumbnailData;
|
||||||
|
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ import android.graphics.drawable.LayerDrawable;
|
|||||||
|
|
||||||
import androidx.annotation.NonNull;
|
import androidx.annotation.NonNull;
|
||||||
|
|
||||||
import com.android.launcher3.R;
|
import com.android.uiuios.R;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A layer drawable for task content that transitions between two drawables by crossfading. Similar
|
* 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.View;
|
||||||
import android.view.ViewGroup;
|
import android.view.ViewGroup;
|
||||||
|
|
||||||
import com.android.launcher3.R;
|
import com.android.uiuios.R;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Square view that holds thumbnail and icon and shrinks them appropriately so that both fit nicely
|
* Square view that holds thumbnail and icon and shrinks them appropriately so that both fit nicely
|
||||||
|
|||||||
+1
-1
@@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.android.launcher3.config;
|
package com.android.uiuios.config;
|
||||||
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
|
|
||||||
+5
-5
@@ -14,16 +14,16 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.android.launcher3.model;
|
package com.android.uiuios.model;
|
||||||
|
|
||||||
import com.android.launcher3.AllAppsList;
|
import com.android.uiuios.AllAppsList;
|
||||||
import com.android.launcher3.LauncherAppState;
|
import com.android.uiuios.LauncherAppState;
|
||||||
import com.android.launcher3.LauncherModel.Callbacks;
|
import com.android.uiuios.LauncherModel.Callbacks;
|
||||||
|
|
||||||
import java.lang.ref.WeakReference;
|
import java.lang.ref.WeakReference;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Helper class to handle results of {@link com.android.launcher3.model.LoaderTask}.
|
* Helper class to handle results of {@link com.android.uiuios.model.LoaderTask}.
|
||||||
*/
|
*/
|
||||||
public class LoaderResults extends BaseLoaderResults {
|
public class LoaderResults extends BaseLoaderResults {
|
||||||
|
|
||||||
+7
-7
@@ -14,15 +14,15 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.android.launcher3.model;
|
package com.android.uiuios.model;
|
||||||
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.os.UserHandle;
|
import android.os.UserHandle;
|
||||||
|
|
||||||
import com.android.launcher3.icons.ComponentWithLabel;
|
import com.android.uiuios.icons.ComponentWithLabel;
|
||||||
import com.android.launcher3.LauncherAppState;
|
import com.android.uiuios.LauncherAppState;
|
||||||
import com.android.launcher3.util.PackageUserKey;
|
import com.android.uiuios.util.PackageUserKey;
|
||||||
import com.android.launcher3.widget.WidgetListRowEntry;
|
import com.android.uiuios.widget.WidgetListRowEntry;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
@@ -43,9 +43,9 @@ public class WidgetsModel {
|
|||||||
* Returns a list of {@link WidgetListRowEntry}. All {@link WidgetItem} in a single row
|
* 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
|
* 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
|
* is not sorted. This list is sorted at the UI when using
|
||||||
* {@link com.android.launcher3.widget.WidgetsDiffReporter}
|
* {@link com.android.uiuios.widget.WidgetsDiffReporter}
|
||||||
*
|
*
|
||||||
* @see com.android.launcher3.widget.WidgetsListAdapter#setWidgets(ArrayList)
|
* @see com.android.uiuios.widget.WidgetsListAdapter#setWidgets(ArrayList)
|
||||||
*/
|
*/
|
||||||
public synchronized ArrayList<WidgetListRowEntry> getWidgetsList(Context context) {
|
public synchronized ArrayList<WidgetListRowEntry> getWidgetsList(Context context) {
|
||||||
return EMPTY_WIDGET_LIST;
|
return EMPTY_WIDGET_LIST;
|
||||||
+2
-2
@@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.android.launcher3.shortcuts;
|
package com.android.uiuios.shortcuts;
|
||||||
|
|
||||||
import android.content.ComponentName;
|
import android.content.ComponentName;
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
@@ -24,7 +24,7 @@ import android.graphics.drawable.Drawable;
|
|||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
import android.os.UserHandle;
|
import android.os.UserHandle;
|
||||||
|
|
||||||
import com.android.launcher3.ItemInfo;
|
import com.android.uiuios.ItemInfo;
|
||||||
|
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
@@ -16,5 +16,5 @@
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
package="com.android.launcher3.icons">
|
package="com.android.uiuios.icons">
|
||||||
</manifest>
|
</manifest>
|
||||||
@@ -17,6 +17,6 @@
|
|||||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<background android:drawable="@color/legacy_icon_background"/>
|
<background android:drawable="@color/legacy_icon_background"/>
|
||||||
<foreground>
|
<foreground>
|
||||||
<com.android.launcher3.icons.FixedScaleDrawable />
|
<com.android.uiuios.icons.FixedScaleDrawable />
|
||||||
</foreground>
|
</foreground>
|
||||||
</adaptive-icon>
|
</adaptive-icon>
|
||||||
+2
-2
@@ -1,9 +1,9 @@
|
|||||||
package com.android.launcher3.icons;
|
package com.android.uiuios.icons;
|
||||||
|
|
||||||
import static android.graphics.Paint.DITHER_FLAG;
|
import static android.graphics.Paint.DITHER_FLAG;
|
||||||
import static android.graphics.Paint.FILTER_BITMAP_FLAG;
|
import static android.graphics.Paint.FILTER_BITMAP_FLAG;
|
||||||
|
|
||||||
import static com.android.launcher3.icons.ShadowGenerator.BLUR_FACTOR;
|
import static com.android.uiuios.icons.ShadowGenerator.BLUR_FACTOR;
|
||||||
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
+1
-1
@@ -13,7 +13,7 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.android.launcher3.icons;
|
package com.android.uiuios.icons;
|
||||||
|
|
||||||
import android.graphics.Bitmap;
|
import android.graphics.Bitmap;
|
||||||
import android.graphics.Bitmap.Config;
|
import android.graphics.Bitmap.Config;
|
||||||
+1
-1
@@ -13,7 +13,7 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.android.launcher3.icons;
|
package com.android.uiuios.icons;
|
||||||
|
|
||||||
import android.annotation.TargetApi;
|
import android.annotation.TargetApi;
|
||||||
import android.graphics.Bitmap;
|
import android.graphics.Bitmap;
|
||||||
+1
-1
@@ -13,7 +13,7 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.android.launcher3.icons;
|
package com.android.uiuios.icons;
|
||||||
|
|
||||||
import android.graphics.Bitmap;
|
import android.graphics.Bitmap;
|
||||||
import android.graphics.Color;
|
import android.graphics.Color;
|
||||||
+1
-1
@@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.android.launcher3.icons;
|
package com.android.uiuios.icons;
|
||||||
|
|
||||||
import static android.graphics.Paint.ANTI_ALIAS_FLAG;
|
import static android.graphics.Paint.ANTI_ALIAS_FLAG;
|
||||||
import static android.graphics.Paint.FILTER_BITMAP_FLAG;
|
import static android.graphics.Paint.FILTER_BITMAP_FLAG;
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
package com.android.launcher3.icons;
|
package com.android.uiuios.icons;
|
||||||
|
|
||||||
import android.content.res.Resources;
|
import android.content.res.Resources;
|
||||||
import android.content.res.Resources.Theme;
|
import android.content.res.Resources.Theme;
|
||||||
+1
-1
@@ -13,7 +13,7 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.android.launcher3.icons;
|
package com.android.uiuios.icons;
|
||||||
|
|
||||||
import android.graphics.Bitmap;
|
import android.graphics.Bitmap;
|
||||||
import android.graphics.Rect;
|
import android.graphics.Rect;
|
||||||
+1
-1
@@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.android.launcher3.icons;
|
package com.android.uiuios.icons;
|
||||||
|
|
||||||
import android.annotation.TargetApi;
|
import android.annotation.TargetApi;
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
+2
-2
@@ -14,9 +14,9 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.android.launcher3.icons;
|
package com.android.uiuios.icons;
|
||||||
|
|
||||||
import static com.android.launcher3.icons.GraphicsUtils.setColorAlphaBound;
|
import static com.android.uiuios.icons.GraphicsUtils.setColorAlphaBound;
|
||||||
|
|
||||||
import android.graphics.Bitmap;
|
import android.graphics.Bitmap;
|
||||||
import android.graphics.Bitmap.Config;
|
import android.graphics.Bitmap.Config;
|
||||||
+10
-10
@@ -13,11 +13,11 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.android.launcher3.icons.cache;
|
package com.android.uiuios.icons.cache;
|
||||||
|
|
||||||
import static com.android.launcher3.icons.BaseIconFactory.getFullResDefaultActivityIcon;
|
import static com.android.uiuios.icons.BaseIconFactory.getFullResDefaultActivityIcon;
|
||||||
import static com.android.launcher3.icons.BitmapInfo.LOW_RES_ICON;
|
import static com.android.uiuios.icons.BitmapInfo.LOW_RES_ICON;
|
||||||
import static com.android.launcher3.icons.GraphicsUtils.setColorAlphaBound;
|
import static com.android.uiuios.icons.GraphicsUtils.setColorAlphaBound;
|
||||||
|
|
||||||
import android.content.ComponentName;
|
import android.content.ComponentName;
|
||||||
import android.content.ContentValues;
|
import android.content.ContentValues;
|
||||||
@@ -42,12 +42,12 @@ import android.os.UserHandle;
|
|||||||
import android.text.TextUtils;
|
import android.text.TextUtils;
|
||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
|
|
||||||
import com.android.launcher3.icons.BaseIconFactory;
|
import com.android.uiuios.icons.BaseIconFactory;
|
||||||
import com.android.launcher3.icons.BitmapInfo;
|
import com.android.uiuios.icons.BitmapInfo;
|
||||||
import com.android.launcher3.icons.BitmapRenderer;
|
import com.android.uiuios.icons.BitmapRenderer;
|
||||||
import com.android.launcher3.icons.GraphicsUtils;
|
import com.android.uiuios.icons.GraphicsUtils;
|
||||||
import com.android.launcher3.util.ComponentKey;
|
import com.android.uiuios.util.ComponentKey;
|
||||||
import com.android.launcher3.util.SQLiteCacheHelper;
|
import com.android.uiuios.util.SQLiteCacheHelper;
|
||||||
|
|
||||||
import java.util.AbstractMap;
|
import java.util.AbstractMap;
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
+2
-2
@@ -13,13 +13,13 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.android.launcher3.icons.cache;
|
package com.android.uiuios.icons.cache;
|
||||||
|
|
||||||
import android.content.ComponentName;
|
import android.content.ComponentName;
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.os.UserHandle;
|
import android.os.UserHandle;
|
||||||
|
|
||||||
import com.android.launcher3.icons.BitmapInfo;
|
import com.android.uiuios.icons.BitmapInfo;
|
||||||
|
|
||||||
public interface CachingLogic<T> {
|
public interface CachingLogic<T> {
|
||||||
|
|
||||||
+1
-1
@@ -13,7 +13,7 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.android.launcher3.icons.cache;
|
package com.android.uiuios.icons.cache;
|
||||||
|
|
||||||
import android.os.Handler;
|
import android.os.Handler;
|
||||||
|
|
||||||
+2
-2
@@ -13,7 +13,7 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.android.launcher3.icons.cache;
|
package com.android.uiuios.icons.cache;
|
||||||
|
|
||||||
import android.content.ComponentName;
|
import android.content.ComponentName;
|
||||||
import android.content.pm.ApplicationInfo;
|
import android.content.pm.ApplicationInfo;
|
||||||
@@ -27,7 +27,7 @@ import android.text.TextUtils;
|
|||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
import android.util.SparseBooleanArray;
|
import android.util.SparseBooleanArray;
|
||||||
|
|
||||||
import com.android.launcher3.icons.cache.BaseIconCache.IconDB;
|
import com.android.uiuios.icons.cache.BaseIconCache.IconDB;
|
||||||
|
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
package com.android.launcher3.util;
|
package com.android.uiuios.util;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Copyright (C) 2015 The Android Open Source Project
|
* Copyright (C) 2015 The Android Open Source Project
|
||||||
+1
-1
@@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.android.launcher3.util;
|
package com.android.uiuios.util;
|
||||||
|
|
||||||
import static android.database.sqlite.SQLiteDatabase.NO_LOCALIZED_COLLATORS;
|
import static android.database.sqlite.SQLiteDatabase.NO_LOCALIZED_COLLATORS;
|
||||||
|
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
package com.android.launcher3.util;
|
package com.android.uiuios.util;
|
||||||
|
|
||||||
import android.content.ContentValues;
|
import android.content.ContentValues;
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
+1
-1
@@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.android.launcher3.icons;
|
package com.android.uiuios.icons;
|
||||||
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
|
|
||||||
+2
-2
@@ -13,7 +13,7 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.android.launcher3.icons;
|
package com.android.uiuios.icons;
|
||||||
|
|
||||||
import static android.content.Intent.ACTION_MANAGED_PROFILE_ADDED;
|
import static android.content.Intent.ACTION_MANAGED_PROFILE_ADDED;
|
||||||
import static android.content.Intent.ACTION_MANAGED_PROFILE_REMOVED;
|
import static android.content.Intent.ACTION_MANAGED_PROFILE_REMOVED;
|
||||||
@@ -32,7 +32,7 @@ import android.os.UserHandle;
|
|||||||
import android.os.UserManager;
|
import android.os.UserManager;
|
||||||
import android.util.SparseLongArray;
|
import android.util.SparseLongArray;
|
||||||
|
|
||||||
import com.android.launcher3.icons.cache.BaseIconCache;
|
import com.android.uiuios.icons.cache.BaseIconCache;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Wrapper class to provide access to {@link BaseIconFactory} and also to provide pool of this class
|
* Wrapper class to provide access to {@link BaseIconFactory} and also to provide pool of this class
|
||||||
+1
-1
@@ -43,7 +43,7 @@ def adb_root_remount():
|
|||||||
def pull_file(fn):
|
def pull_file(fn):
|
||||||
print "pull_file: " + fn
|
print "pull_file: " + fn
|
||||||
rv = os.system("adb pull"
|
rv = os.system("adb pull"
|
||||||
+ " /data/data/com.android.launcher3/databases/launcher.db"
|
+ " /data/data/com.android.uiuios/databases/launcher.db"
|
||||||
+ " " + fn);
|
+ " " + fn);
|
||||||
if rv != 0:
|
if rv != 0:
|
||||||
print "adb pull failed"
|
print "adb pull failed"
|
||||||
|
|||||||
+7
-7
@@ -1,14 +1,14 @@
|
|||||||
-keep,allowshrinking,allowoptimization class com.android.launcher3.** {
|
-keep,allowshrinking,allowoptimization class com.android.uiuios.** {
|
||||||
*;
|
*;
|
||||||
}
|
}
|
||||||
|
|
||||||
# Proguard will strip new callbacks in LauncherApps.Callback from
|
# Proguard will strip new callbacks in LauncherApps.Callback from
|
||||||
# WrappedCallback if compiled against an older SDK. Don't let this happen.
|
# WrappedCallback if compiled against an older SDK. Don't let this happen.
|
||||||
-keep class com.android.launcher3.compat.** {
|
-keep class com.android.uiuios.compat.** {
|
||||||
*;
|
*;
|
||||||
}
|
}
|
||||||
|
|
||||||
-keep class com.android.launcher3.graphics.ShadowDrawable {
|
-keep class com.android.uiuios.graphics.ShadowDrawable {
|
||||||
public <init>(...);
|
public <init>(...);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -29,19 +29,19 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
## Prevent obfuscating various overridable objects
|
## Prevent obfuscating various overridable objects
|
||||||
-keep class ** implements com.android.launcher3.util.ResourceBasedOverride {
|
-keep class ** implements com.android.uiuios.util.ResourceBasedOverride {
|
||||||
public <init>(...);
|
public <init>(...);
|
||||||
}
|
}
|
||||||
|
|
||||||
-keep interface com.android.launcher3.userevent.nano.LauncherLogProto.** {
|
-keep interface com.android.uiuios.userevent.nano.LauncherLogProto.** {
|
||||||
*;
|
*;
|
||||||
}
|
}
|
||||||
-keep interface com.android.launcher3.model.nano.LauncherDumpProto.** {
|
-keep interface com.android.uiuios.model.nano.LauncherDumpProto.** {
|
||||||
*;
|
*;
|
||||||
}
|
}
|
||||||
|
|
||||||
# Discovery bounce animation
|
# Discovery bounce animation
|
||||||
-keep class com.android.launcher3.allapps.DiscoveryBounce$VerticalProgressWrapper {
|
-keep class com.android.uiuios.allapps.DiscoveryBounce$VerticalProgressWrapper {
|
||||||
public void setProgress(float);
|
public void setProgress(float);
|
||||||
public float getProgress();
|
public float getProgress();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
*/
|
*/
|
||||||
syntax = "proto2";
|
syntax = "proto2";
|
||||||
|
|
||||||
option java_package = "com.android.launcher3.userevent";
|
option java_package = "com.android.uiuios.userevent";
|
||||||
option java_outer_classname = "LauncherLogExtensions";
|
option java_outer_classname = "LauncherLogExtensions";
|
||||||
|
|
||||||
package userevent;
|
package userevent;
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
*/
|
*/
|
||||||
syntax = "proto2";
|
syntax = "proto2";
|
||||||
|
|
||||||
option java_package = "com.android.launcher3.model";
|
option java_package = "com.android.uiuios.model";
|
||||||
option java_outer_classname = "LauncherDumpProto";
|
option java_outer_classname = "LauncherDumpProto";
|
||||||
|
|
||||||
package model;
|
package model;
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ syntax = "proto2";
|
|||||||
|
|
||||||
import "launcher_log_extension.proto";
|
import "launcher_log_extension.proto";
|
||||||
|
|
||||||
option java_package = "com.android.launcher3.userevent";
|
option java_package = "com.android.uiuios.userevent";
|
||||||
option java_outer_classname = "LauncherLogProto";
|
option java_outer_classname = "LauncherLogProto";
|
||||||
|
|
||||||
package userevent;
|
package userevent;
|
||||||
|
|||||||
@@ -20,12 +20,12 @@
|
|||||||
<manifest
|
<manifest
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
package="com.android.launcher3" >
|
package="com.android.uiuios" >
|
||||||
|
|
||||||
<uses-permission android:name="android.permission.CONTROL_REMOTE_APP_TRANSITION_ANIMATIONS" />
|
<uses-permission android:name="android.permission.CONTROL_REMOTE_APP_TRANSITION_ANIMATIONS" />
|
||||||
|
|
||||||
<application
|
<application
|
||||||
android:backupAgent="com.android.launcher3.LauncherBackupAgent"
|
android:backupAgent="com.android.uiuios.LauncherBackupAgent"
|
||||||
android:fullBackupOnly="true"
|
android:fullBackupOnly="true"
|
||||||
android:fullBackupContent="@xml/backupscheme"
|
android:fullBackupContent="@xml/backupscheme"
|
||||||
android:hardwareAccelerated="true"
|
android:hardwareAccelerated="true"
|
||||||
@@ -74,11 +74,11 @@
|
|||||||
</provider>
|
</provider>
|
||||||
|
|
||||||
<service
|
<service
|
||||||
android:name="com.android.launcher3.uioverrides.dynamicui.WallpaperManagerCompatVL$ColorExtractionService"
|
android:name="com.android.uiuios.uioverrides.dynamicui.WallpaperManagerCompatVL$ColorExtractionService"
|
||||||
tools:node="remove" />
|
tools:node="remove" />
|
||||||
|
|
||||||
<activity
|
<activity
|
||||||
android:name="com.android.launcher3.proxy.ProxyActivityStarter"
|
android:name="com.android.uiuios.proxy.ProxyActivityStarter"
|
||||||
android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen"
|
android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen"
|
||||||
android:launchMode="singleTask"
|
android:launchMode="singleTask"
|
||||||
android:clearTaskOnLaunch="true"
|
android:clearTaskOnLaunch="true"
|
||||||
|
|||||||
@@ -1,13 +1,13 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<merge xmlns:android="http://schemas.android.com/apk/res/android" >
|
<merge xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||||
|
|
||||||
<com.android.launcher3.appprediction.PredictionRowView
|
<com.android.uiuios.appprediction.PredictionRowView
|
||||||
android:id="@+id/prediction_row"
|
android:id="@+id/prediction_row"
|
||||||
android:accessibilityPaneTitle="@string/title_app_suggestions"
|
android:accessibilityPaneTitle="@string/title_app_suggestions"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content" />
|
android:layout_height="wrap_content" />
|
||||||
|
|
||||||
<com.android.launcher3.appprediction.AppsDividerView
|
<com.android.uiuios.appprediction.AppsDividerView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:id="@+id/apps_divider_view" />
|
android:id="@+id/apps_divider_view" />
|
||||||
|
|||||||
@@ -17,11 +17,11 @@
|
|||||||
<!-- Class overrides for launcher with quickstep. -->
|
<!-- Class overrides for launcher with quickstep. -->
|
||||||
|
|
||||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||||
<string name="app_transition_manager_class" translatable="false">com.android.launcher3.LauncherAppTransitionManagerImpl</string>
|
<string name="app_transition_manager_class" translatable="false">com.android.uiuios.LauncherAppTransitionManagerImpl</string>
|
||||||
|
|
||||||
<string name="instant_app_resolver_class" translatable="false">com.android.quickstep.InstantAppResolverImpl</string>
|
<string name="instant_app_resolver_class" translatable="false">com.android.quickstep.InstantAppResolverImpl</string>
|
||||||
|
|
||||||
<string name="app_launch_tracker_class" translatable="false">com.android.launcher3.appprediction.PredictionAppTracker</string>
|
<string name="app_launch_tracker_class" translatable="false">com.android.uiuios.appprediction.PredictionAppTracker</string>
|
||||||
|
|
||||||
<string name="main_process_initializer_class" translatable="false">com.android.quickstep.QuickstepProcessInitializer</string>
|
<string name="main_process_initializer_class" translatable="false">com.android.quickstep.QuickstepProcessInitializer</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
+10
-10
@@ -14,13 +14,13 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.android.launcher3;
|
package com.android.uiuios;
|
||||||
|
|
||||||
import static com.android.launcher3.LauncherAnimUtils.VIEW_TRANSLATE_X;
|
import static com.android.uiuios.LauncherAnimUtils.VIEW_TRANSLATE_X;
|
||||||
import static com.android.launcher3.LauncherState.NORMAL;
|
import static com.android.uiuios.LauncherState.NORMAL;
|
||||||
import static com.android.launcher3.allapps.AllAppsTransitionController.ALL_APPS_PROGRESS;
|
import static com.android.uiuios.allapps.AllAppsTransitionController.ALL_APPS_PROGRESS;
|
||||||
import static com.android.launcher3.anim.Interpolators.AGGRESSIVE_EASE;
|
import static com.android.uiuios.anim.Interpolators.AGGRESSIVE_EASE;
|
||||||
import static com.android.launcher3.anim.Interpolators.LINEAR;
|
import static com.android.uiuios.anim.Interpolators.LINEAR;
|
||||||
import static com.android.quickstep.TaskViewUtils.findTaskViewToLaunch;
|
import static com.android.quickstep.TaskViewUtils.findTaskViewToLaunch;
|
||||||
import static com.android.quickstep.TaskViewUtils.getRecentsWindowAnimator;
|
import static com.android.quickstep.TaskViewUtils.getRecentsWindowAnimator;
|
||||||
|
|
||||||
@@ -38,10 +38,10 @@ import android.view.View;
|
|||||||
import androidx.annotation.NonNull;
|
import androidx.annotation.NonNull;
|
||||||
import androidx.annotation.Nullable;
|
import androidx.annotation.Nullable;
|
||||||
|
|
||||||
import com.android.launcher3.allapps.AllAppsTransitionController;
|
import com.android.uiuios.allapps.AllAppsTransitionController;
|
||||||
import com.android.launcher3.anim.AnimatorPlaybackController;
|
import com.android.uiuios.anim.AnimatorPlaybackController;
|
||||||
import com.android.launcher3.anim.Interpolators;
|
import com.android.uiuios.anim.Interpolators;
|
||||||
import com.android.launcher3.anim.SpringObjectAnimator;
|
import com.android.uiuios.anim.SpringObjectAnimator;
|
||||||
import com.android.quickstep.util.ClipAnimationHelper;
|
import com.android.quickstep.util.ClipAnimationHelper;
|
||||||
import com.android.quickstep.views.RecentsView;
|
import com.android.quickstep.views.RecentsView;
|
||||||
import com.android.quickstep.views.TaskView;
|
import com.android.quickstep.views.TaskView;
|
||||||
|
|||||||
+3
-3
@@ -13,10 +13,10 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.android.launcher3;
|
package com.android.uiuios;
|
||||||
|
|
||||||
import com.android.launcher3.appprediction.PredictionUiStateManager;
|
import com.android.uiuios.appprediction.PredictionUiStateManager;
|
||||||
import com.android.launcher3.appprediction.PredictionUiStateManager.Client;
|
import com.android.uiuios.appprediction.PredictionUiStateManager.Client;
|
||||||
|
|
||||||
import java.util.function.BiPredicate;
|
import java.util.function.BiPredicate;
|
||||||
|
|
||||||
|
|||||||
+13
-13
@@ -14,9 +14,9 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.android.launcher3.appprediction;
|
package com.android.uiuios.appprediction;
|
||||||
|
|
||||||
import static com.android.launcher3.LauncherState.ALL_APPS;
|
import static com.android.uiuios.LauncherState.ALL_APPS;
|
||||||
import static com.android.quickstep.logging.UserEventDispatcherExtension.ALL_APPS_PREDICTION_TIPS;
|
import static com.android.quickstep.logging.UserEventDispatcherExtension.ALL_APPS_PREDICTION_TIPS;
|
||||||
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
@@ -33,17 +33,17 @@ import android.view.ViewGroup;
|
|||||||
import android.widget.LinearLayout;
|
import android.widget.LinearLayout;
|
||||||
import android.widget.TextView;
|
import android.widget.TextView;
|
||||||
|
|
||||||
import com.android.launcher3.AbstractFloatingView;
|
import com.android.uiuios.AbstractFloatingView;
|
||||||
import com.android.launcher3.Launcher;
|
import com.android.uiuios.Launcher;
|
||||||
import com.android.launcher3.LauncherState;
|
import com.android.uiuios.LauncherState;
|
||||||
import com.android.launcher3.LauncherStateManager;
|
import com.android.uiuios.LauncherStateManager;
|
||||||
import com.android.launcher3.R;
|
import com.android.uiuios.R;
|
||||||
import com.android.launcher3.Utilities;
|
import com.android.uiuios.Utilities;
|
||||||
import com.android.launcher3.allapps.FloatingHeaderView;
|
import com.android.uiuios.allapps.FloatingHeaderView;
|
||||||
import com.android.launcher3.anim.Interpolators;
|
import com.android.uiuios.anim.Interpolators;
|
||||||
import com.android.launcher3.compat.UserManagerCompat;
|
import com.android.uiuios.compat.UserManagerCompat;
|
||||||
import com.android.launcher3.dragndrop.DragLayer;
|
import com.android.uiuios.dragndrop.DragLayer;
|
||||||
import com.android.launcher3.graphics.TriangleShape;
|
import com.android.uiuios.graphics.TriangleShape;
|
||||||
import com.android.systemui.shared.system.LauncherEventUtil;
|
import com.android.systemui.shared.system.LauncherEventUtil;
|
||||||
|
|
||||||
import androidx.core.content.ContextCompat;
|
import androidx.core.content.ContextCompat;
|
||||||
|
|||||||
+11
-11
@@ -14,9 +14,9 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.android.launcher3.appprediction;
|
package com.android.uiuios.appprediction;
|
||||||
|
|
||||||
import static com.android.launcher3.LauncherState.ALL_APPS;
|
import static com.android.uiuios.LauncherState.ALL_APPS;
|
||||||
|
|
||||||
import android.annotation.TargetApi;
|
import android.annotation.TargetApi;
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
@@ -31,15 +31,15 @@ import android.util.AttributeSet;
|
|||||||
import android.view.View;
|
import android.view.View;
|
||||||
import android.view.animation.Interpolator;
|
import android.view.animation.Interpolator;
|
||||||
|
|
||||||
import com.android.launcher3.DeviceProfile;
|
import com.android.uiuios.DeviceProfile;
|
||||||
import com.android.launcher3.Launcher;
|
import com.android.uiuios.Launcher;
|
||||||
import com.android.launcher3.LauncherState;
|
import com.android.uiuios.LauncherState;
|
||||||
import com.android.launcher3.LauncherStateManager;
|
import com.android.uiuios.LauncherStateManager;
|
||||||
import com.android.launcher3.R;
|
import com.android.uiuios.R;
|
||||||
import com.android.launcher3.allapps.FloatingHeaderRow;
|
import com.android.uiuios.allapps.FloatingHeaderRow;
|
||||||
import com.android.launcher3.allapps.FloatingHeaderView;
|
import com.android.uiuios.allapps.FloatingHeaderView;
|
||||||
import com.android.launcher3.anim.PropertySetter;
|
import com.android.uiuios.anim.PropertySetter;
|
||||||
import com.android.launcher3.util.Themes;
|
import com.android.uiuios.util.Themes;
|
||||||
|
|
||||||
import androidx.annotation.ColorInt;
|
import androidx.annotation.ColorInt;
|
||||||
import androidx.core.content.ContextCompat;
|
import androidx.core.content.ContextCompat;
|
||||||
|
|||||||
+6
-6
@@ -14,17 +14,17 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.android.launcher3.appprediction;
|
package com.android.uiuios.appprediction;
|
||||||
|
|
||||||
import static com.android.quickstep.InstantAppResolverImpl.COMPONENT_CLASS_MARKER;
|
import static com.android.quickstep.InstantAppResolverImpl.COMPONENT_CLASS_MARKER;
|
||||||
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
|
|
||||||
import com.android.launcher3.AppInfo;
|
import com.android.uiuios.AppInfo;
|
||||||
import com.android.launcher3.ItemInfoWithIcon;
|
import com.android.uiuios.ItemInfoWithIcon;
|
||||||
import com.android.launcher3.allapps.AllAppsStore;
|
import com.android.uiuios.allapps.AllAppsStore;
|
||||||
import com.android.launcher3.shortcuts.ShortcutKey;
|
import com.android.uiuios.shortcuts.ShortcutKey;
|
||||||
import com.android.launcher3.util.ComponentKey;
|
import com.android.uiuios.util.ComponentKey;
|
||||||
|
|
||||||
public class ComponentKeyMapper {
|
public class ComponentKeyMapper {
|
||||||
|
|
||||||
|
|||||||
+9
-9
@@ -13,7 +13,7 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.android.launcher3.appprediction;
|
package com.android.uiuios.appprediction;
|
||||||
|
|
||||||
import static android.content.pm.PackageManager.MATCH_INSTANT;
|
import static android.content.pm.PackageManager.MATCH_INSTANT;
|
||||||
|
|
||||||
@@ -30,14 +30,14 @@ import android.os.Message;
|
|||||||
import android.util.ArrayMap;
|
import android.util.ArrayMap;
|
||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
|
|
||||||
import com.android.launcher3.LauncherAppState;
|
import com.android.uiuios.LauncherAppState;
|
||||||
import com.android.launcher3.LauncherModel;
|
import com.android.uiuios.LauncherModel;
|
||||||
import com.android.launcher3.WorkspaceItemInfo;
|
import com.android.uiuios.WorkspaceItemInfo;
|
||||||
import com.android.launcher3.icons.IconCache;
|
import com.android.uiuios.icons.IconCache;
|
||||||
import com.android.launcher3.icons.LauncherIcons;
|
import com.android.uiuios.icons.LauncherIcons;
|
||||||
import com.android.launcher3.shortcuts.DeepShortcutManager;
|
import com.android.uiuios.shortcuts.DeepShortcutManager;
|
||||||
import com.android.launcher3.shortcuts.ShortcutKey;
|
import com.android.uiuios.shortcuts.ShortcutKey;
|
||||||
import com.android.launcher3.util.InstantAppResolver;
|
import com.android.uiuios.util.InstantAppResolver;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
|
|||||||
+4
-4
@@ -14,16 +14,16 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.android.launcher3.appprediction;
|
package com.android.uiuios.appprediction;
|
||||||
|
|
||||||
import static com.android.quickstep.InstantAppResolverImpl.COMPONENT_CLASS_MARKER;
|
import static com.android.quickstep.InstantAppResolverImpl.COMPONENT_CLASS_MARKER;
|
||||||
|
|
||||||
import android.content.ComponentName;
|
import android.content.ComponentName;
|
||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
|
|
||||||
import com.android.launcher3.AppInfo;
|
import com.android.uiuios.AppInfo;
|
||||||
import com.android.launcher3.LauncherSettings;
|
import com.android.uiuios.LauncherSettings;
|
||||||
import com.android.launcher3.WorkspaceItemInfo;
|
import com.android.uiuios.WorkspaceItemInfo;
|
||||||
|
|
||||||
public class InstantAppItemInfo extends AppInfo {
|
public class InstantAppItemInfo extends AppInfo {
|
||||||
|
|
||||||
|
|||||||
+6
-6
@@ -13,9 +13,9 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.android.launcher3.appprediction;
|
package com.android.uiuios.appprediction;
|
||||||
|
|
||||||
import static com.android.launcher3.InvariantDeviceProfile.CHANGE_FLAG_GRID;
|
import static com.android.uiuios.InvariantDeviceProfile.CHANGE_FLAG_GRID;
|
||||||
|
|
||||||
import android.annotation.TargetApi;
|
import android.annotation.TargetApi;
|
||||||
import android.app.prediction.AppPredictionContext;
|
import android.app.prediction.AppPredictionContext;
|
||||||
@@ -34,10 +34,10 @@ import android.os.UserHandle;
|
|||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
|
|
||||||
import androidx.annotation.Nullable;
|
import androidx.annotation.Nullable;
|
||||||
import com.android.launcher3.InvariantDeviceProfile;
|
import com.android.uiuios.InvariantDeviceProfile;
|
||||||
import com.android.launcher3.appprediction.PredictionUiStateManager.Client;
|
import com.android.uiuios.appprediction.PredictionUiStateManager.Client;
|
||||||
import com.android.launcher3.model.AppLaunchTracker;
|
import com.android.uiuios.model.AppLaunchTracker;
|
||||||
import com.android.launcher3.util.UiThreadHelper;
|
import com.android.uiuios.util.UiThreadHelper;
|
||||||
|
|
||||||
import androidx.annotation.UiThread;
|
import androidx.annotation.UiThread;
|
||||||
import androidx.annotation.WorkerThread;
|
import androidx.annotation.WorkerThread;
|
||||||
|
|||||||
+27
-27
@@ -14,10 +14,10 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.android.launcher3.appprediction;
|
package com.android.uiuios.appprediction;
|
||||||
|
|
||||||
import static com.android.launcher3.anim.Interpolators.LINEAR;
|
import static com.android.uiuios.anim.Interpolators.LINEAR;
|
||||||
import static com.android.launcher3.icons.GraphicsUtils.setColorAlphaBound;
|
import static com.android.uiuios.icons.GraphicsUtils.setColorAlphaBound;
|
||||||
|
|
||||||
import android.annotation.TargetApi;
|
import android.annotation.TargetApi;
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
@@ -32,30 +32,30 @@ import android.view.View;
|
|||||||
import android.view.animation.Interpolator;
|
import android.view.animation.Interpolator;
|
||||||
import android.widget.LinearLayout;
|
import android.widget.LinearLayout;
|
||||||
|
|
||||||
import com.android.launcher3.AppInfo;
|
import com.android.uiuios.AppInfo;
|
||||||
import com.android.launcher3.BubbleTextView;
|
import com.android.uiuios.BubbleTextView;
|
||||||
import com.android.launcher3.DeviceProfile;
|
import com.android.uiuios.DeviceProfile;
|
||||||
import com.android.launcher3.DeviceProfile.OnDeviceProfileChangeListener;
|
import com.android.uiuios.DeviceProfile.OnDeviceProfileChangeListener;
|
||||||
import com.android.launcher3.ItemInfo;
|
import com.android.uiuios.ItemInfo;
|
||||||
import com.android.launcher3.ItemInfoWithIcon;
|
import com.android.uiuios.ItemInfoWithIcon;
|
||||||
import com.android.launcher3.Launcher;
|
import com.android.uiuios.Launcher;
|
||||||
import com.android.launcher3.LauncherAppState;
|
import com.android.uiuios.LauncherAppState;
|
||||||
import com.android.launcher3.R;
|
import com.android.uiuios.R;
|
||||||
import com.android.launcher3.WorkspaceItemInfo;
|
import com.android.uiuios.WorkspaceItemInfo;
|
||||||
import com.android.launcher3.allapps.AllAppsStore;
|
import com.android.uiuios.allapps.AllAppsStore;
|
||||||
import com.android.launcher3.allapps.FloatingHeaderRow;
|
import com.android.uiuios.allapps.FloatingHeaderRow;
|
||||||
import com.android.launcher3.allapps.FloatingHeaderView;
|
import com.android.uiuios.allapps.FloatingHeaderView;
|
||||||
import com.android.launcher3.anim.AlphaUpdateListener;
|
import com.android.uiuios.anim.AlphaUpdateListener;
|
||||||
import com.android.launcher3.anim.PropertySetter;
|
import com.android.uiuios.anim.PropertySetter;
|
||||||
import com.android.launcher3.config.FeatureFlags;
|
import com.android.uiuios.config.FeatureFlags;
|
||||||
import com.android.launcher3.keyboard.FocusIndicatorHelper;
|
import com.android.uiuios.keyboard.FocusIndicatorHelper;
|
||||||
import com.android.launcher3.keyboard.FocusIndicatorHelper.SimpleFocusIndicatorHelper;
|
import com.android.uiuios.keyboard.FocusIndicatorHelper.SimpleFocusIndicatorHelper;
|
||||||
import com.android.launcher3.logging.StatsLogUtils.LogContainerProvider;
|
import com.android.uiuios.logging.StatsLogUtils.LogContainerProvider;
|
||||||
import com.android.launcher3.model.AppLaunchTracker;
|
import com.android.uiuios.model.AppLaunchTracker;
|
||||||
import com.android.launcher3.touch.ItemClickHandler;
|
import com.android.uiuios.touch.ItemClickHandler;
|
||||||
import com.android.launcher3.touch.ItemLongClickListener;
|
import com.android.uiuios.touch.ItemLongClickListener;
|
||||||
import com.android.launcher3.userevent.nano.LauncherLogProto;
|
import com.android.uiuios.userevent.nano.LauncherLogProto;
|
||||||
import com.android.launcher3.util.Themes;
|
import com.android.uiuios.util.Themes;
|
||||||
import com.android.quickstep.AnimatedFloat;
|
import com.android.quickstep.AnimatedFloat;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
|||||||
+17
-17
@@ -14,10 +14,10 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.android.launcher3.appprediction;
|
package com.android.uiuios.appprediction;
|
||||||
|
|
||||||
import static com.android.launcher3.LauncherState.BACKGROUND_APP;
|
import static com.android.uiuios.LauncherState.BACKGROUND_APP;
|
||||||
import static com.android.launcher3.LauncherState.OVERVIEW;
|
import static com.android.uiuios.LauncherState.OVERVIEW;
|
||||||
import static com.android.quickstep.InstantAppResolverImpl.COMPONENT_CLASS_MARKER;
|
import static com.android.quickstep.InstantAppResolverImpl.COMPONENT_CLASS_MARKER;
|
||||||
|
|
||||||
import android.app.prediction.AppPredictor;
|
import android.app.prediction.AppPredictor;
|
||||||
@@ -26,20 +26,20 @@ import android.content.ComponentName;
|
|||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.view.ViewTreeObserver.OnGlobalLayoutListener;
|
import android.view.ViewTreeObserver.OnGlobalLayoutListener;
|
||||||
|
|
||||||
import com.android.launcher3.AppInfo;
|
import com.android.uiuios.AppInfo;
|
||||||
import com.android.launcher3.InvariantDeviceProfile;
|
import com.android.uiuios.InvariantDeviceProfile;
|
||||||
import com.android.launcher3.InvariantDeviceProfile.OnIDPChangeListener;
|
import com.android.uiuios.InvariantDeviceProfile.OnIDPChangeListener;
|
||||||
import com.android.launcher3.ItemInfoWithIcon;
|
import com.android.uiuios.ItemInfoWithIcon;
|
||||||
import com.android.launcher3.Launcher;
|
import com.android.uiuios.Launcher;
|
||||||
import com.android.launcher3.LauncherAppState;
|
import com.android.uiuios.LauncherAppState;
|
||||||
import com.android.launcher3.Utilities;
|
import com.android.uiuios.Utilities;
|
||||||
import com.android.launcher3.allapps.AllAppsContainerView;
|
import com.android.uiuios.allapps.AllAppsContainerView;
|
||||||
import com.android.launcher3.allapps.AllAppsStore.OnUpdateListener;
|
import com.android.uiuios.allapps.AllAppsStore.OnUpdateListener;
|
||||||
import com.android.launcher3.icons.IconCache;
|
import com.android.uiuios.icons.IconCache;
|
||||||
import com.android.launcher3.icons.IconCache.ItemInfoUpdateReceiver;
|
import com.android.uiuios.icons.IconCache.ItemInfoUpdateReceiver;
|
||||||
import com.android.launcher3.shortcuts.ShortcutKey;
|
import com.android.uiuios.shortcuts.ShortcutKey;
|
||||||
import com.android.launcher3.util.ComponentKey;
|
import com.android.uiuios.util.ComponentKey;
|
||||||
import com.android.launcher3.util.MainThreadInitializedObject;
|
import com.android.uiuios.util.MainThreadInitializedObject;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
|
|||||||
+23
-23
@@ -14,36 +14,36 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.android.launcher3.uioverrides;
|
package com.android.uiuios.uioverrides;
|
||||||
|
|
||||||
import static com.android.launcher3.LauncherState.NORMAL;
|
import static com.android.uiuios.LauncherState.NORMAL;
|
||||||
import static com.android.launcher3.LauncherState.OVERVIEW;
|
import static com.android.uiuios.LauncherState.OVERVIEW;
|
||||||
import static com.android.quickstep.SysUINavigationMode.Mode.NO_BUTTON;
|
import static com.android.quickstep.SysUINavigationMode.Mode.NO_BUTTON;
|
||||||
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.graphics.Rect;
|
import android.graphics.Rect;
|
||||||
import android.view.Gravity;
|
import android.view.Gravity;
|
||||||
|
|
||||||
import com.android.launcher3.DeviceProfile;
|
import com.android.uiuios.DeviceProfile;
|
||||||
import com.android.launcher3.Launcher;
|
import com.android.uiuios.Launcher;
|
||||||
import com.android.launcher3.LauncherState;
|
import com.android.uiuios.LauncherState;
|
||||||
import com.android.launcher3.LauncherStateManager.StateHandler;
|
import com.android.uiuios.LauncherStateManager.StateHandler;
|
||||||
import com.android.launcher3.Utilities;
|
import com.android.uiuios.Utilities;
|
||||||
import com.android.launcher3.anim.AnimatorPlaybackController;
|
import com.android.uiuios.anim.AnimatorPlaybackController;
|
||||||
import com.android.launcher3.config.FeatureFlags;
|
import com.android.uiuios.config.FeatureFlags;
|
||||||
import com.android.launcher3.graphics.RotationMode;
|
import com.android.uiuios.graphics.RotationMode;
|
||||||
import com.android.launcher3.uioverrides.touchcontrollers.FlingAndHoldTouchController;
|
import com.android.uiuios.uioverrides.touchcontrollers.FlingAndHoldTouchController;
|
||||||
import com.android.launcher3.uioverrides.touchcontrollers.LandscapeEdgeSwipeController;
|
import com.android.uiuios.uioverrides.touchcontrollers.LandscapeEdgeSwipeController;
|
||||||
import com.android.launcher3.uioverrides.touchcontrollers.NavBarToHomeTouchController;
|
import com.android.uiuios.uioverrides.touchcontrollers.NavBarToHomeTouchController;
|
||||||
import com.android.launcher3.uioverrides.touchcontrollers.OverviewToAllAppsTouchController;
|
import com.android.uiuios.uioverrides.touchcontrollers.OverviewToAllAppsTouchController;
|
||||||
import com.android.launcher3.uioverrides.touchcontrollers.PortraitStatesTouchController;
|
import com.android.uiuios.uioverrides.touchcontrollers.PortraitStatesTouchController;
|
||||||
import com.android.launcher3.uioverrides.touchcontrollers.StatusBarTouchController;
|
import com.android.uiuios.uioverrides.touchcontrollers.StatusBarTouchController;
|
||||||
import com.android.launcher3.uioverrides.touchcontrollers.QuickSwitchTouchController;
|
import com.android.uiuios.uioverrides.touchcontrollers.QuickSwitchTouchController;
|
||||||
import com.android.launcher3.uioverrides.touchcontrollers.TaskViewTouchController;
|
import com.android.uiuios.uioverrides.touchcontrollers.TaskViewTouchController;
|
||||||
import com.android.launcher3.uioverrides.touchcontrollers.TransposedQuickSwitchTouchController;
|
import com.android.uiuios.uioverrides.touchcontrollers.TransposedQuickSwitchTouchController;
|
||||||
import com.android.launcher3.util.TouchController;
|
import com.android.uiuios.util.TouchController;
|
||||||
import com.android.launcher3.util.UiThreadHelper;
|
import com.android.uiuios.util.UiThreadHelper;
|
||||||
import com.android.launcher3.util.UiThreadHelper.AsyncCommand;
|
import com.android.uiuios.util.UiThreadHelper.AsyncCommand;
|
||||||
import com.android.quickstep.SysUINavigationMode;
|
import com.android.quickstep.SysUINavigationMode;
|
||||||
import com.android.quickstep.SysUINavigationMode.Mode;
|
import com.android.quickstep.SysUINavigationMode.Mode;
|
||||||
import com.android.quickstep.TouchInteractionService;
|
import com.android.quickstep.TouchInteractionService;
|
||||||
|
|||||||
+8
-8
@@ -13,10 +13,10 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.android.launcher3.uioverrides;
|
package com.android.uiuios.uioverrides;
|
||||||
|
|
||||||
import static com.android.launcher3.LauncherState.RECENTS_CLEAR_ALL_BUTTON;
|
import static com.android.uiuios.LauncherState.RECENTS_CLEAR_ALL_BUTTON;
|
||||||
import static com.android.launcher3.anim.Interpolators.LINEAR;
|
import static com.android.uiuios.anim.Interpolators.LINEAR;
|
||||||
import static com.android.quickstep.views.RecentsView.CONTENT_ALPHA;
|
import static com.android.quickstep.views.RecentsView.CONTENT_ALPHA;
|
||||||
import static com.android.quickstep.views.RecentsView.FULLSCREEN_PROGRESS;
|
import static com.android.quickstep.views.RecentsView.FULLSCREEN_PROGRESS;
|
||||||
|
|
||||||
@@ -27,11 +27,11 @@ import android.util.FloatProperty;
|
|||||||
|
|
||||||
import androidx.annotation.NonNull;
|
import androidx.annotation.NonNull;
|
||||||
|
|
||||||
import com.android.launcher3.Launcher;
|
import com.android.uiuios.Launcher;
|
||||||
import com.android.launcher3.LauncherState;
|
import com.android.uiuios.LauncherState;
|
||||||
import com.android.launcher3.LauncherStateManager.AnimationConfig;
|
import com.android.uiuios.LauncherStateManager.AnimationConfig;
|
||||||
import com.android.launcher3.anim.AnimatorSetBuilder;
|
import com.android.uiuios.anim.AnimatorSetBuilder;
|
||||||
import com.android.launcher3.anim.PropertySetter;
|
import com.android.uiuios.anim.PropertySetter;
|
||||||
import com.android.quickstep.views.ClearAllButton;
|
import com.android.quickstep.views.ClearAllButton;
|
||||||
import com.android.quickstep.views.LauncherRecentsView;
|
import com.android.quickstep.views.LauncherRecentsView;
|
||||||
import com.android.quickstep.views.RecentsView;
|
import com.android.quickstep.views.RecentsView;
|
||||||
|
|||||||
+6
-6
@@ -13,14 +13,14 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.android.launcher3.uioverrides.states;
|
package com.android.uiuios.uioverrides.states;
|
||||||
|
|
||||||
import static com.android.launcher3.LauncherAnimUtils.OVERVIEW_TRANSITION_MS;
|
import static com.android.uiuios.LauncherAnimUtils.OVERVIEW_TRANSITION_MS;
|
||||||
|
|
||||||
import com.android.launcher3.AbstractFloatingView;
|
import com.android.uiuios.AbstractFloatingView;
|
||||||
import com.android.launcher3.Launcher;
|
import com.android.uiuios.Launcher;
|
||||||
import com.android.launcher3.allapps.AllAppsTransitionController;
|
import com.android.uiuios.allapps.AllAppsTransitionController;
|
||||||
import com.android.launcher3.userevent.nano.LauncherLogProto;
|
import com.android.uiuios.userevent.nano.LauncherLogProto;
|
||||||
import com.android.quickstep.util.LayoutUtils;
|
import com.android.quickstep.util.LayoutUtils;
|
||||||
import com.android.quickstep.views.RecentsView;
|
import com.android.quickstep.views.RecentsView;
|
||||||
import com.android.quickstep.views.TaskView;
|
import com.android.quickstep.views.TaskView;
|
||||||
|
|||||||
+9
-9
@@ -13,16 +13,16 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.android.launcher3.uioverrides.states;
|
package com.android.uiuios.uioverrides.states;
|
||||||
import static com.android.launcher3.anim.AnimatorSetBuilder.ANIM_OVERVIEW_FADE;
|
import static com.android.uiuios.anim.AnimatorSetBuilder.ANIM_OVERVIEW_FADE;
|
||||||
import static com.android.launcher3.anim.AnimatorSetBuilder.ANIM_OVERVIEW_TRANSLATE_X;
|
import static com.android.uiuios.anim.AnimatorSetBuilder.ANIM_OVERVIEW_TRANSLATE_X;
|
||||||
import static com.android.launcher3.anim.Interpolators.INSTANT;
|
import static com.android.uiuios.anim.Interpolators.INSTANT;
|
||||||
import static com.android.launcher3.anim.Interpolators.OVERSHOOT_1_7;
|
import static com.android.uiuios.anim.Interpolators.OVERSHOOT_1_7;
|
||||||
|
|
||||||
import com.android.launcher3.Launcher;
|
import com.android.uiuios.Launcher;
|
||||||
import com.android.launcher3.LauncherState;
|
import com.android.uiuios.LauncherState;
|
||||||
import com.android.launcher3.R;
|
import com.android.uiuios.R;
|
||||||
import com.android.launcher3.anim.AnimatorSetBuilder;
|
import com.android.uiuios.anim.AnimatorSetBuilder;
|
||||||
|
|
||||||
public class OverviewPeekState extends OverviewState {
|
public class OverviewPeekState extends OverviewState {
|
||||||
public OverviewPeekState(int id) {
|
public OverviewPeekState(int id) {
|
||||||
|
|||||||
+26
-26
@@ -13,39 +13,39 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.android.launcher3.uioverrides.states;
|
package com.android.uiuios.uioverrides.states;
|
||||||
|
|
||||||
import static android.view.View.VISIBLE;
|
import static android.view.View.VISIBLE;
|
||||||
|
|
||||||
import static com.android.launcher3.LauncherAnimUtils.OVERVIEW_TRANSITION_MS;
|
import static com.android.uiuios.LauncherAnimUtils.OVERVIEW_TRANSITION_MS;
|
||||||
import static com.android.launcher3.LauncherAnimUtils.SCALE_PROPERTY;
|
import static com.android.uiuios.LauncherAnimUtils.SCALE_PROPERTY;
|
||||||
import static com.android.launcher3.anim.AnimatorSetBuilder.ANIM_OVERVIEW_FADE;
|
import static com.android.uiuios.anim.AnimatorSetBuilder.ANIM_OVERVIEW_FADE;
|
||||||
import static com.android.launcher3.anim.AnimatorSetBuilder.ANIM_OVERVIEW_SCALE;
|
import static com.android.uiuios.anim.AnimatorSetBuilder.ANIM_OVERVIEW_SCALE;
|
||||||
import static com.android.launcher3.anim.AnimatorSetBuilder.ANIM_OVERVIEW_TRANSLATE_X;
|
import static com.android.uiuios.anim.AnimatorSetBuilder.ANIM_OVERVIEW_TRANSLATE_X;
|
||||||
import static com.android.launcher3.anim.AnimatorSetBuilder.ANIM_WORKSPACE_FADE;
|
import static com.android.uiuios.anim.AnimatorSetBuilder.ANIM_WORKSPACE_FADE;
|
||||||
import static com.android.launcher3.anim.AnimatorSetBuilder.ANIM_WORKSPACE_SCALE;
|
import static com.android.uiuios.anim.AnimatorSetBuilder.ANIM_WORKSPACE_SCALE;
|
||||||
import static com.android.launcher3.anim.AnimatorSetBuilder.ANIM_WORKSPACE_TRANSLATE;
|
import static com.android.uiuios.anim.AnimatorSetBuilder.ANIM_WORKSPACE_TRANSLATE;
|
||||||
import static com.android.launcher3.anim.Interpolators.ACCEL;
|
import static com.android.uiuios.anim.Interpolators.ACCEL;
|
||||||
import static com.android.launcher3.anim.Interpolators.DEACCEL_2;
|
import static com.android.uiuios.anim.Interpolators.DEACCEL_2;
|
||||||
import static com.android.launcher3.anim.Interpolators.OVERSHOOT_1_2;
|
import static com.android.uiuios.anim.Interpolators.OVERSHOOT_1_2;
|
||||||
import static com.android.launcher3.anim.Interpolators.OVERSHOOT_1_7;
|
import static com.android.uiuios.anim.Interpolators.OVERSHOOT_1_7;
|
||||||
import static com.android.launcher3.logging.LoggerUtils.newContainerTarget;
|
import static com.android.uiuios.logging.LoggerUtils.newContainerTarget;
|
||||||
import static com.android.launcher3.states.RotationHelper.REQUEST_ROTATE;
|
import static com.android.uiuios.states.RotationHelper.REQUEST_ROTATE;
|
||||||
|
|
||||||
import android.graphics.Rect;
|
import android.graphics.Rect;
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
|
|
||||||
import com.android.launcher3.AbstractFloatingView;
|
import com.android.uiuios.AbstractFloatingView;
|
||||||
import com.android.launcher3.DeviceProfile;
|
import com.android.uiuios.DeviceProfile;
|
||||||
import com.android.launcher3.Launcher;
|
import com.android.uiuios.Launcher;
|
||||||
import com.android.launcher3.LauncherState;
|
import com.android.uiuios.LauncherState;
|
||||||
import com.android.launcher3.R;
|
import com.android.uiuios.R;
|
||||||
import com.android.launcher3.Workspace;
|
import com.android.uiuios.Workspace;
|
||||||
import com.android.launcher3.allapps.DiscoveryBounce;
|
import com.android.uiuios.allapps.DiscoveryBounce;
|
||||||
import com.android.launcher3.anim.AnimatorSetBuilder;
|
import com.android.uiuios.anim.AnimatorSetBuilder;
|
||||||
import com.android.launcher3.uioverrides.UiFactory;
|
import com.android.uiuios.uioverrides.UiFactory;
|
||||||
import com.android.launcher3.userevent.nano.LauncherLogProto.Action;
|
import com.android.uiuios.userevent.nano.LauncherLogProto.Action;
|
||||||
import com.android.launcher3.userevent.nano.LauncherLogProto.ContainerType;
|
import com.android.uiuios.userevent.nano.LauncherLogProto.ContainerType;
|
||||||
import com.android.quickstep.SysUINavigationMode;
|
import com.android.quickstep.SysUINavigationMode;
|
||||||
import com.android.quickstep.views.RecentsView;
|
import com.android.quickstep.views.RecentsView;
|
||||||
import com.android.quickstep.views.TaskView;
|
import com.android.quickstep.views.TaskView;
|
||||||
|
|||||||
+3
-3
@@ -13,13 +13,13 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.android.launcher3.uioverrides.states;
|
package com.android.uiuios.uioverrides.states;
|
||||||
|
|
||||||
import android.os.Handler;
|
import android.os.Handler;
|
||||||
import android.os.Looper;
|
import android.os.Looper;
|
||||||
|
|
||||||
import com.android.launcher3.Launcher;
|
import com.android.uiuios.Launcher;
|
||||||
import com.android.launcher3.userevent.nano.LauncherLogProto;
|
import com.android.uiuios.userevent.nano.LauncherLogProto;
|
||||||
import com.android.quickstep.views.RecentsView;
|
import com.android.quickstep.views.RecentsView;
|
||||||
import com.android.quickstep.views.TaskView;
|
import com.android.quickstep.views.TaskView;
|
||||||
|
|
||||||
|
|||||||
+20
-20
@@ -14,23 +14,23 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.android.launcher3.uioverrides.touchcontrollers;
|
package com.android.uiuios.uioverrides.touchcontrollers;
|
||||||
|
|
||||||
import static com.android.launcher3.LauncherState.ALL_APPS;
|
import static com.android.uiuios.LauncherState.ALL_APPS;
|
||||||
import static com.android.launcher3.LauncherState.HOTSEAT_ICONS;
|
import static com.android.uiuios.LauncherState.HOTSEAT_ICONS;
|
||||||
import static com.android.launcher3.LauncherState.NORMAL;
|
import static com.android.uiuios.LauncherState.NORMAL;
|
||||||
import static com.android.launcher3.LauncherState.OVERVIEW;
|
import static com.android.uiuios.LauncherState.OVERVIEW;
|
||||||
import static com.android.launcher3.LauncherState.OVERVIEW_PEEK;
|
import static com.android.uiuios.LauncherState.OVERVIEW_PEEK;
|
||||||
import static com.android.launcher3.LauncherStateManager.ANIM_ALL;
|
import static com.android.uiuios.LauncherStateManager.ANIM_ALL;
|
||||||
import static com.android.launcher3.LauncherStateManager.ATOMIC_OVERVIEW_PEEK_COMPONENT;
|
import static com.android.uiuios.LauncherStateManager.ATOMIC_OVERVIEW_PEEK_COMPONENT;
|
||||||
import static com.android.launcher3.anim.AnimatorSetBuilder.ANIM_HOTSEAT_SCALE;
|
import static com.android.uiuios.anim.AnimatorSetBuilder.ANIM_HOTSEAT_SCALE;
|
||||||
import static com.android.launcher3.anim.AnimatorSetBuilder.ANIM_HOTSEAT_TRANSLATE;
|
import static com.android.uiuios.anim.AnimatorSetBuilder.ANIM_HOTSEAT_TRANSLATE;
|
||||||
import static com.android.launcher3.anim.AnimatorSetBuilder.ANIM_VERTICAL_PROGRESS;
|
import static com.android.uiuios.anim.AnimatorSetBuilder.ANIM_VERTICAL_PROGRESS;
|
||||||
import static com.android.launcher3.anim.AnimatorSetBuilder.ANIM_WORKSPACE_FADE;
|
import static com.android.uiuios.anim.AnimatorSetBuilder.ANIM_WORKSPACE_FADE;
|
||||||
import static com.android.launcher3.anim.AnimatorSetBuilder.ANIM_WORKSPACE_SCALE;
|
import static com.android.uiuios.anim.AnimatorSetBuilder.ANIM_WORKSPACE_SCALE;
|
||||||
import static com.android.launcher3.anim.AnimatorSetBuilder.ANIM_WORKSPACE_TRANSLATE;
|
import static com.android.uiuios.anim.AnimatorSetBuilder.ANIM_WORKSPACE_TRANSLATE;
|
||||||
import static com.android.launcher3.anim.Interpolators.DEACCEL_3;
|
import static com.android.uiuios.anim.Interpolators.DEACCEL_3;
|
||||||
import static com.android.launcher3.anim.Interpolators.OVERSHOOT_1_2;
|
import static com.android.uiuios.anim.Interpolators.OVERSHOOT_1_2;
|
||||||
import static com.android.systemui.shared.system.QuickStepContract.SYSUI_STATE_OVERVIEW_DISABLED;
|
import static com.android.systemui.shared.system.QuickStepContract.SYSUI_STATE_OVERVIEW_DISABLED;
|
||||||
|
|
||||||
import android.animation.Animator;
|
import android.animation.Animator;
|
||||||
@@ -40,10 +40,10 @@ import android.view.HapticFeedbackConstants;
|
|||||||
import android.view.MotionEvent;
|
import android.view.MotionEvent;
|
||||||
import android.view.ViewConfiguration;
|
import android.view.ViewConfiguration;
|
||||||
|
|
||||||
import com.android.launcher3.Launcher;
|
import com.android.uiuios.Launcher;
|
||||||
import com.android.launcher3.LauncherState;
|
import com.android.uiuios.LauncherState;
|
||||||
import com.android.launcher3.anim.AnimatorSetBuilder;
|
import com.android.uiuios.anim.AnimatorSetBuilder;
|
||||||
import com.android.launcher3.userevent.nano.LauncherLogProto.Action.Touch;
|
import com.android.uiuios.userevent.nano.LauncherLogProto.Action.Touch;
|
||||||
import com.android.quickstep.OverviewInteractionState;
|
import com.android.quickstep.OverviewInteractionState;
|
||||||
import com.android.quickstep.util.MotionPauseDetector;
|
import com.android.quickstep.util.MotionPauseDetector;
|
||||||
import com.android.quickstep.views.RecentsView;
|
import com.android.quickstep.views.RecentsView;
|
||||||
|
|||||||
+23
-23
@@ -13,16 +13,16 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.android.launcher3.uioverrides.touchcontrollers;
|
package com.android.uiuios.uioverrides.touchcontrollers;
|
||||||
|
|
||||||
import static android.view.View.TRANSLATION_X;
|
import static android.view.View.TRANSLATION_X;
|
||||||
|
|
||||||
import static com.android.launcher3.LauncherState.ALL_APPS;
|
import static com.android.uiuios.LauncherState.ALL_APPS;
|
||||||
import static com.android.launcher3.LauncherState.NORMAL;
|
import static com.android.uiuios.LauncherState.NORMAL;
|
||||||
import static com.android.launcher3.LauncherState.OVERVIEW;
|
import static com.android.uiuios.LauncherState.OVERVIEW;
|
||||||
import static com.android.launcher3.allapps.AllAppsTransitionController.ALL_APPS_PROGRESS;
|
import static com.android.uiuios.allapps.AllAppsTransitionController.ALL_APPS_PROGRESS;
|
||||||
import static com.android.launcher3.anim.Interpolators.DEACCEL_3;
|
import static com.android.uiuios.anim.Interpolators.DEACCEL_3;
|
||||||
import static com.android.launcher3.touch.AbstractStateChangeTouchController.SUCCESS_TRANSITION_PROGRESS;
|
import static com.android.uiuios.touch.AbstractStateChangeTouchController.SUCCESS_TRANSITION_PROGRESS;
|
||||||
|
|
||||||
import android.animation.Animator;
|
import android.animation.Animator;
|
||||||
import android.animation.AnimatorSet;
|
import android.animation.AnimatorSet;
|
||||||
@@ -31,22 +31,22 @@ import android.animation.ValueAnimator;
|
|||||||
import android.view.MotionEvent;
|
import android.view.MotionEvent;
|
||||||
import android.view.animation.Interpolator;
|
import android.view.animation.Interpolator;
|
||||||
|
|
||||||
import com.android.launcher3.AbstractFloatingView;
|
import com.android.uiuios.AbstractFloatingView;
|
||||||
import com.android.launcher3.Launcher;
|
import com.android.uiuios.Launcher;
|
||||||
import com.android.launcher3.LauncherState;
|
import com.android.uiuios.LauncherState;
|
||||||
import com.android.launcher3.LauncherStateManager.AnimationConfig;
|
import com.android.uiuios.LauncherStateManager.AnimationConfig;
|
||||||
import com.android.launcher3.R;
|
import com.android.uiuios.R;
|
||||||
import com.android.launcher3.Utilities;
|
import com.android.uiuios.Utilities;
|
||||||
import com.android.launcher3.allapps.AllAppsTransitionController;
|
import com.android.uiuios.allapps.AllAppsTransitionController;
|
||||||
import com.android.launcher3.anim.AnimationSuccessListener;
|
import com.android.uiuios.anim.AnimationSuccessListener;
|
||||||
import com.android.launcher3.anim.AnimatorPlaybackController;
|
import com.android.uiuios.anim.AnimatorPlaybackController;
|
||||||
import com.android.launcher3.anim.AnimatorSetBuilder;
|
import com.android.uiuios.anim.AnimatorSetBuilder;
|
||||||
import com.android.launcher3.anim.Interpolators;
|
import com.android.uiuios.anim.Interpolators;
|
||||||
import com.android.launcher3.compat.AccessibilityManagerCompat;
|
import com.android.uiuios.compat.AccessibilityManagerCompat;
|
||||||
import com.android.launcher3.touch.SwipeDetector;
|
import com.android.uiuios.touch.SwipeDetector;
|
||||||
import com.android.launcher3.userevent.nano.LauncherLogProto;
|
import com.android.uiuios.userevent.nano.LauncherLogProto;
|
||||||
import com.android.launcher3.userevent.nano.LauncherLogProto.Action.Touch;
|
import com.android.uiuios.userevent.nano.LauncherLogProto.Action.Touch;
|
||||||
import com.android.launcher3.util.TouchController;
|
import com.android.uiuios.util.TouchController;
|
||||||
import com.android.quickstep.views.RecentsView;
|
import com.android.quickstep.views.RecentsView;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
+9
-9
@@ -13,19 +13,19 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.android.launcher3.uioverrides.touchcontrollers;
|
package com.android.uiuios.uioverrides.touchcontrollers;
|
||||||
|
|
||||||
import static com.android.launcher3.LauncherState.ALL_APPS;
|
import static com.android.uiuios.LauncherState.ALL_APPS;
|
||||||
import static com.android.launcher3.LauncherState.NORMAL;
|
import static com.android.uiuios.LauncherState.NORMAL;
|
||||||
import static com.android.launcher3.LauncherState.OVERVIEW;
|
import static com.android.uiuios.LauncherState.OVERVIEW;
|
||||||
|
|
||||||
import android.view.MotionEvent;
|
import android.view.MotionEvent;
|
||||||
|
|
||||||
import com.android.launcher3.AbstractFloatingView;
|
import com.android.uiuios.AbstractFloatingView;
|
||||||
import com.android.launcher3.Launcher;
|
import com.android.uiuios.Launcher;
|
||||||
import com.android.launcher3.LauncherState;
|
import com.android.uiuios.LauncherState;
|
||||||
import com.android.launcher3.Utilities;
|
import com.android.uiuios.Utilities;
|
||||||
import com.android.launcher3.userevent.nano.LauncherLogProto;
|
import com.android.uiuios.userevent.nano.LauncherLogProto;
|
||||||
import com.android.quickstep.TouchInteractionService;
|
import com.android.quickstep.TouchInteractionService;
|
||||||
import com.android.quickstep.views.RecentsView;
|
import com.android.quickstep.views.RecentsView;
|
||||||
|
|
||||||
|
|||||||
+4
-4
@@ -14,14 +14,14 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.android.launcher3.uioverrides.touchcontrollers;
|
package com.android.uiuios.uioverrides.touchcontrollers;
|
||||||
|
|
||||||
import static com.android.launcher3.uioverrides.touchcontrollers.PortraitStatesTouchController.isTouchOverHotseat;
|
import static com.android.uiuios.uioverrides.touchcontrollers.PortraitStatesTouchController.isTouchOverHotseat;
|
||||||
|
|
||||||
import android.view.MotionEvent;
|
import android.view.MotionEvent;
|
||||||
|
|
||||||
import com.android.launcher3.Launcher;
|
import com.android.uiuios.Launcher;
|
||||||
import com.android.launcher3.util.PendingAnimation;
|
import com.android.uiuios.util.PendingAnimation;
|
||||||
import com.android.quickstep.views.RecentsView;
|
import com.android.quickstep.views.RecentsView;
|
||||||
import com.android.quickstep.views.TaskView;
|
import com.android.quickstep.views.TaskView;
|
||||||
|
|
||||||
|
|||||||
+24
-24
@@ -13,22 +13,22 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.android.launcher3.uioverrides.touchcontrollers;
|
package com.android.uiuios.uioverrides.touchcontrollers;
|
||||||
|
|
||||||
import static com.android.launcher3.LauncherState.NORMAL;
|
import static com.android.uiuios.LauncherState.NORMAL;
|
||||||
import static com.android.launcher3.LauncherState.QUICK_SWITCH;
|
import static com.android.uiuios.LauncherState.QUICK_SWITCH;
|
||||||
import static com.android.launcher3.anim.AnimatorSetBuilder.ANIM_ALL_APPS_FADE;
|
import static com.android.uiuios.anim.AnimatorSetBuilder.ANIM_ALL_APPS_FADE;
|
||||||
import static com.android.launcher3.anim.AnimatorSetBuilder.ANIM_OVERVIEW_FADE;
|
import static com.android.uiuios.anim.AnimatorSetBuilder.ANIM_OVERVIEW_FADE;
|
||||||
import static com.android.launcher3.anim.AnimatorSetBuilder.ANIM_OVERVIEW_SCALE;
|
import static com.android.uiuios.anim.AnimatorSetBuilder.ANIM_OVERVIEW_SCALE;
|
||||||
import static com.android.launcher3.anim.AnimatorSetBuilder.ANIM_OVERVIEW_TRANSLATE_Y;
|
import static com.android.uiuios.anim.AnimatorSetBuilder.ANIM_OVERVIEW_TRANSLATE_Y;
|
||||||
import static com.android.launcher3.anim.AnimatorSetBuilder.ANIM_VERTICAL_PROGRESS;
|
import static com.android.uiuios.anim.AnimatorSetBuilder.ANIM_VERTICAL_PROGRESS;
|
||||||
import static com.android.launcher3.anim.AnimatorSetBuilder.ANIM_WORKSPACE_FADE;
|
import static com.android.uiuios.anim.AnimatorSetBuilder.ANIM_WORKSPACE_FADE;
|
||||||
import static com.android.launcher3.anim.AnimatorSetBuilder.ANIM_WORKSPACE_TRANSLATE;
|
import static com.android.uiuios.anim.AnimatorSetBuilder.ANIM_WORKSPACE_TRANSLATE;
|
||||||
import static com.android.launcher3.anim.Interpolators.ACCEL_2;
|
import static com.android.uiuios.anim.Interpolators.ACCEL_2;
|
||||||
import static com.android.launcher3.anim.Interpolators.DEACCEL_2;
|
import static com.android.uiuios.anim.Interpolators.DEACCEL_2;
|
||||||
import static com.android.launcher3.anim.Interpolators.INSTANT;
|
import static com.android.uiuios.anim.Interpolators.INSTANT;
|
||||||
import static com.android.launcher3.anim.Interpolators.LINEAR;
|
import static com.android.uiuios.anim.Interpolators.LINEAR;
|
||||||
import static com.android.launcher3.util.SystemUiController.UI_STATE_OVERVIEW;
|
import static com.android.uiuios.util.SystemUiController.UI_STATE_OVERVIEW;
|
||||||
import static com.android.quickstep.views.RecentsView.UPDATE_SYSUI_FLAGS_THRESHOLD;
|
import static com.android.quickstep.views.RecentsView.UPDATE_SYSUI_FLAGS_THRESHOLD;
|
||||||
import static com.android.systemui.shared.system.QuickStepContract.SYSUI_STATE_OVERVIEW_DISABLED;
|
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 androidx.annotation.Nullable;
|
||||||
|
|
||||||
import com.android.launcher3.Launcher;
|
import com.android.uiuios.Launcher;
|
||||||
import com.android.launcher3.LauncherState;
|
import com.android.uiuios.LauncherState;
|
||||||
import com.android.launcher3.LauncherStateManager;
|
import com.android.uiuios.LauncherStateManager;
|
||||||
import com.android.launcher3.Utilities;
|
import com.android.uiuios.Utilities;
|
||||||
import com.android.launcher3.anim.AnimatorSetBuilder;
|
import com.android.uiuios.anim.AnimatorSetBuilder;
|
||||||
import com.android.launcher3.touch.AbstractStateChangeTouchController;
|
import com.android.uiuios.touch.AbstractStateChangeTouchController;
|
||||||
import com.android.launcher3.touch.SwipeDetector;
|
import com.android.uiuios.touch.SwipeDetector;
|
||||||
import com.android.launcher3.userevent.nano.LauncherLogProto;
|
import com.android.uiuios.userevent.nano.LauncherLogProto;
|
||||||
import com.android.launcher3.userevent.nano.LauncherLogProto.Action.Direction;
|
import com.android.uiuios.userevent.nano.LauncherLogProto.Action.Direction;
|
||||||
import com.android.quickstep.OverviewInteractionState;
|
import com.android.quickstep.OverviewInteractionState;
|
||||||
import com.android.quickstep.SysUINavigationMode;
|
import com.android.quickstep.SysUINavigationMode;
|
||||||
import com.android.quickstep.SysUINavigationMode.Mode;
|
import com.android.quickstep.SysUINavigationMode.Mode;
|
||||||
|
|||||||
+18
-18
@@ -13,31 +13,31 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.android.launcher3.uioverrides.touchcontrollers;
|
package com.android.uiuios.uioverrides.touchcontrollers;
|
||||||
|
|
||||||
import static com.android.launcher3.AbstractFloatingView.TYPE_ACCESSIBLE;
|
import static com.android.uiuios.AbstractFloatingView.TYPE_ACCESSIBLE;
|
||||||
import static com.android.launcher3.Utilities.SINGLE_FRAME_MS;
|
import static com.android.uiuios.Utilities.SINGLE_FRAME_MS;
|
||||||
import static com.android.launcher3.anim.Interpolators.scrollInterpolatorForVelocity;
|
import static com.android.uiuios.anim.Interpolators.scrollInterpolatorForVelocity;
|
||||||
import static com.android.launcher3.config.FeatureFlags.ENABLE_QUICKSTEP_LIVE_TILE;
|
import static com.android.uiuios.config.FeatureFlags.ENABLE_QUICKSTEP_LIVE_TILE;
|
||||||
import static com.android.launcher3.config.FeatureFlags.QUICKSTEP_SPRINGS;
|
import static com.android.uiuios.config.FeatureFlags.QUICKSTEP_SPRINGS;
|
||||||
|
|
||||||
import android.animation.Animator;
|
import android.animation.Animator;
|
||||||
import android.animation.AnimatorListenerAdapter;
|
import android.animation.AnimatorListenerAdapter;
|
||||||
import android.animation.ValueAnimator;
|
import android.animation.ValueAnimator;
|
||||||
import android.view.MotionEvent;
|
import android.view.MotionEvent;
|
||||||
|
|
||||||
import com.android.launcher3.AbstractFloatingView;
|
import com.android.uiuios.AbstractFloatingView;
|
||||||
import com.android.launcher3.BaseDraggingActivity;
|
import com.android.uiuios.BaseDraggingActivity;
|
||||||
import com.android.launcher3.LauncherAnimUtils;
|
import com.android.uiuios.LauncherAnimUtils;
|
||||||
import com.android.launcher3.Utilities;
|
import com.android.uiuios.Utilities;
|
||||||
import com.android.launcher3.anim.AnimatorPlaybackController;
|
import com.android.uiuios.anim.AnimatorPlaybackController;
|
||||||
import com.android.launcher3.anim.Interpolators;
|
import com.android.uiuios.anim.Interpolators;
|
||||||
import com.android.launcher3.touch.SwipeDetector;
|
import com.android.uiuios.touch.SwipeDetector;
|
||||||
import com.android.launcher3.userevent.nano.LauncherLogProto.Action.Touch;
|
import com.android.uiuios.userevent.nano.LauncherLogProto.Action.Touch;
|
||||||
import com.android.launcher3.util.FlingBlockCheck;
|
import com.android.uiuios.util.FlingBlockCheck;
|
||||||
import com.android.launcher3.util.PendingAnimation;
|
import com.android.uiuios.util.PendingAnimation;
|
||||||
import com.android.launcher3.util.TouchController;
|
import com.android.uiuios.util.TouchController;
|
||||||
import com.android.launcher3.views.BaseDragLayer;
|
import com.android.uiuios.views.BaseDragLayer;
|
||||||
import com.android.quickstep.SysUINavigationMode;
|
import com.android.quickstep.SysUINavigationMode;
|
||||||
import com.android.quickstep.views.RecentsView;
|
import com.android.quickstep.views.RecentsView;
|
||||||
import com.android.quickstep.views.TaskView;
|
import com.android.quickstep.views.TaskView;
|
||||||
|
|||||||
+4
-4
@@ -13,11 +13,11 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.android.launcher3.uioverrides.touchcontrollers;
|
package com.android.uiuios.uioverrides.touchcontrollers;
|
||||||
|
|
||||||
import com.android.launcher3.Launcher;
|
import com.android.uiuios.Launcher;
|
||||||
import com.android.launcher3.LauncherState;
|
import com.android.uiuios.LauncherState;
|
||||||
import com.android.launcher3.touch.SwipeDetector;
|
import com.android.uiuios.touch.SwipeDetector;
|
||||||
|
|
||||||
public class TransposedQuickSwitchTouchController extends QuickSwitchTouchController {
|
public class TransposedQuickSwitchTouchController extends QuickSwitchTouchController {
|
||||||
|
|
||||||
|
|||||||
+5
-5
@@ -15,8 +15,8 @@
|
|||||||
*/
|
*/
|
||||||
package com.android.quickstep;
|
package com.android.quickstep;
|
||||||
|
|
||||||
import static com.android.launcher3.anim.Interpolators.FAST_OUT_SLOW_IN;
|
import static com.android.uiuios.anim.Interpolators.FAST_OUT_SLOW_IN;
|
||||||
import static com.android.launcher3.anim.Interpolators.TOUCH_RESPONSE_INTERPOLATOR;
|
import static com.android.uiuios.anim.Interpolators.TOUCH_RESPONSE_INTERPOLATOR;
|
||||||
import static com.android.systemui.shared.system.RemoteAnimationTargetCompat.MODE_CLOSING;
|
import static com.android.systemui.shared.system.RemoteAnimationTargetCompat.MODE_CLOSING;
|
||||||
import static com.android.systemui.shared.system.RemoteAnimationTargetCompat.MODE_OPENING;
|
import static com.android.systemui.shared.system.RemoteAnimationTargetCompat.MODE_OPENING;
|
||||||
|
|
||||||
@@ -27,9 +27,9 @@ import android.graphics.Rect;
|
|||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
|
|
||||||
import com.android.launcher3.AbstractFloatingView;
|
import com.android.uiuios.AbstractFloatingView;
|
||||||
import com.android.launcher3.BaseDraggingActivity;
|
import com.android.uiuios.BaseDraggingActivity;
|
||||||
import com.android.launcher3.anim.AnimationSuccessListener;
|
import com.android.uiuios.anim.AnimationSuccessListener;
|
||||||
import com.android.quickstep.util.ClipAnimationHelper;
|
import com.android.quickstep.util.ClipAnimationHelper;
|
||||||
import com.android.quickstep.util.RemoteAnimationProvider;
|
import com.android.quickstep.util.RemoteAnimationProvider;
|
||||||
import com.android.quickstep.util.RemoteAnimationTargetSet;
|
import com.android.quickstep.util.RemoteAnimationTargetSet;
|
||||||
|
|||||||
+5
-5
@@ -15,7 +15,7 @@
|
|||||||
*/
|
*/
|
||||||
package com.android.quickstep;
|
package com.android.quickstep;
|
||||||
|
|
||||||
import static com.android.launcher3.anim.Interpolators.LINEAR;
|
import static com.android.uiuios.anim.Interpolators.LINEAR;
|
||||||
import static com.android.quickstep.SysUINavigationMode.Mode.NO_BUTTON;
|
import static com.android.quickstep.SysUINavigationMode.Mode.NO_BUTTON;
|
||||||
import static com.android.quickstep.fallback.FallbackRecentsView.ZOOM_PROGRESS;
|
import static com.android.quickstep.fallback.FallbackRecentsView.ZOOM_PROGRESS;
|
||||||
import static com.android.quickstep.views.RecentsView.CONTENT_ALPHA;
|
import static com.android.quickstep.views.RecentsView.CONTENT_ALPHA;
|
||||||
@@ -30,10 +30,10 @@ import android.graphics.RectF;
|
|||||||
import androidx.annotation.NonNull;
|
import androidx.annotation.NonNull;
|
||||||
import androidx.annotation.Nullable;
|
import androidx.annotation.Nullable;
|
||||||
|
|
||||||
import com.android.launcher3.DeviceProfile;
|
import com.android.uiuios.DeviceProfile;
|
||||||
import com.android.launcher3.anim.AnimationSuccessListener;
|
import com.android.uiuios.anim.AnimationSuccessListener;
|
||||||
import com.android.launcher3.anim.AnimatorPlaybackController;
|
import com.android.uiuios.anim.AnimatorPlaybackController;
|
||||||
import com.android.launcher3.userevent.nano.LauncherLogProto;
|
import com.android.uiuios.userevent.nano.LauncherLogProto;
|
||||||
import com.android.quickstep.fallback.FallbackRecentsView;
|
import com.android.quickstep.fallback.FallbackRecentsView;
|
||||||
import com.android.quickstep.util.LayoutUtils;
|
import com.android.quickstep.util.LayoutUtils;
|
||||||
import com.android.quickstep.util.RemoteAnimationTargetSet;
|
import com.android.quickstep.util.RemoteAnimationTargetSet;
|
||||||
|
|||||||
+25
-25
@@ -17,18 +17,18 @@ package com.android.quickstep;
|
|||||||
|
|
||||||
import static android.view.View.TRANSLATION_Y;
|
import static android.view.View.TRANSLATION_Y;
|
||||||
|
|
||||||
import static com.android.launcher3.LauncherAnimUtils.SCALE_PROPERTY;
|
import static com.android.uiuios.LauncherAnimUtils.SCALE_PROPERTY;
|
||||||
import static com.android.launcher3.LauncherAppTransitionManagerImpl.INDEX_RECENTS_FADE_ANIM;
|
import static com.android.uiuios.LauncherAppTransitionManagerImpl.INDEX_RECENTS_FADE_ANIM;
|
||||||
import static com.android.launcher3.LauncherAppTransitionManagerImpl.INDEX_RECENTS_TRANSLATE_X_ANIM;
|
import static com.android.uiuios.LauncherAppTransitionManagerImpl.INDEX_RECENTS_TRANSLATE_X_ANIM;
|
||||||
import static com.android.launcher3.LauncherAppTransitionManagerImpl.INDEX_SHELF_ANIM;
|
import static com.android.uiuios.LauncherAppTransitionManagerImpl.INDEX_SHELF_ANIM;
|
||||||
import static com.android.launcher3.LauncherState.BACKGROUND_APP;
|
import static com.android.uiuios.LauncherState.BACKGROUND_APP;
|
||||||
import static com.android.launcher3.LauncherState.NORMAL;
|
import static com.android.uiuios.LauncherState.NORMAL;
|
||||||
import static com.android.launcher3.LauncherState.OVERVIEW;
|
import static com.android.uiuios.LauncherState.OVERVIEW;
|
||||||
import static com.android.launcher3.LauncherStateManager.ANIM_ALL;
|
import static com.android.uiuios.LauncherStateManager.ANIM_ALL;
|
||||||
import static com.android.launcher3.anim.Interpolators.ACCEL_2;
|
import static com.android.uiuios.anim.Interpolators.ACCEL_2;
|
||||||
import static com.android.launcher3.anim.Interpolators.ACCEL_DEACCEL;
|
import static com.android.uiuios.anim.Interpolators.ACCEL_DEACCEL;
|
||||||
import static com.android.launcher3.anim.Interpolators.INSTANT;
|
import static com.android.uiuios.anim.Interpolators.INSTANT;
|
||||||
import static com.android.launcher3.anim.Interpolators.LINEAR;
|
import static com.android.uiuios.anim.Interpolators.LINEAR;
|
||||||
import static com.android.quickstep.WindowTransformSwipeHandler.RECENTS_ATTACH_DURATION;
|
import static com.android.quickstep.WindowTransformSwipeHandler.RECENTS_ATTACH_DURATION;
|
||||||
|
|
||||||
import android.animation.Animator;
|
import android.animation.Animator;
|
||||||
@@ -49,19 +49,19 @@ import androidx.annotation.NonNull;
|
|||||||
import androidx.annotation.Nullable;
|
import androidx.annotation.Nullable;
|
||||||
import androidx.annotation.UiThread;
|
import androidx.annotation.UiThread;
|
||||||
|
|
||||||
import com.android.launcher3.DeviceProfile;
|
import com.android.uiuios.DeviceProfile;
|
||||||
import com.android.launcher3.Launcher;
|
import com.android.uiuios.Launcher;
|
||||||
import com.android.launcher3.LauncherAppState;
|
import com.android.uiuios.LauncherAppState;
|
||||||
import com.android.launcher3.LauncherInitListenerEx;
|
import com.android.uiuios.LauncherInitListenerEx;
|
||||||
import com.android.launcher3.LauncherState;
|
import com.android.uiuios.LauncherState;
|
||||||
import com.android.launcher3.LauncherStateManager;
|
import com.android.uiuios.LauncherStateManager;
|
||||||
import com.android.launcher3.allapps.DiscoveryBounce;
|
import com.android.uiuios.allapps.DiscoveryBounce;
|
||||||
import com.android.launcher3.anim.AnimatorPlaybackController;
|
import com.android.uiuios.anim.AnimatorPlaybackController;
|
||||||
import com.android.launcher3.anim.AnimatorSetBuilder;
|
import com.android.uiuios.anim.AnimatorSetBuilder;
|
||||||
import com.android.launcher3.testing.TestProtocol;
|
import com.android.uiuios.testing.TestProtocol;
|
||||||
import com.android.launcher3.uioverrides.states.OverviewState;
|
import com.android.uiuios.uioverrides.states.OverviewState;
|
||||||
import com.android.launcher3.userevent.nano.LauncherLogProto;
|
import com.android.uiuios.userevent.nano.LauncherLogProto;
|
||||||
import com.android.launcher3.views.FloatingIconView;
|
import com.android.uiuios.views.FloatingIconView;
|
||||||
import com.android.quickstep.SysUINavigationMode.Mode;
|
import com.android.quickstep.SysUINavigationMode.Mode;
|
||||||
import com.android.quickstep.util.LayoutUtils;
|
import com.android.quickstep.util.LayoutUtils;
|
||||||
import com.android.quickstep.util.StaggeredWorkspaceAnim;
|
import com.android.quickstep.util.StaggeredWorkspaceAnim;
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ package com.android.quickstep;
|
|||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
import android.util.SparseArray;
|
import android.util.SparseArray;
|
||||||
|
|
||||||
import com.android.launcher3.config.FeatureFlags;
|
import com.android.uiuios.config.FeatureFlags;
|
||||||
|
|
||||||
import java.util.StringJoiner;
|
import java.util.StringJoiner;
|
||||||
import java.util.function.Consumer;
|
import java.util.function.Consumer;
|
||||||
|
|||||||
@@ -27,10 +27,10 @@ import android.os.Build;
|
|||||||
import android.os.SystemClock;
|
import android.os.SystemClock;
|
||||||
import android.view.ViewConfiguration;
|
import android.view.ViewConfiguration;
|
||||||
|
|
||||||
import com.android.launcher3.BaseDraggingActivity;
|
import com.android.uiuios.BaseDraggingActivity;
|
||||||
import com.android.launcher3.MainThreadExecutor;
|
import com.android.uiuios.MainThreadExecutor;
|
||||||
import com.android.launcher3.logging.UserEventDispatcher;
|
import com.android.uiuios.logging.UserEventDispatcher;
|
||||||
import com.android.launcher3.userevent.nano.LauncherLogProto;
|
import com.android.uiuios.userevent.nano.LauncherLogProto;
|
||||||
import com.android.quickstep.ActivityControlHelper.ActivityInitListener;
|
import com.android.quickstep.ActivityControlHelper.ActivityInitListener;
|
||||||
import com.android.quickstep.views.RecentsView;
|
import com.android.quickstep.views.RecentsView;
|
||||||
import com.android.quickstep.views.TaskView;
|
import com.android.quickstep.views.TaskView;
|
||||||
|
|||||||
@@ -15,10 +15,10 @@
|
|||||||
*/
|
*/
|
||||||
package com.android.quickstep;
|
package com.android.quickstep;
|
||||||
|
|
||||||
import static com.android.launcher3.QuickstepAppTransitionManagerImpl.RECENTS_LAUNCH_DURATION;
|
import static com.android.uiuios.QuickstepAppTransitionManagerImpl.RECENTS_LAUNCH_DURATION;
|
||||||
import static com.android.launcher3.QuickstepAppTransitionManagerImpl
|
import static com.android.uiuios.QuickstepAppTransitionManagerImpl
|
||||||
.STATUS_BAR_TRANSITION_DURATION;
|
.STATUS_BAR_TRANSITION_DURATION;
|
||||||
import static com.android.launcher3.QuickstepAppTransitionManagerImpl
|
import static com.android.uiuios.QuickstepAppTransitionManagerImpl
|
||||||
.STATUS_BAR_TRANSITION_PRE_DELAY;
|
.STATUS_BAR_TRANSITION_PRE_DELAY;
|
||||||
import static com.android.quickstep.TaskViewUtils.getRecentsWindowAnimator;
|
import static com.android.quickstep.TaskViewUtils.getRecentsWindowAnimator;
|
||||||
import static com.android.quickstep.TaskUtils.taskIsATargetWithMode;
|
import static com.android.quickstep.TaskUtils.taskIsATargetWithMode;
|
||||||
@@ -33,12 +33,12 @@ import android.os.Handler;
|
|||||||
import android.os.Looper;
|
import android.os.Looper;
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
|
|
||||||
import com.android.launcher3.DeviceProfile;
|
import com.android.uiuios.DeviceProfile;
|
||||||
import com.android.launcher3.InvariantDeviceProfile;
|
import com.android.uiuios.InvariantDeviceProfile;
|
||||||
import com.android.launcher3.LauncherAnimationRunner;
|
import com.android.uiuios.LauncherAnimationRunner;
|
||||||
import com.android.launcher3.R;
|
import com.android.uiuios.R;
|
||||||
import com.android.launcher3.anim.Interpolators;
|
import com.android.uiuios.anim.Interpolators;
|
||||||
import com.android.launcher3.views.BaseDragLayer;
|
import com.android.uiuios.views.BaseDragLayer;
|
||||||
import com.android.quickstep.fallback.FallbackRecentsView;
|
import com.android.quickstep.fallback.FallbackRecentsView;
|
||||||
import com.android.quickstep.fallback.RecentsRootView;
|
import com.android.quickstep.fallback.RecentsRootView;
|
||||||
import com.android.quickstep.util.ClipAnimationHelper;
|
import com.android.quickstep.util.ClipAnimationHelper;
|
||||||
|
|||||||
+2
-2
@@ -19,13 +19,13 @@ import static android.view.MotionEvent.ACTION_CANCEL;
|
|||||||
import static android.view.MotionEvent.ACTION_DOWN;
|
import static android.view.MotionEvent.ACTION_DOWN;
|
||||||
import static android.view.MotionEvent.ACTION_UP;
|
import static android.view.MotionEvent.ACTION_UP;
|
||||||
|
|
||||||
import static com.android.launcher3.Utilities.FLAG_NO_GESTURES;
|
import static com.android.uiuios.Utilities.FLAG_NO_GESTURES;
|
||||||
|
|
||||||
import android.view.InputEvent;
|
import android.view.InputEvent;
|
||||||
import android.view.KeyEvent;
|
import android.view.KeyEvent;
|
||||||
import android.view.MotionEvent;
|
import android.view.MotionEvent;
|
||||||
|
|
||||||
import com.android.launcher3.util.Preconditions;
|
import com.android.uiuios.util.Preconditions;
|
||||||
import com.android.quickstep.inputconsumers.InputConsumer;
|
import com.android.quickstep.inputconsumers.InputConsumer;
|
||||||
import com.android.quickstep.util.SwipeAnimationTargetSet;
|
import com.android.quickstep.util.SwipeAnimationTargetSet;
|
||||||
import com.android.systemui.shared.system.InputConsumerController;
|
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 android.util.Log;
|
||||||
|
|
||||||
import com.android.launcher3.Utilities;
|
import com.android.uiuios.Utilities;
|
||||||
import com.android.launcher3.config.FeatureFlags;
|
import com.android.uiuios.config.FeatureFlags;
|
||||||
import com.android.launcher3.util.Preconditions;
|
import com.android.uiuios.util.Preconditions;
|
||||||
import com.android.quickstep.util.RecentsAnimationListenerSet;
|
import com.android.quickstep.util.RecentsAnimationListenerSet;
|
||||||
import com.android.quickstep.util.SwipeAnimationTargetSet;
|
import com.android.quickstep.util.SwipeAnimationTargetSet;
|
||||||
import com.android.quickstep.util.SwipeAnimationTargetSet.SwipeAnimationListener;
|
import com.android.quickstep.util.SwipeAnimationTargetSet.SwipeAnimationListener;
|
||||||
|
|||||||
@@ -19,11 +19,11 @@ package com.android.quickstep;
|
|||||||
import android.graphics.Matrix;
|
import android.graphics.Matrix;
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
|
|
||||||
import com.android.launcher3.BaseActivity;
|
import com.android.uiuios.BaseActivity;
|
||||||
import com.android.launcher3.BaseDraggingActivity;
|
import com.android.uiuios.BaseDraggingActivity;
|
||||||
import com.android.launcher3.R;
|
import com.android.uiuios.R;
|
||||||
import com.android.launcher3.util.MainThreadInitializedObject;
|
import com.android.uiuios.util.MainThreadInitializedObject;
|
||||||
import com.android.launcher3.util.ResourceBasedOverride;
|
import com.android.uiuios.util.ResourceBasedOverride;
|
||||||
import com.android.quickstep.views.TaskThumbnailView;
|
import com.android.quickstep.views.TaskThumbnailView;
|
||||||
import com.android.quickstep.views.TaskView;
|
import com.android.quickstep.views.TaskView;
|
||||||
import com.android.systemui.shared.recents.model.Task;
|
import com.android.systemui.shared.recents.model.Task;
|
||||||
|
|||||||
Loaded 100 of 645 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user