Loading app/src/main/java/foundation/e/blisslauncher/features/launcher/LauncherActivity.java +6 −1 Original line number Diff line number Diff line Loading @@ -203,6 +203,7 @@ public class LauncherActivity extends AppCompatActivity implements private boolean allAppsDisplayed; private boolean forceRefreshSuggestedApps = false; private List<UsageStats> mUsageStats; private FrameLayout swipeSearchContainer; private InsettableRelativeLayout workspace; Loading Loading @@ -3129,12 +3130,16 @@ public class LauncherActivity extends AppCompatActivity implements public void onSwipeStart() { swipeSearchContainer.setTranslationY( BlissLauncher.getApplication(this).getDeviceProfile().availableHeightPx); swipeSearchContainer.setVisibility(VISIBLE); swipeSearchContainer.setVisibility(GONE); showSwipeSearch = false; } @Override public void onSwipe(int position) { if ((longPressed && !mLongClickStartsDrag) || (!longPressed && isWobbling)){ return; } swipeSearchContainer.setVisibility(VISIBLE); float translateBy = position * 1.25f; if (translateBy <= swipeSearchContainer.getHeight()) { swipeSearchContainer.setTranslationY(-swipeSearchContainer.getHeight() + translateBy); Loading Loading
app/src/main/java/foundation/e/blisslauncher/features/launcher/LauncherActivity.java +6 −1 Original line number Diff line number Diff line Loading @@ -203,6 +203,7 @@ public class LauncherActivity extends AppCompatActivity implements private boolean allAppsDisplayed; private boolean forceRefreshSuggestedApps = false; private List<UsageStats> mUsageStats; private FrameLayout swipeSearchContainer; private InsettableRelativeLayout workspace; Loading Loading @@ -3129,12 +3130,16 @@ public class LauncherActivity extends AppCompatActivity implements public void onSwipeStart() { swipeSearchContainer.setTranslationY( BlissLauncher.getApplication(this).getDeviceProfile().availableHeightPx); swipeSearchContainer.setVisibility(VISIBLE); swipeSearchContainer.setVisibility(GONE); showSwipeSearch = false; } @Override public void onSwipe(int position) { if ((longPressed && !mLongClickStartsDrag) || (!longPressed && isWobbling)){ return; } swipeSearchContainer.setVisibility(VISIBLE); float translateBy = position * 1.25f; if (translateBy <= swipeSearchContainer.getHeight()) { swipeSearchContainer.setTranslationY(-swipeSearchContainer.getHeight() + translateBy); Loading