Loading app/build.gradle +1 −1 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ apply plugin: 'io.fabric' // Manifest version information! def versionMajor = 1 def versionMinor = 0 def versionPatch = 1 def versionPatch = 2 android { compileSdkVersion rootProject.ext.compileSdkVersion Loading app/src/main/java/foundation/e/blisslauncher/features/suggestions/AutoCompleteServiceRawResult.java→app/src/main/java/foundation/e/blisslauncher/core/network/duckduckgo/DuckDuckGoResult.java +14 −0 Original line number Diff line number Diff line package foundation.e.blisslauncher.features.suggestions; package foundation.e.blisslauncher.core.network.duckduckgo; public class AutoCompleteServiceRawResult { public class DuckDuckGoResult { private String phrase; public AutoCompleteServiceRawResult(String phrase){ public DuckDuckGoResult(String phrase){ this.phrase = phrase; } Loading app/src/main/java/foundation/e/blisslauncher/features/suggestions/AutoCompleteService.java→app/src/main/java/foundation/e/blisslauncher/core/network/duckduckgo/DuckDuckGoSuggestionService.java100755 → 100644 +12 −0 Original line number Diff line number Diff line package foundation.e.blisslauncher.features.suggestions; package foundation.e.blisslauncher.core.network.duckduckgo; import java.util.List; Loading @@ -6,8 +6,7 @@ import io.reactivex.Observable; import retrofit2.http.GET; import retrofit2.http.Query; public interface AutoCompleteService { public interface DuckDuckGoSuggestionService { @GET("/ac/") Observable<List<AutoCompleteServiceRawResult>> query(@Query("q") String query); Observable<List<DuckDuckGoResult>> query(@Query("q") String query); } app/src/main/java/foundation/e/blisslauncher/core/network/qwant/QwantData.java 0 → 100644 +20 −0 Original line number Diff line number Diff line package foundation.e.blisslauncher.core.network.qwant; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; import java.util.List; public class QwantData { @SerializedName("items") @Expose private List<QwantItem> items = null; public List<QwantItem> getItems() { return items; } public void setItems(List<QwantItem> items) { this.items = items; } } app/src/main/java/foundation/e/blisslauncher/core/network/qwant/QwantItem.java 0 → 100644 +29 −0 Original line number Diff line number Diff line package foundation.e.blisslauncher.core.network.qwant; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; public class QwantItem { @SerializedName("value") @Expose private String value; @SerializedName("suggestType") @Expose private Integer suggestType; public String getValue() { return value; } public void setValue(String value) { this.value = value; } public Integer getSuggestType() { return suggestType; } public void setSuggestType(Integer suggestType) { this.suggestType = suggestType; } } Loading
app/build.gradle +1 −1 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ apply plugin: 'io.fabric' // Manifest version information! def versionMajor = 1 def versionMinor = 0 def versionPatch = 1 def versionPatch = 2 android { compileSdkVersion rootProject.ext.compileSdkVersion Loading
app/src/main/java/foundation/e/blisslauncher/features/suggestions/AutoCompleteServiceRawResult.java→app/src/main/java/foundation/e/blisslauncher/core/network/duckduckgo/DuckDuckGoResult.java +14 −0 Original line number Diff line number Diff line package foundation.e.blisslauncher.features.suggestions; package foundation.e.blisslauncher.core.network.duckduckgo; public class AutoCompleteServiceRawResult { public class DuckDuckGoResult { private String phrase; public AutoCompleteServiceRawResult(String phrase){ public DuckDuckGoResult(String phrase){ this.phrase = phrase; } Loading
app/src/main/java/foundation/e/blisslauncher/features/suggestions/AutoCompleteService.java→app/src/main/java/foundation/e/blisslauncher/core/network/duckduckgo/DuckDuckGoSuggestionService.java100755 → 100644 +12 −0 Original line number Diff line number Diff line package foundation.e.blisslauncher.features.suggestions; package foundation.e.blisslauncher.core.network.duckduckgo; import java.util.List; Loading @@ -6,8 +6,7 @@ import io.reactivex.Observable; import retrofit2.http.GET; import retrofit2.http.Query; public interface AutoCompleteService { public interface DuckDuckGoSuggestionService { @GET("/ac/") Observable<List<AutoCompleteServiceRawResult>> query(@Query("q") String query); Observable<List<DuckDuckGoResult>> query(@Query("q") String query); }
app/src/main/java/foundation/e/blisslauncher/core/network/qwant/QwantData.java 0 → 100644 +20 −0 Original line number Diff line number Diff line package foundation.e.blisslauncher.core.network.qwant; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; import java.util.List; public class QwantData { @SerializedName("items") @Expose private List<QwantItem> items = null; public List<QwantItem> getItems() { return items; } public void setItems(List<QwantItem> items) { this.items = items; } }
app/src/main/java/foundation/e/blisslauncher/core/network/qwant/QwantItem.java 0 → 100644 +29 −0 Original line number Diff line number Diff line package foundation.e.blisslauncher.core.network.qwant; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; public class QwantItem { @SerializedName("value") @Expose private String value; @SerializedName("suggestType") @Expose private Integer suggestType; public String getValue() { return value; } public void setValue(String value) { this.value = value; } public Integer getSuggestType() { return suggestType; } public void setSuggestType(Integer suggestType) { this.suggestType = suggestType; } }