Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8a230d03 authored by Hyunyoung Song's avatar Hyunyoung Song Committed by Automerger Merge Worker
Browse files

Merge "Name the key for the Extras attribute to control whether thumbnails...

Merge "Name the key for the Extras attribute to control whether thumbnails should fill the whole container." into tm-qpr-dev am: 8f32c543 am: e19efae5

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/libs/systemui/+/21150399



Change-Id: I070ea201ac7b9ddc295856d508cc2f11cd33cfc1
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 7b50a1ca e19efae5
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -71,6 +71,17 @@ public class SearchTargetExtras {
    public static final String BUNDLE_EXTRA_TALL_CARD_IMAGE_DESCRIPTION =
            "tall_card_image_description";
    public static final String BUNDLE_EXTRA_BITMAP_URL = "bitmap_url";
    /**
     *  Flag to control whether thumbnail(s) should fill the thumbnail container's width or not.
     *  When this flag is true, when there are less than the maximum number of thumbnails in the
     *  container, the thumbnails will stretch to fill the container's width.
     *  When this flag is false, thumbnails will always be cropped to a square ratio even if
     *  there aren't enough thumbnails to fill the container.
     *
     *  Only relevant in {@link LayoutType.THUMBNAIL_CONTAINER} and {@link LayoutType.THUMBNAIL}.
     */
    public static final String BUNDLE_EXTRA_SHOULD_FILL_CONTAINER_WIDTH =
            "should_fill_container_width";
    public static final String BUNDLE_EXTRA_SUGGESTION_ACTION_TEXT = "suggestion_action_text";
    public static final String BUNDLE_EXTRA_SUGGESTION_ACTION_RPC = "suggestion_action_rpc";
    public static final String BUNDLE_EXTRA_SUPPORT_QUERY_BUILDER = "support_query_builder";