Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DerpLauncher: Import Brazilian Portuguese translations #28

Open
wants to merge 166 commits into
base: 15
Choose a base branch
from

Conversation

franklin-albuquerque
Copy link

No description provided.

kdrag0n and others added 30 commits October 18, 2024 00:02
- Use new API to enable/disable SysUI taskbar integration
- User-facing setting to control taskbar eligibility
- Reload by restarting (live reload would be much more complicated)
- Update SysUI integration state before reloading

Depends on frameworks/base commit:
    SystemUI: Add API for runtime taskbar config

Change-Id: Id1889ca9b102f94cc0a1161f49de88428dcc0943
Depending on the navigation mode in use, the animation used
for the swipe down gesture may result in a NPE. While it works
perfectly fine with full gesture or 2-button navigation modes,
an NPE results when swiped down on 3-button navitation as recents
task is trigged with the third button instead of the swipe up
gesture.

Change-Id: Id276489a8d2acdd44d4e33fcc1bc6a9b193e0bf8
This is similar to, but not exactly the same as, Pixel stock:

- Background color with contrast in light mode
- Round, flat search bar surface with color matching the header
  background
- Solid rounded background when positioned at the beginning of the list
- Subtle placeholder text (medium weight) without icon
- Same font size as Settings search bar

Change-Id: Ifa9fabe3a8236513fad8030c0bd8ed4d27ebd549
Commit Ifa9fabe3a8236513fad8030c0bd8ed4d27ebd549 improved the look
of the search bar, however it had a few issues and the overall
look did not match Settings or Widget search style.

The following improvements have been made:
 - Centered the search bar text vertically inside the search bar
 - Fixed poor contrast of the search bar text against the background
 - Added back search icon that is always shown, matching Widget search
 - Changed paddings to match Widget search

Change-Id: Ia127da05adff45f8860f0870817aaa9fde8e171c
Change-Id: Ic779bf0bf20046bfe92385e6a09796e94ba68644
* Else text goes brrrr....

Signed-off-by: Pranav Vashi <[email protected]>
Change-Id: Ie7f872aaa5677ead3128ef2fbe410434d28953ef
Go to the recents page from all apps page and rotate to horizontal, at
last switch to one app that only support portrait display, we will see
the gesture navigation always at device right and not move to bottom.
At this scenario, launcher state switch from overview to all apps, but
launcher not notify systemui update gesture navigation display.

To slove this, launcher must notify systemui update gesture navigation
display when launcher state switch from overview to all apps.

CRs-Fixed: 2828560

Change-Id: Ib2319045d3851b43dadd6a0e06ac65be2e5227f7
Matches Pixel launcher look.

Change-Id: I3808763c13f25c12f31d6e6f98abd29dc3422d75
Redone, again. This time, many comments added.

Compared to I586f7332, this primarily results in some fixes for the
floating header row(s) (AiAi prediction row) if present.

Change-Id: Ib0f383fb89a6847fccbcc96d13b051983d76f0c5
* Entering and leaving search now takes effect right away.
* Should fix race in which tapping an app while search results are
  loading causes a tap on the previous app in the position, rather
  than on the search result.
* Helps prevent the scrollbar from appearing to be scrolled down
  somewhat when leaving search with floating header rows present;
  still happens sometimes, though (on stock OS launcher, too).

Issue: calyxos#1413
Change-Id: I67bc59456eb2e57e13b1b99509d3313ff0243b88
neobuddy89:
When app label in app drawer is disabled, there is an overlap.

Before: https://imgur.com/H2eQGer
After: https://imgur.com/4YqAN4Z

Signed-off-by: Pranav Vashi <[email protected]>
Sorting behavior is different in the exact locale "zh-CN", but newer
setups will have "zh-Hans-CN" and miss the locale-specific behavior.

P.S. "zh-CN" locale is no longer accessible in settings UI.

Change-Id: I59afe38e1ea2ac507ff017e855d9810092604e99
* Supply the UserHandle to BitmapIcon, rather than FLAG_WORK, so that
  the proper badge icon can be used for a given profile (different
  colors).

Change-Id: I64f1b425eee5cc7994616050411a881d84ece99d
Overrides.getObject() calls the constructor with context if the overlay
has a valid class, if empty it uses the constructor without args.
Considering this class is part of quickstep, we should support both
cases, since this is the fallback class anyway

Change-Id: Ic412a2a3efbe1d3f8b9c02a58635c2821eabd54d
Overrides.getObject() calls the constructor with context if the overlay
has a valid class, if empty it uses the constructor without args.
Considering this class is part of quickstep, we should support both
cases, since this is the fallback class anyway

Based on 93f44a4

Change-Id: Ida3f5e056522871dc35ce48a5488ad28b6b0c2cc
Change-Id: I29aac5482ab3a6e8df41fd130013fd9ff0c3c8e6
Change-Id: I0405f96b8bfd1e7beaca518a06c9c4520b578b6d
Signed-off-by: minaripenguin <[email protected]>
Description:
Compute a child location by recursion, it
may not have parent view.

When the child doesn't have parent, should
break the recursive.

Change-Id: I8707712b85c10bf1c1d3860c5b8323aefd455cf2
CRs-Fixed: 1104931
It will appear a null object crash in quickstep launch
when monkey test. Althoough the 'View v' is declared as NonNull,
but there is a probability that it will return a null object
after the 'isTaskViewVisible' judgement in 'findTaskViewToLaunch',
Make a judgement before use to avoid crash.

Change-Id: I4606853325641feaf26a79791cce2514cee80d4c
Signed-off-by: Anle Pan <[email protected]>
Change-Id: Id7800817bd869fa28eeddf31384777720b95b32c
it will appear a null object reference crash in
quickstep lanch when monkey test, make a non-null
judgement before use to avoid crash

Change-Id: I0d92a9c3fa4d5836247b40c96a262c35eb6c1ea9
Signed-off-by: Anle Pan <[email protected]>
Calling getViewRootImpl on a targetView is nullable, so we'd add a null
check here before getting its SurfaceControl.

Bug: 273143527
Test: manual
Change-Id: I245bc553ca32cf5b86978f826cfb2ca92def84d7
Fix location of AllAppsEduView not center in rtl layout.

Test: manual - swipe up to trigger AllAppsEduView in different situation

Change-Id: I8185148fda34200052fd520d2ca865b81bca270a
The workspaceItemInfos passed in may be modified elsewhere at the same
time as this executor is running, we can introduce a new ArrayList
object initialized with all original workspaceItemInfos to avoid
ConcurrentModificationException as a tricky workaround.

Bug: 271324475
Test: atest
Change-Id: I087e2b780a35743b8f9cb1371dd13fa241737f8c
Change-Id: I9e6c5f2f1be9d823783eeeb0bb6a13b686a03728
- Adapt to Android 10

Change-Id: I5315438cc7103fd931c9e2cf0e7f9f7be85828cc
Icon made by SwiftIcons
https://www.swifticons.com/

Icon itself is covered by the Creative Commons license 3.0
https://creativecommons.org/licenses/by/3.0/us/

- No additional edits were made to the icons, all original.

Change-Id: I7425d1e526ca6c613c1ee56d7871029f1b5f005a
The default 13-point label size can barely fit any app names on modern
phone form factors without ellipsizing. Reducing the size to 12 points
allows us to fit most apps names, and upon visual inspection, it appears
to be the same size as that of Pixel Launcher.

Change-Id: I6ad63c14237f1f38c86ec02059b03896e5dd3a77
Pranav Vashi and others added 29 commits October 18, 2024 00:02
Change-Id: Ib83b8074c1825343ac15709d090c54b779dcc48c
Signed-off-by: Pranav Vashi <[email protected]>
Change-Id: I66bb9a232e7e49a94a1c8b11bea195a5d8faa6d1
Signed-off-by: StarkDroid <[email protected]>
Change-Id: Ib8e1d039ce47c0b99029dbcafcd9def59e07ad59
Signed-off-by: Pranav Vashi <[email protected]>
Signed-off-by: Mohammad Hasan Keramat J <[email protected]>
[ghostrider-reborn: simplify code, add to recents end clear all button]
Signed-off-by: Adithya R <[email protected]>
idk why it happens.
Launcher object should be init and setup, passed via constructors all the way up here.
Anyways this function only tries to show a tip. Let's not crash for that.

Log:
E AndroidRuntime: FATAL EXCEPTION: main
E AndroidRuntime: Process: com.android.launcher3, PID: 4821
E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean com.android.launcher3.CellLayout.makeSpaceForHotseatMigration(boolean)' on a null object reference
E AndroidRuntime: 	at com.android.launcher3.hybridhotseat.HotseatEduController.showEdu(HotseatEduController.java:165)
E AndroidRuntime: 	at com.android.launcher3.hybridhotseat.HotseatPredictionController.lambda$showEdu$3$com-android-launcher3-hybridhotseat-HotseatPredictionController(HotseatPredictionController.java:159)
E AndroidRuntime: 	at com.android.launcher3.hybridhotseat.HotseatPredictionController$$ExternalSyntheticLambda3.run(Unknown Source:2)
E AndroidRuntime: 	at com.android.launcher3.anim.AnimatorListeners$RunnableSuccessListener.onAnimationSuccess(AnimatorListeners.java:97)
E AndroidRuntime: 	at com.android.launcher3.anim.AnimationSuccessListener.onAnimationEnd(AnimationSuccessListener.java:40)
...
Change-Id: I2d528f7fb24a91a575c949be60b98696dbedd19f
Signed-off-by: SahilSonar <[email protected]>
Signed-off-by: Saalim Quadri <[email protected]>
Change-Id: I847cee50096a4e21c259e72bd19c87cf549852ed
Signed-off-by: SahilSonar <[email protected]>
Signed-off-by: Saalim Quadri <[email protected]>
some people like to use sw600dp UI in phones...

Change-Id: I83c8ec7a359929f1589c0ca35896f07bdcd7cecc
Signed-off-by: SahilSonar <[email protected]>
Signed-off-by: Saalim Quadri <[email protected]>
excluding taskbar is a design decision as it might look weird/unreadable
over recents or random app content

Change-Id: I2d0e24b4340e7bea923b15dff73481c4088223c9
Signed-off-by: SahilSonar <[email protected]>
Signed-off-by: Saalim Quadri <[email protected]>
It's a feature, but erm... it looks terrible.

Change-Id: Ibdbdc49e28ed210cc0d3cc9c0bc97ffd05475b9b
Signed-off-by: SahilSonar <[email protected]>
Signed-off-by: Saalim Quadri <[email protected]>
Change-Id: I96970593301a7577f2d71c908551b8ee06f43f0a
Signed-off-by: SahilSonar <[email protected]>
Signed-off-by: Saalim Quadri <[email protected]>
As per minaripenguin's now reverted commits

Change-Id: I4fc0918e5b39d225e09841fb2dc53ff52df87932
Signed-off-by: SahilSonar <[email protected]>
Signed-off-by: Saalim Quadri <[email protected]>
Change-Id: I0fb6a013103f87ee8e31e8a183f3475a9c7e3f61
Signed-off-by: Pranav Vashi <[email protected]>
Signed-off-by: SahilSonar <[email protected]>
Signed-off-by: Saalim Quadri <[email protected]>
Change-Id: Idf33016938fa5d7c0228312c8e2395ead3d43463
Signed-off-by: Pranav Vashi <[email protected]>
* Since top shadow is allowed to be disabled, use dark
  status bar is a good idea if a light wallpaper is in
  current.

* Inspired from lawnchair:
  LawnchairLauncher/lawnchair@fd2de21

Co-authored-by: Suphon Thanakornpakapong <[email protected]>
Change-Id: I682fc4ba36415564086927ae1264e33c012fd28f
Background color is black when black theme is used. That looked bad
on QSB for obvious reasons.

Change-Id: I4733c4a3429b38c46328d4c8682760e98655aa8f
Limiting this to 3 does not make sense since most users keep at least
6 six apps in their app switcher. Having the thumbnail cached is much
more convinient and helps the user get contextual information even if
the app is unloaded from memory.

Change-Id: Ia6476799231ac303044859933538020294598894
Signed-off-by: minaripenguin <[email protected]>
* fixes: prediction row and all apps search icon not showing as themed icons

test: m Launcher3QuickStep, install apk, visuals

Signed-off-by: minaripenguin <[email protected]>
* It may leads to poor UX on devices don't have a good
  vibration motor

Change-Id: Ie1b3532f2aae00b90fd39ac8f6294c79b8bc67a5
…erence

Change-Id: I81a58671ca5811ea18fb51c7689a0097eb103e87
Signed-off-by: minaripenguin <[email protected]
Avoid recents getting stuck when Google Lens is "Unable to open image".

Change-Id: I61ac95a8b4603b63b7d7c4edf73804c3e9738f91
Dhina17: Adapted for 14.
Sahil: Adapted for 14 QPR1.

Change-Id: I13bee37cae645f50512f4d80cdfa25f84dce1b6b
Signed-off-by: LibXZR <[email protected]>
Signed-off-by: Mohammad Hasan Keramat J <[email protected]>
Signed-off-by: SahilSonar <[email protected]>
Parallel users also have badge so don't consider it as work profile.

Change-Id: I8b08f800b0178d3b4b09f2ab72d9de8b35cf1d64
 * Kill -> Force close
   Keeps a better consistence to describe its action
   (as it's going to force close the app)

Signed-off-by: Mesquita <[email protected]>
Change-Id: Ibd0b1999cfbde7550457af4d4ca213452eeb4dd3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.