Snap for 7295815 from 315bef15e1 to sc-release
Change-Id: I26d38c72b97a0ad7424212f1b28927ef46a1afc1
This commit is contained in:
@@ -39,7 +39,8 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:drawableStart="@drawable/ic_screenshot"
|
||||
android:text="@string/action_screenshot"
|
||||
android:theme="@style/ThemeControlHighlightWorkspaceColor" />
|
||||
android:theme="@style/ThemeControlHighlightWorkspaceColor"
|
||||
android:visibility="gone" />
|
||||
|
||||
<Space
|
||||
android:layout_width="0dp"
|
||||
|
||||
@@ -78,8 +78,7 @@
|
||||
<string name="action_screenshot" msgid="8171125848358142917">"Screenshot"</string>
|
||||
<string name="blocked_by_policy" msgid="2071401072261365546">"This action isn\'t allowed by the app or your organisation"</string>
|
||||
<string name="skip_tutorial_dialog_title" msgid="2725643161260038458">"Skip navigation tutorial?"</string>
|
||||
<!-- no translation found for skip_tutorial_dialog_subtitle (544063326241955662) -->
|
||||
<skip />
|
||||
<string name="skip_tutorial_dialog_subtitle" msgid="544063326241955662">"You can find this later in the <xliff:g id="NAME">%1$s</xliff:g> app"</string>
|
||||
<string name="gesture_tutorial_action_button_label_cancel" msgid="3809842569351264108">"Cancel"</string>
|
||||
<string name="gesture_tutorial_action_button_label_skip" msgid="394452764989751960">"Skip"</string>
|
||||
</resources>
|
||||
|
||||
@@ -78,8 +78,7 @@
|
||||
<string name="action_screenshot" msgid="8171125848358142917">"Screenshot"</string>
|
||||
<string name="blocked_by_policy" msgid="2071401072261365546">"This action isn\'t allowed by the app or your organisation"</string>
|
||||
<string name="skip_tutorial_dialog_title" msgid="2725643161260038458">"Skip navigation tutorial?"</string>
|
||||
<!-- no translation found for skip_tutorial_dialog_subtitle (544063326241955662) -->
|
||||
<skip />
|
||||
<string name="skip_tutorial_dialog_subtitle" msgid="544063326241955662">"You can find this later in the <xliff:g id="NAME">%1$s</xliff:g> app"</string>
|
||||
<string name="gesture_tutorial_action_button_label_cancel" msgid="3809842569351264108">"Cancel"</string>
|
||||
<string name="gesture_tutorial_action_button_label_skip" msgid="394452764989751960">"Skip"</string>
|
||||
</resources>
|
||||
|
||||
@@ -78,8 +78,7 @@
|
||||
<string name="action_screenshot" msgid="8171125848358142917">"Screenshot"</string>
|
||||
<string name="blocked_by_policy" msgid="2071401072261365546">"This action isn\'t allowed by the app or your organisation"</string>
|
||||
<string name="skip_tutorial_dialog_title" msgid="2725643161260038458">"Skip navigation tutorial?"</string>
|
||||
<!-- no translation found for skip_tutorial_dialog_subtitle (544063326241955662) -->
|
||||
<skip />
|
||||
<string name="skip_tutorial_dialog_subtitle" msgid="544063326241955662">"You can find this later in the <xliff:g id="NAME">%1$s</xliff:g> app"</string>
|
||||
<string name="gesture_tutorial_action_button_label_cancel" msgid="3809842569351264108">"Cancel"</string>
|
||||
<string name="gesture_tutorial_action_button_label_skip" msgid="394452764989751960">"Skip"</string>
|
||||
</resources>
|
||||
|
||||
@@ -78,8 +78,7 @@
|
||||
<string name="action_screenshot" msgid="8171125848358142917">"Screenshot"</string>
|
||||
<string name="blocked_by_policy" msgid="2071401072261365546">"This action isn\'t allowed by the app or your organisation"</string>
|
||||
<string name="skip_tutorial_dialog_title" msgid="2725643161260038458">"Skip navigation tutorial?"</string>
|
||||
<!-- no translation found for skip_tutorial_dialog_subtitle (544063326241955662) -->
|
||||
<skip />
|
||||
<string name="skip_tutorial_dialog_subtitle" msgid="544063326241955662">"You can find this later in the <xliff:g id="NAME">%1$s</xliff:g> app"</string>
|
||||
<string name="gesture_tutorial_action_button_label_cancel" msgid="3809842569351264108">"Cancel"</string>
|
||||
<string name="gesture_tutorial_action_button_label_skip" msgid="394452764989751960">"Skip"</string>
|
||||
</resources>
|
||||
|
||||
@@ -78,8 +78,7 @@
|
||||
<string name="action_screenshot" msgid="8171125848358142917">"Սքրինշոթ անել"</string>
|
||||
<string name="blocked_by_policy" msgid="2071401072261365546">"Այս գործողությունն արգելված է հավելվածի կամ ձեր կազմակերպության կողմից"</string>
|
||||
<string name="skip_tutorial_dialog_title" msgid="2725643161260038458">"Բաց թողնե՞լ նավիգացիայի ուղեցույցը"</string>
|
||||
<!-- no translation found for skip_tutorial_dialog_subtitle (544063326241955662) -->
|
||||
<skip />
|
||||
<string name="skip_tutorial_dialog_subtitle" msgid="544063326241955662">"Հետագայում սա կարող եք գտնել «<xliff:g id="NAME">%1$s</xliff:g>» հավելվածում"</string>
|
||||
<string name="gesture_tutorial_action_button_label_cancel" msgid="3809842569351264108">"Չեղարկել"</string>
|
||||
<string name="gesture_tutorial_action_button_label_skip" msgid="394452764989751960">"Բաց թողնել"</string>
|
||||
</resources>
|
||||
|
||||
@@ -78,8 +78,7 @@
|
||||
<string name="action_screenshot" msgid="8171125848358142917">"រូបថតអេក្រង់"</string>
|
||||
<string name="blocked_by_policy" msgid="2071401072261365546">"សកម្មភាពនេះមិនត្រូវបានអនុញ្ញាតដោយកម្មវិធី ឬស្ថាប័នរបស់អ្នកទេ"</string>
|
||||
<string name="skip_tutorial_dialog_title" msgid="2725643161260038458">"រំលងមេរៀនអំពីការរុករកឬ?"</string>
|
||||
<!-- no translation found for skip_tutorial_dialog_subtitle (544063326241955662) -->
|
||||
<skip />
|
||||
<string name="skip_tutorial_dialog_subtitle" msgid="544063326241955662">"អ្នកអាចស្វែងរកមេរៀននេះនៅពេលក្រោយក្នុងកម្មវិធី <xliff:g id="NAME">%1$s</xliff:g>"</string>
|
||||
<string name="gesture_tutorial_action_button_label_cancel" msgid="3809842569351264108">"បោះបង់"</string>
|
||||
<string name="gesture_tutorial_action_button_label_skip" msgid="394452764989751960">"រំលង"</string>
|
||||
</resources>
|
||||
|
||||
@@ -78,8 +78,7 @@
|
||||
<string name="action_screenshot" msgid="8171125848358142917">"ຮູບໜ້າຈໍ"</string>
|
||||
<string name="blocked_by_policy" msgid="2071401072261365546">"ແອັບ ຫຼື ອົງການຂອງທ່ານບໍ່ອະນຸຍາດໃຫ້ໃຊ້ຄຳສັ່ງນີ້"</string>
|
||||
<string name="skip_tutorial_dialog_title" msgid="2725643161260038458">"ຂ້າມການສອນການນຳໃຊ້ການນຳທາງບໍ?"</string>
|
||||
<!-- no translation found for skip_tutorial_dialog_subtitle (544063326241955662) -->
|
||||
<skip />
|
||||
<string name="skip_tutorial_dialog_subtitle" msgid="544063326241955662">"ທ່ານສາມາດຊອກສ່ວນນີ້ພາຍຫຼັງໄດ້ໃນແອັບ <xliff:g id="NAME">%1$s</xliff:g>"</string>
|
||||
<string name="gesture_tutorial_action_button_label_cancel" msgid="3809842569351264108">"ຍົກເລີກ"</string>
|
||||
<string name="gesture_tutorial_action_button_label_skip" msgid="394452764989751960">"ຂ້າມ"</string>
|
||||
</resources>
|
||||
|
||||
@@ -78,8 +78,7 @@
|
||||
<string name="action_screenshot" msgid="8171125848358142917">"Picha ya skrini"</string>
|
||||
<string name="blocked_by_policy" msgid="2071401072261365546">"Kitendo hiki hakiruhusiwi na programu au shirika lako"</string>
|
||||
<string name="skip_tutorial_dialog_title" msgid="2725643161260038458">"Ungependa kuruka mafunzo ya usogezaji?"</string>
|
||||
<!-- no translation found for skip_tutorial_dialog_subtitle (544063326241955662) -->
|
||||
<skip />
|
||||
<string name="skip_tutorial_dialog_subtitle" msgid="544063326241955662">"Utapata mafunzo haya baadaye katika programu ya <xliff:g id="NAME">%1$s</xliff:g>"</string>
|
||||
<string name="gesture_tutorial_action_button_label_cancel" msgid="3809842569351264108">"Ghairi"</string>
|
||||
<string name="gesture_tutorial_action_button_label_skip" msgid="394452764989751960">"Ruka"</string>
|
||||
</resources>
|
||||
|
||||
@@ -78,8 +78,7 @@
|
||||
<string name="action_screenshot" msgid="8171125848358142917">"Skrinshot"</string>
|
||||
<string name="blocked_by_policy" msgid="2071401072261365546">"Bu amal ilova yoki tashkilotingiz tomonidan taqiqlangan"</string>
|
||||
<string name="skip_tutorial_dialog_title" msgid="2725643161260038458">"Navigatsiya darsi yopilsinmi?"</string>
|
||||
<!-- no translation found for skip_tutorial_dialog_subtitle (544063326241955662) -->
|
||||
<skip />
|
||||
<string name="skip_tutorial_dialog_subtitle" msgid="544063326241955662">"Bu darslar <xliff:g id="NAME">%1$s</xliff:g> ilovasida chiqadi"</string>
|
||||
<string name="gesture_tutorial_action_button_label_cancel" msgid="3809842569351264108">"Bekor qilish"</string>
|
||||
<string name="gesture_tutorial_action_button_label_skip" msgid="394452764989751960">"Tashlab ketish"</string>
|
||||
</resources>
|
||||
|
||||
@@ -110,7 +110,7 @@ public class QuickstepTransitionManager implements OnDeviceProfileChangeListener
|
||||
private static final String TAG = "QuickstepTransition";
|
||||
|
||||
private static final boolean ENABLE_SHELL_STARTING_SURFACE =
|
||||
SystemProperties.getBoolean("persist.debug.shell_starting_surface", false);
|
||||
SystemProperties.getBoolean("persist.debug.shell_starting_surface", true);
|
||||
|
||||
/** Duration of status bar animations. */
|
||||
public static final int STATUS_BAR_TRANSITION_DURATION = 120;
|
||||
|
||||
@@ -124,7 +124,7 @@
|
||||
<string name="action_add_to_workspace" msgid="8902165848117513641">"Lisää aloitusnäytölle"</string>
|
||||
<string name="action_move_here" msgid="2170188780612570250">"Siirrä kohde tänne"</string>
|
||||
<string name="item_added_to_workspace" msgid="4211073925752213539">"Kohde lisättiin aloitusnäytölle."</string>
|
||||
<string name="item_removed" msgid="851119963877842327">"Kohde poistettiin."</string>
|
||||
<string name="item_removed" msgid="851119963877842327">"Kohde poistettiin"</string>
|
||||
<string name="undo" msgid="4151576204245173321">"Kumoa"</string>
|
||||
<string name="action_move" msgid="4339390619886385032">"Siirrä kohde"</string>
|
||||
<string name="move_to_empty_cell" msgid="2833711483015685619">"Siirrä rivin <xliff:g id="NUMBER_0">%1$s</xliff:g> sarakkeeseen <xliff:g id="NUMBER_1">%2$s</xliff:g>."</string>
|
||||
|
||||
@@ -124,7 +124,7 @@
|
||||
<string name="action_add_to_workspace" msgid="8902165848117513641">"ਹੋਮ ਸਕ੍ਰੀਨ \'ਤੇ ਸ਼ਾਮਲ ਕਰੋ"</string>
|
||||
<string name="action_move_here" msgid="2170188780612570250">"ਆਈਟਮ ਨੂੰ ਇੱਥੇ ਮੂਵ ਕਰੋ"</string>
|
||||
<string name="item_added_to_workspace" msgid="4211073925752213539">"ਆਈਟਮ ਨੂੰ ਹੋਮ ਸਕ੍ਰੀਨ ਵਿੱਚ ਜੋੜਿਆ ਗਿਆ"</string>
|
||||
<string name="item_removed" msgid="851119963877842327">"ਅਈਟਮ ਹਟਾਈ ਗਈ"</string>
|
||||
<string name="item_removed" msgid="851119963877842327">"ਆਈਟਮ ਹਟਾਈ ਗਈ"</string>
|
||||
<string name="undo" msgid="4151576204245173321">"ਅਣਕੀਤਾ ਕਰੋ"</string>
|
||||
<string name="action_move" msgid="4339390619886385032">"ਆਈਟਮ ਨੂੰ ਮੂਵ ਕਰੋ"</string>
|
||||
<string name="move_to_empty_cell" msgid="2833711483015685619">"ਕਤਾਰ <xliff:g id="NUMBER_0">%1$s</xliff:g> ਕਾਲਮ <xliff:g id="NUMBER_1">%2$s</xliff:g> ਵਿੱਚ ਮੂਵ ਕਰੋ"</string>
|
||||
|
||||
@@ -1038,6 +1038,9 @@ public class CellLayout extends ViewGroup {
|
||||
mDragCellSpan[0] = spanX;
|
||||
mDragCellSpan[1] = spanY;
|
||||
|
||||
// Apply color extraction on a widget when dragging.
|
||||
applyColorExtractionOnWidget(dragObject, mDragCell, spanX, spanY);
|
||||
|
||||
final int oldIndex = mDragOutlineCurrent;
|
||||
mDragOutlineAnims[oldIndex].animateOut();
|
||||
mDragOutlineCurrent = (oldIndex + 1) % mDragOutlines.length;
|
||||
@@ -1059,8 +1062,8 @@ public class CellLayout extends ViewGroup {
|
||||
}
|
||||
|
||||
/** Applies the local color extraction to a dragging widget object. */
|
||||
private void applyColorExtraction(DropTarget.DragObject dragObject, int[] targetCell, int spanX,
|
||||
int spanY) {
|
||||
private void applyColorExtractionOnWidget(DropTarget.DragObject dragObject, int[] targetCell,
|
||||
int spanX, int spanY) {
|
||||
// Apply local extracted color if the DragView is an AppWidgetHostViewDrawable.
|
||||
Drawable drawable = dragObject.dragView.getDrawable();
|
||||
if (drawable instanceof AppWidgetHostViewDrawable) {
|
||||
|
||||
@@ -115,7 +115,6 @@ public abstract class AbstractLauncherUiTest {
|
||||
if (TestHelpers.isInLauncherProcess()) {
|
||||
StrictMode.VmPolicy.Builder builder =
|
||||
new StrictMode.VmPolicy.Builder()
|
||||
.detectActivityLeaks()
|
||||
.penaltyLog()
|
||||
.penaltyListener(Runnable::run, violation -> {
|
||||
if (sStrictmodeDetectedActivityLeak == null) {
|
||||
|
||||
Reference in New Issue
Block a user