commit | d2db4cb39116f3f4498c09b8cd755bc332f5b4d4 | [log] [tgz] |
---|---|---|
author | Hyunyoung Song <hyunyoungs@google.com> | Tue Jan 26 12:49:17 2021 -0800 |
committer | Hyunyoung Song <hyunyoungs@google.com> | Wed Jan 27 08:28:15 2021 +0000 |
tree | 9bba6573fbaacb82c84fb86767addc191bc6ebc0 | |
parent | 0b3194c95dda83a9d04de77e3115c3db2b054435 [diff] |
Add SUGGEST ResultType and Thumbnail LayoutType Bug: 178454668 Bug: 178455221 Change-Id: Ibf0635a03bb300b943dba51ed036fc70c418e8fb
diff --git a/searchuilib/src/com/android/app/search/LayoutType.java b/searchuilib/src/com/android/app/search/LayoutType.java index 9741b72..675f1da 100644 --- a/searchuilib/src/com/android/app/search/LayoutType.java +++ b/searchuilib/src/com/android/app/search/LayoutType.java
@@ -49,6 +49,7 @@ "icon_texts_button"; + public static final String THUMBNAIL = "thumbnail"; // TODO: add diagram public static final String ICON_SLICE = "slice";
diff --git a/searchuilib/src/com/android/app/search/ResultType.java b/searchuilib/src/com/android/app/search/ResultType.java index 698f5b8..670912a 100644 --- a/searchuilib/src/com/android/app/search/ResultType.java +++ b/searchuilib/src/com/android/app/search/ResultType.java
@@ -31,4 +31,5 @@ public static final int TIPS = 1 << 6; public static final int WIDGETS = 1 << 7; public static final int PLAY = 1 << 8; + public static final int SUGGEST = 1 << 9; }