summaryrefslogtreecommitdiff
path: root/src_ui_overrides
diff options
context:
space:
mode:
authorTracy Zhou <tracyzhou@google.com>2020-05-28 00:59:44 -0700
committerTracy Zhou <tracyzhou@google.com>2020-05-29 09:58:01 -0700
commitbc305fc7fe267a7ff42df37853594aff8210bc3e (patch)
treed5112de2c6569815f22e762178d1deecf4b1006d /src_ui_overrides
parentf8273b949f5d2a0a9a328e455c67644fbd0ee79b (diff)
downloadLauncher3-bc305fc7fe267a7ff42df37853594aff8210bc3e.tar.gz
Support predicted icons in preview
Fixes: 152789575 Test: https://screenshot.googleplex.com/r3AtHp3TAh0 Change-Id: I22f7ee2a69f2df12ade16f50bf455651dbfce597
Diffstat (limited to 'src_ui_overrides')
-rw-r--r--src_ui_overrides/com/android/launcher3/uioverrides/PredictedAppIconInflater.java29
1 files changed, 29 insertions, 0 deletions
diff --git a/src_ui_overrides/com/android/launcher3/uioverrides/PredictedAppIconInflater.java b/src_ui_overrides/com/android/launcher3/uioverrides/PredictedAppIconInflater.java
new file mode 100644
index 0000000000..4893c1740e
--- /dev/null
+++ b/src_ui_overrides/com/android/launcher3/uioverrides/PredictedAppIconInflater.java
@@ -0,0 +1,29 @@
+/*
+ * Copyright (C) 2020 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.
+ */
+package com.android.launcher3.uioverrides;
+
+import android.view.LayoutInflater;
+import android.view.View;
+import android.view.ViewGroup;
+
+import com.android.launcher3.model.data.WorkspaceItemInfo;
+
+/** A util class that inflates a predicted app icon */
+public class PredictedAppIconInflater {
+ public static View inflate(LayoutInflater inflater, ViewGroup parent, WorkspaceItemInfo info) {
+ return null;
+ }
+}