Loading tests/AndroidManifest-common.xml +4 −0 Original line number Diff line number Diff line Loading @@ -32,6 +32,7 @@ <receiver android:name="com.android.launcher3.testcomponent.AppWidgetNoConfig" android:exported="true" android:icon="@drawable/test_widget_no_config_icon" android:label="No Config"> <intent-filter> <action android:name="android.appwidget.action.APPWIDGET_UPDATE"/> Loading Loading @@ -65,6 +66,7 @@ <receiver android:name="com.android.launcher3.testcomponent.AppWidgetWithConfig" android:exported="true" android:icon="@drawable/test_widget_with_config_icon" android:label="With Config"> <intent-filter> <action android:name="android.appwidget.action.APPWIDGET_UPDATE"/> Loading @@ -76,6 +78,7 @@ <receiver android:name="com.android.launcher3.testcomponent.AppWidgetWithDialog" android:exported="true" android:icon="@drawable/test_widget_with_dialog_icon" android:label="With Dialog"> <intent-filter> <action android:name="android.appwidget.action.APPWIDGET_UPDATE"/> Loading @@ -87,6 +90,7 @@ <receiver android:name="com.android.launcher3.testcomponent.AppWidgetDynamicColors" android:exported="true" android:icon="@drawable/test_widget_dynamic_colors_icon" android:label="Dynamic Colors"> <intent-filter> <action android:name="android.appwidget.action.APPWIDGET_UPDATE"/> Loading tests/res/drawable/test_widget_dynamic_colors_icon.xml 0 → 100644 +29 −0 Original line number Diff line number Diff line <?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. --> <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> <background android:drawable="@android:color/white"/> <foreground> <color android:color="#964B00"/> </foreground> <monochrome> <vector android:width="48dp" android:height="48dp" android:viewportWidth="48.0" android:viewportHeight="48.0"> <path android:fillColor="#FF000000" android:pathData="M0,24L48,24 48,48, 0,48 Z"/> </vector> </monochrome> </adaptive-icon> tests/res/drawable/test_widget_no_config_icon.xml 0 → 100644 +29 −0 Original line number Diff line number Diff line <?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. --> <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> <background android:drawable="@android:color/white"/> <foreground> <color android:color="#00FFFF"/> </foreground> <monochrome> <vector android:width="48dp" android:height="48dp" android:viewportWidth="48.0" android:viewportHeight="48.0"> <path android:fillColor="#FF000000" android:pathData="M0,24L48,24 48,48, 0,48 Z"/> </vector> </monochrome> </adaptive-icon> tests/res/drawable/test_widget_with_config_icon.xml 0 → 100644 +29 −0 Original line number Diff line number Diff line <?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. --> <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> <background android:drawable="@android:color/white"/> <foreground> <color android:color="#008000" /> </foreground> <monochrome> <vector android:width="48dp" android:height="48dp" android:viewportWidth="48.0" android:viewportHeight="48.0"> <path android:fillColor="#FF000000" android:pathData="M0,24L48,24 48,48, 0,48 Z"/> </vector> </monochrome> </adaptive-icon> tests/res/drawable/test_widget_with_dialog_icon.xml 0 → 100644 +29 −0 Original line number Diff line number Diff line <?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. --> <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> <background android:drawable="@android:color/white"/> <foreground> <color android:color="#800080"/> </foreground> <monochrome> <vector android:width="48dp" android:height="48dp" android:viewportWidth="48.0" android:viewportHeight="48.0"> <path android:fillColor="#FF000000" android:pathData="M0,24L48,24 48,48, 0,48 Z"/> </vector> </monochrome> </adaptive-icon> Loading
tests/AndroidManifest-common.xml +4 −0 Original line number Diff line number Diff line Loading @@ -32,6 +32,7 @@ <receiver android:name="com.android.launcher3.testcomponent.AppWidgetNoConfig" android:exported="true" android:icon="@drawable/test_widget_no_config_icon" android:label="No Config"> <intent-filter> <action android:name="android.appwidget.action.APPWIDGET_UPDATE"/> Loading Loading @@ -65,6 +66,7 @@ <receiver android:name="com.android.launcher3.testcomponent.AppWidgetWithConfig" android:exported="true" android:icon="@drawable/test_widget_with_config_icon" android:label="With Config"> <intent-filter> <action android:name="android.appwidget.action.APPWIDGET_UPDATE"/> Loading @@ -76,6 +78,7 @@ <receiver android:name="com.android.launcher3.testcomponent.AppWidgetWithDialog" android:exported="true" android:icon="@drawable/test_widget_with_dialog_icon" android:label="With Dialog"> <intent-filter> <action android:name="android.appwidget.action.APPWIDGET_UPDATE"/> Loading @@ -87,6 +90,7 @@ <receiver android:name="com.android.launcher3.testcomponent.AppWidgetDynamicColors" android:exported="true" android:icon="@drawable/test_widget_dynamic_colors_icon" android:label="Dynamic Colors"> <intent-filter> <action android:name="android.appwidget.action.APPWIDGET_UPDATE"/> Loading
tests/res/drawable/test_widget_dynamic_colors_icon.xml 0 → 100644 +29 −0 Original line number Diff line number Diff line <?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. --> <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> <background android:drawable="@android:color/white"/> <foreground> <color android:color="#964B00"/> </foreground> <monochrome> <vector android:width="48dp" android:height="48dp" android:viewportWidth="48.0" android:viewportHeight="48.0"> <path android:fillColor="#FF000000" android:pathData="M0,24L48,24 48,48, 0,48 Z"/> </vector> </monochrome> </adaptive-icon>
tests/res/drawable/test_widget_no_config_icon.xml 0 → 100644 +29 −0 Original line number Diff line number Diff line <?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. --> <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> <background android:drawable="@android:color/white"/> <foreground> <color android:color="#00FFFF"/> </foreground> <monochrome> <vector android:width="48dp" android:height="48dp" android:viewportWidth="48.0" android:viewportHeight="48.0"> <path android:fillColor="#FF000000" android:pathData="M0,24L48,24 48,48, 0,48 Z"/> </vector> </monochrome> </adaptive-icon>
tests/res/drawable/test_widget_with_config_icon.xml 0 → 100644 +29 −0 Original line number Diff line number Diff line <?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. --> <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> <background android:drawable="@android:color/white"/> <foreground> <color android:color="#008000" /> </foreground> <monochrome> <vector android:width="48dp" android:height="48dp" android:viewportWidth="48.0" android:viewportHeight="48.0"> <path android:fillColor="#FF000000" android:pathData="M0,24L48,24 48,48, 0,48 Z"/> </vector> </monochrome> </adaptive-icon>
tests/res/drawable/test_widget_with_dialog_icon.xml 0 → 100644 +29 −0 Original line number Diff line number Diff line <?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. --> <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> <background android:drawable="@android:color/white"/> <foreground> <color android:color="#800080"/> </foreground> <monochrome> <vector android:width="48dp" android:height="48dp" android:viewportWidth="48.0" android:viewportHeight="48.0"> <path android:fillColor="#FF000000" android:pathData="M0,24L48,24 48,48, 0,48 Z"/> </vector> </monochrome> </adaptive-icon>