From e7a5b19775418edd5ef11aa8a4a1d82a1d82e2e4 Mon Sep 17 00:00:00 2001 From: TrianguloY Date: Sat, 16 Mar 2019 11:39:09 +0100 Subject: [PATCH] Imports changes (automatic by Android Studio) --- .../lightning_launcher/script/api/Container.java | 9 +++++---- .../lightning_launcher/script/api/CustomView.java | 1 - .../pierrox/lightning_launcher/script/api/Folder.java | 1 - .../lightning_launcher/script/api/ImageBitmap.java | 3 +-- .../pierrox/lightning_launcher/script/api/Item.java | 11 ++++++----- .../lightning_launcher/script/api/PropertySet.java | 7 ++++--- .../lightning_launcher/script/api/VariableSet.java | 1 - 7 files changed, 16 insertions(+), 17 deletions(-) diff --git a/app/llx/core/src/main/java/net/pierrox/lightning_launcher/script/api/Container.java b/app/llx/core/src/main/java/net/pierrox/lightning_launcher/script/api/Container.java index 87bc0d0..6cb343a 100644 --- a/app/llx/core/src/main/java/net/pierrox/lightning_launcher/script/api/Container.java +++ b/app/llx/core/src/main/java/net/pierrox/lightning_launcher/script/api/Container.java @@ -7,15 +7,13 @@ import android.view.ViewGroup; import com.faendir.rhino_android.RhinoAndroidHelper; -import java.util.ArrayList; -import java.util.HashMap; - import net.pierrox.lightning_launcher.R; import net.pierrox.lightning_launcher.data.EmbeddedFolder; import net.pierrox.lightning_launcher.data.IconPack; -import net.pierrox.lightning_launcher.engine.LightningEngine; import net.pierrox.lightning_launcher.data.Page; import net.pierrox.lightning_launcher.data.Utils; +import net.pierrox.lightning_launcher.engine.LightningEngine; +import net.pierrox.lightning_launcher.script.api.screen.Screen; import net.pierrox.lightning_launcher.views.ItemLayout; import net.pierrox.lightning_launcher.views.item.ItemView; @@ -25,6 +23,9 @@ import org.mozilla.javascript.NativeJavaObject; import org.mozilla.javascript.ScriptRuntime; import org.mozilla.javascript.Scriptable; +import java.util.ArrayList; +import java.util.HashMap; + /** * The container can be either a desktop, a folder or a panel. Its role is to manage items inside. * diff --git a/app/llx/core/src/main/java/net/pierrox/lightning_launcher/script/api/CustomView.java b/app/llx/core/src/main/java/net/pierrox/lightning_launcher/script/api/CustomView.java index 17d35da..64f193f 100644 --- a/app/llx/core/src/main/java/net/pierrox/lightning_launcher/script/api/CustomView.java +++ b/app/llx/core/src/main/java/net/pierrox/lightning_launcher/script/api/CustomView.java @@ -2,7 +2,6 @@ package net.pierrox.lightning_launcher.script.api; import android.view.View; -import net.pierrox.lightning_launcher.script.api.screen.Screen; import net.pierrox.lightning_launcher.views.item.CustomViewView; import net.pierrox.lightning_launcher.views.item.ItemView; diff --git a/app/llx/core/src/main/java/net/pierrox/lightning_launcher/script/api/Folder.java b/app/llx/core/src/main/java/net/pierrox/lightning_launcher/script/api/Folder.java index ddb9422..3890493 100644 --- a/app/llx/core/src/main/java/net/pierrox/lightning_launcher/script/api/Folder.java +++ b/app/llx/core/src/main/java/net/pierrox/lightning_launcher/script/api/Folder.java @@ -3,7 +3,6 @@ package net.pierrox.lightning_launcher.script.api; import android.graphics.Point; import android.graphics.drawable.Drawable; -import net.pierrox.lightning_launcher.data.*; import net.pierrox.lightning_launcher.engine.Screen; import net.pierrox.lightning_launcher.views.FolderView; import net.pierrox.lightning_launcher.views.ItemLayout; diff --git a/app/llx/core/src/main/java/net/pierrox/lightning_launcher/script/api/ImageBitmap.java b/app/llx/core/src/main/java/net/pierrox/lightning_launcher/script/api/ImageBitmap.java index ba5f303..5769277 100644 --- a/app/llx/core/src/main/java/net/pierrox/lightning_launcher/script/api/ImageBitmap.java +++ b/app/llx/core/src/main/java/net/pierrox/lightning_launcher/script/api/ImageBitmap.java @@ -2,12 +2,11 @@ package net.pierrox.lightning_launcher.script.api; import android.graphics.Bitmap; import android.graphics.Canvas; +import android.graphics.Typeface; import android.graphics.drawable.BitmapDrawable; import android.graphics.drawable.Drawable; -import android.view.View; import net.pierrox.lightning_launcher.LLApp; -import net.pierrox.lightning_launcher.engine.*; import net.pierrox.lightning_launcher.engine.Screen; import net.pierrox.lightning_launcher.views.SharedAsyncGraphicsDrawable; import net.pierrox.lightning_launcher.views.item.ItemView; diff --git a/app/llx/core/src/main/java/net/pierrox/lightning_launcher/script/api/Item.java b/app/llx/core/src/main/java/net/pierrox/lightning_launcher/script/api/Item.java index 45f5c3f..83571cb 100644 --- a/app/llx/core/src/main/java/net/pierrox/lightning_launcher/script/api/Item.java +++ b/app/llx/core/src/main/java/net/pierrox/lightning_launcher/script/api/Item.java @@ -1,10 +1,6 @@ package net.pierrox.lightning_launcher.script.api; -import java.io.File; -import java.io.FileOutputStream; -import java.io.IOException; - import android.graphics.Bitmap; import android.graphics.RectF; import android.graphics.drawable.Drawable; @@ -13,9 +9,10 @@ import android.widget.TextView; import net.pierrox.lightning_launcher.LLApp; import net.pierrox.lightning_launcher.configuration.ItemConfig; -import net.pierrox.lightning_launcher.data.*; import net.pierrox.lightning_launcher.data.Box; +import net.pierrox.lightning_launcher.data.Page; import net.pierrox.lightning_launcher.data.Shortcut; +import net.pierrox.lightning_launcher.data.Utils; import net.pierrox.lightning_launcher.script.api.screen.Screen; import net.pierrox.lightning_launcher.views.IconLabelView; import net.pierrox.lightning_launcher.views.ItemLayout; @@ -27,6 +24,10 @@ import org.mozilla.javascript.NativeJavaObject; import org.mozilla.javascript.ScriptRuntime; import org.mozilla.javascript.Scriptable; +import java.io.File; +import java.io.FileOutputStream; +import java.io.IOException; + /** * The item is the base class for other objects that can be found in a container (shortcuts, folders, etc.). * There are specific classes for some items (shortcut, folder, ...) when these items provides custom services. diff --git a/app/llx/core/src/main/java/net/pierrox/lightning_launcher/script/api/PropertySet.java b/app/llx/core/src/main/java/net/pierrox/lightning_launcher/script/api/PropertySet.java index 5b6b4bd..444c421 100644 --- a/app/llx/core/src/main/java/net/pierrox/lightning_launcher/script/api/PropertySet.java +++ b/app/llx/core/src/main/java/net/pierrox/lightning_launcher/script/api/PropertySet.java @@ -1,6 +1,6 @@ package net.pierrox.lightning_launcher.script.api; -import java.lang.reflect.Field; +import android.util.Pair; import net.pierrox.lightning_launcher.configuration.FolderConfig; import net.pierrox.lightning_launcher.configuration.GlobalConfig; @@ -8,9 +8,10 @@ import net.pierrox.lightning_launcher.configuration.ItemConfig; import net.pierrox.lightning_launcher.configuration.PageConfig; import net.pierrox.lightning_launcher.configuration.ShortcutConfig; import net.pierrox.lightning_launcher.configuration.ShortcutConfigStylable; -import net.pierrox.lightning_launcher.data.*; +import net.pierrox.lightning_launcher.data.EventAction; +import net.pierrox.lightning_launcher.data.Page; -import android.util.Pair; +import java.lang.reflect.Field; /** * Access to container and item properties (aka settings). diff --git a/app/llx/core/src/main/java/net/pierrox/lightning_launcher/script/api/VariableSet.java b/app/llx/core/src/main/java/net/pierrox/lightning_launcher/script/api/VariableSet.java index 6e1b84c..cec1ee4 100644 --- a/app/llx/core/src/main/java/net/pierrox/lightning_launcher/script/api/VariableSet.java +++ b/app/llx/core/src/main/java/net/pierrox/lightning_launcher/script/api/VariableSet.java @@ -1,7 +1,6 @@ package net.pierrox.lightning_launcher.script.api; import net.pierrox.lightning_launcher.engine.variable.Value; -import net.pierrox.lightning_launcher.engine.variable.Variable; import net.pierrox.lightning_launcher.engine.variable.VariableManager; /**