Skip to content

Commit

Permalink
Merge tag 'android-14.0.0_r17' of https://android.googlesource.com/pl…
Browse files Browse the repository at this point in the history
…atform/packages/apps/Launcher3 into HEAD

Android 14.0.0 Release 17 (UQ1A.231205.015)

Change-Id: I622099e551ce6670167bfc73ac7de6338ab64f9b
  • Loading branch information
xboxfanj committed Dec 25, 2023
2 parents 11cc09d + 307d65b commit 68bf981
Show file tree
Hide file tree
Showing 726 changed files with 19,557 additions and 8,822 deletions.
2 changes: 2 additions & 0 deletions Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ android_library {
"SettingsLib",
"bcsmartspace-google",
"SystemUIPluginLib",
"animationlib"
],
manifest: "AndroidManifest-common.xml",
sdk_version: "current",
Expand All @@ -191,6 +192,7 @@ android_library {
static_libs: [
"Launcher3ResLib",
"launcher-testing-shared",
"animationlib"
],
sdk_version: "current",
min_sdk_version: min_launcher3_sdk_version,
Expand Down
3 changes: 3 additions & 0 deletions OWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ [email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]

per-file FeatureFlags.java, globs = set noparent
per-file FeatureFlags.java = [email protected], [email protected], [email protected], [email protected], [email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,13 @@
import android.os.Binder;
import android.os.Bundle;
import android.system.Os;
import android.util.Log;

import androidx.annotation.Keep;
import androidx.annotation.Nullable;

import com.android.launcher3.BubbleTextView;
import com.android.launcher3.LauncherAppState;
import com.android.launcher3.LauncherSettings;
import com.android.launcher3.LauncherModel;
import com.android.launcher3.ShortcutAndWidgetContainer;
import com.android.launcher3.testing.shared.TestProtocol;

Expand Down Expand Up @@ -62,7 +61,6 @@ public DebugTestInformationHandler(Context context) {
public void onActivityCreated(Activity activity, Bundle bundle) {
sActivities.put(activity, true);
++sActivitiesCreatedCount;
Log.d(TestProtocol.FLAKY_ACTIVITY_COUNT, "onActivityCreated", new Exception());
}

@Override
Expand Down Expand Up @@ -188,13 +186,29 @@ public Bundle call(String method, String arg, @Nullable Bundle extras) {
return response;
}

case TestProtocol.REQUEST_REINITIALIZE_DATA: {
final long identity = Binder.clearCallingIdentity();
try {
MODEL_EXECUTOR.execute(() -> {
LauncherModel model = LauncherAppState.getInstance(mContext).getModel();
model.getModelDbController().createEmptyDB();
MAIN_EXECUTOR.execute(model::forceReload);
});
return response;
} finally {
Binder.restoreCallingIdentity(identity);
}
}

case TestProtocol.REQUEST_CLEAR_DATA: {
final long identity = Binder.clearCallingIdentity();
try {
LauncherSettings.Settings.call(mContext.getContentResolver(),
LauncherSettings.Settings.METHOD_CREATE_EMPTY_DB);
MAIN_EXECUTOR.submit(() ->
LauncherAppState.getInstance(mContext).getModel().forceReload());
MODEL_EXECUTOR.execute(() -> {
LauncherModel model = LauncherAppState.getInstance(mContext).getModel();
model.getModelDbController().createEmptyDB();
model.getModelDbController().clearEmptyDbFlag();
MAIN_EXECUTOR.execute(model::forceReload);
});
return response;
} finally {
Binder.restoreCallingIdentity(identity);
Expand Down
4 changes: 2 additions & 2 deletions go/quickstep/res/values-el/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<string name="assistant_not_selected_text" msgid="3244613673884359276">"Για να ακούσετε ή να μεταφράσετε κείμενο στην οθόνη σας, επιλέξτε μια εφαρμογή ψηφιακού βοηθού στις Ρυθμίσεις."</string>
<string name="assistant_not_supported_title" msgid="1675788067597484142">"Αλλάξτε τον βοηθό σας για να χρησιμοποιήσετε αυτήν τη λειτουργία"</string>
<string name="assistant_not_supported_text" msgid="1708031078549268884">"Για να ακούσετε ή να μεταφράσετε κείμενο στην οθόνη σας, αλλάξτε την εφαρμογή ψηφιακού βοηθού στις Ρυθμίσεις."</string>
<string name="tooltip_listen" msgid="7634466447860989102">"Πατήστε εδώ για να ακούσετε το κείμενο σε αυτήν την οθόνη"</string>
<string name="tooltip_translate" msgid="4184845868901542567">"Πατήστε εδώ για να μεταφράσετε το κείμενο σε αυτήν την οθόνη"</string>
<string name="tooltip_listen" msgid="7634466447860989102">"Πατήστε εδώ για να ακούσετε το κείμενο σε αυτή την οθόνη"</string>
<string name="tooltip_translate" msgid="4184845868901542567">"Πατήστε εδώ για να μεταφράσετε το κείμενο σε αυτή την οθόνη"</string>
<string name="toast_p2p_app_not_shareable" msgid="7229739094132131536">"Δεν είναι δυνατή η κοινή χρήση της εφαρμογής"</string>
</resources>
3 changes: 2 additions & 1 deletion protos/launcher_atom.proto
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ message TaskBarContainer {
}
}

// Next value 51
// Next value 52
enum Attribute {
option allow_alias = true;

Expand Down Expand Up @@ -187,6 +187,7 @@ enum Attribute {
ALL_APPS_SEARCH_RESULT_SYSTEM_POINTER = 42;
ALL_APPS_SEARCH_RESULT_EDUCARD = 43;
ALL_APPS_SEARCH_RESULT_LOCATION = 50;
ALL_APPS_SEARCH_RESULT_TEXT_HEADER = 51;

// Result sources
DATA_SOURCE_APPSEARCH_APP_PREVIEW = 45;
Expand Down
1 change: 1 addition & 0 deletions quickstep/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,6 @@ filegroup {
"tests/src/com/android/quickstep/NavigationModeSwitchRule.java",
"tests/src/com/android/quickstep/AbstractQuickStepTest.java",
"tests/src/com/android/quickstep/TaplTestsQuickstep.java",
"tests/src/com/android/quickstep/TaplTestsSplitscreen.java",
]
}
1 change: 0 additions & 1 deletion quickstep/AndroidManifest-launcher.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.launcher3">
<uses-sdk android:targetSdkVersion="33" android:minSdkVersion="26"/>
<!--
Manifest entries specific to Launcher3. This is merged with AndroidManifest-common.xml.
Refer comments around specific entries on how to extend individual components.
Expand Down
3 changes: 3 additions & 0 deletions quickstep/protos_overrides/launcher_atom_extension.proto
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ message DeviceSearchResultContainer{

// User entered by tapping on QSB bar on homescreen.
QSB = 2;

// User entered by swiping up from overview (using Rocket Gesture).
OVERVIEW = 3;
}
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2022 The Android Open Source Project
~ Copyright (C) 2023 The Android Open Source Project
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
Expand All @@ -15,8 +15,13 @@
~ limitations under the License.
-->

<pathInterpolator xmlns:android="http://schemas.android.com/apk/res/android"
android:controlX1="0.3"
android:controlY1="0"
android:controlX2="1"
android:controlY2="1"/>
<shape
xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="oval">

<stroke
android:width="2dp"
android:color="@android:color/system_accent1_600" />

<solid android:color="@android:color/system_accent1_600" />
</shape>
23 changes: 23 additions & 0 deletions quickstep/res/drawable/bg_floating_desktop_select.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?><!--
Copyright (C) 2023 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<shape
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
android:shape="rectangle">

<corners android:radius="@dimen/rounded_button_radius" />
<solid android:color="?androidprv:attr/materialColorPrimaryContainer" />
</shape>
25 changes: 25 additions & 0 deletions quickstep/res/drawable/ic_bubble_dismiss_white.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2023 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="20dp"
android:height="20dp"
android:viewportWidth="24.0"
android:viewportHeight="24.0">
<path
android:pathData="M19.000000,6.400000l-1.400000,-1.400000 -5.600000,5.600000 -5.600000,-5.600000 -1.400000,1.400000 5.600000,5.600000 -5.600000,5.600000 1.400000,1.400000 5.600000,-5.600000 5.600000,5.600000 1.400000,-1.400000 -5.600000,-5.600000z"
android:fillColor="@android:color/system_neutral1_50"/>
</vector>
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,18 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
android:color="?android:attr/colorControlHighlight">
<item android:id="@android:id/mask">
<shape android:shape="rectangle">
<solid android:color="#FFFFFFFF"/>
<corners android:bottomLeftRadius="@dimen/dialogCornerRadius"
android:bottomRightRadius="@dimen/dialogCornerRadius"
android:topLeftRadius="0dp"
android:topRightRadius="0dp"/>
</shape>
</item>
</ripple>

<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="52dp"
android:height="52dp"
android:viewportHeight="52"
android:viewportWidth="52">
<group>
<path
android:fillColor="@color/taskbar_divider_background"
android:pathData="M26,11L26,41"
android:strokeColor="@color/taskbar_divider_background"
android:strokeLineCap="round"
android:strokeWidth="2" />
</group>
</vector>
21 changes: 0 additions & 21 deletions quickstep/res/interpolator/three_point_fast_out_extra_slow_in.xml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
android:importantForAccessibility="yes"
android:background="@drawable/keyboard_quick_switch_task_view_background"
android:clipToOutline="true"
launcher:borderColor="?androidprv:attr/materialColorOutline">
launcher:focusBorderColor="?androidprv:attr/materialColorOutline">

<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/content"
Expand Down
Loading

0 comments on commit 68bf981

Please sign in to comment.