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

Statusbar clock and date customization (1/2) #4

Open
wants to merge 369 commits into
base: o8.1
Choose a base branch
from

Conversation

anshuman852
Copy link

No description provided.

KhasMek and others added 30 commits January 3, 2018 05:59
This adds AOSP's new timeout and instant lock options to the
slide (aka chooser) style lockscreen.

AICPfy:
- Brought from kitkat to O by @LorDClockaN

Change-Id: I64b5f53a4e6c4098640b2c0cb3af2a56d6df019f
When screen is off, don't refresh the status bar to save power.
When screen is on, refresh immediately for user experience.

PS: (updateClock(); => getHandler().post(() -> updateClock());)
updated for android 8.0

Change-Id: Ie250e20bab57c096a16886680a53263c635bf6f4
Change-Id: I3156d135c6b49c58a7f4c69ac7d64bd088bf0f14
Signed-off-by: Alexander Martinz <eviscerationls@gmail.com>
(cherry picked from commit 3bb3eee)
Our vendor overwrite's them anyway

Signed-off-by: The-DarkBeast <pranaynarang@gmail.com>
original work organizing the new nexus sounds done by @Bajasur

I just cleaned it up a little and made it have its own makefile

Change-Id: I3a9d16c73cdbf9a9804bf029c110f35bc067b079
Removes duplicates from AllAudio makefile and fixes title tag of
Promethium (from Platinum).

Change-Id: I767a846dbc5575ec9f86b1326e0b9f7aa015086b
pulled from latest O sailfish img
other part is in build tree

Change-Id: Ic571cd228dbfcad1992d0071cc4b649f845fdc05
In current implementation detectCountry method is called from telephony
as many times as 34 for one MO voice call, causing increasing delay to appear
incallui for user.  This fix ensures that there is only one call to
detectCountry method per one voice call thus optimizing delay.

CRs-Fixed: 803069
Change-Id: Ia6e832476c7f7be2750f1c2d9a4c83f728c2131e
Signed-off-by: mydongistiny <jaysonedson@gmail.com>
Signed-off-by: Joe Maples <joe@frap129.org>
 Thanks to RR and @varund7726

Extracted, cleaned and updated for Nitrogen OS by @xyyx

FireHound Edits :-
- Improve clear all drawable
- Adapt for FH O
The FAB was overlapping the nav bar in both portrait and landscape modes.

Before:
http://i.imgur.com/ovgUxrq.png
http://i.imgur.com/Id2n3ju.png

After:
http://i.imgur.com/GcFK6Da.png
http://i.imgur.com/kqtH5ip.png
Signed-off-by: PMS22 <prathams99@rediff.com>
*allow setting vibration when call is connected
*allow setting vibration when call is disconnected
*allow setting vibration for call waiting
*this works with google and aosp dialer :)
works only with 1 sim phone (maybe will rework @xyyx :))
@xyyx: fix reboot strings

Signed-off-by: PMS22 <prathams99@rediff.com>
Signed-off-by: PMS22 <prathams99@rediff.com>
@xyyx: Adapted and reworked to O
@qjohn: Vectorized icons

Signed-off-by: PMS22 <prathams99@rediff.com>
Reworked by @xyyx
Based on:
Keyguard: Create lockscreen weather by Decad3nce
Lock screen: Weather panel improvements by XXMrHyde
make lockscreen weather fonts a bit smaller by darkobas
Fix NPE with WeatherStatus on KeyguardStatusView by tobitege
Fix weather items npe by beanstown106
Use Omnijaws API thanks to omni rom and Max Winger by varund7726
Fix Weather on Lockscreen not updating by varund7726
Extend OmniJaws Client to Keyguard by maxwen
base: SystemUI: use new OmniJaws error broadcasts
base: SystemUI: remove force weather update bits
KeyguardWeather: Update weather after switching options by xyyx

I'm sorry if I missed someone or something

FireHound Edits :-
- Improve string when weather is not available
ExTunerSettings style by beanstown106

Signed-off-by: PMS22 <prathams99@rediff.com>
we already have it because using userdebug but meh, just in case

Revert "Disable parts of tuner from user builds"

This reverts commit 2ad83b9.

Change-Id: I08fb7c6df9995abe3035e078e18b162195bffe39
PMS22 and others added 28 commits January 13, 2018 14:22
Inspired from OP5T behavior

Change-Id: If45c01af8885d57b90980551f929309101b7929d
save state set in qs tile into settings and use that
after boot

Change-Id: Ieca6148862386cef01767d43938bb803aab282cb
Change-Id: I6ba5660970814afba2a1ff061e67a0cf4897b658
RootCase:SimPinView is unlocked by incorrect subId

Change-Id: I149b90c8203cba61d3a8cd17e6d7635248e445ec
Signed-off-by: xyyx <xyyx@mail.ru>
As suggested by ezio84, this needs to init only after view created.

Change-Id: I72032b9fc24100ff2116a842e672e04c4aa62d13
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
So why? Because fuck you that's why...

No, you need this for if and when we decide to add more items to the power menu and the
density is too high. Previously if you had more than 5 items, it would cut you off. So
you either had to decide which 5 items you wanted or deal with the jank. That's no longer
the case.

- Added a landscape view so we can set a horizontal scrollview

- Made the power menu dialog all one color. Josh and I talked about this and I previously
made the case to keep it the same but after thinking it over, it looks better all one color.

Change-Id: I8ec4b1a85994251126433cea0640e000af78c65d
Change-Id: I1b69f0c0d8095925e2194eb3b66d9a87a4f99a84
In past verisons you could not download the Google dialer unless
you were on a Nexus/Pixel. Now that we're able to download it on pretty
much every device running 8.1, we need to protect the user from the user.

Some users are smarter than others, is that simple. Some users will realize
that the reason this FCs is because of missing permissions. Some won't be that
smart and will come to us and report this as a bug. This commit fixes this.

Change-Id: I125b42f5c68bd84aece41f2f9124716af06a88d6
- Essentials is the core app for FireHound
  which works as OTA, Wall app etc.
- So grant all permissions to it as default ones

Change-Id: I3bfa78d05e4e20cf5c6b7d2d7a53567fe0645100
Signed-off-by: PMS22 <prathams99@rediff.com>
Accomodates for 6" 1080x1920 devices that run at 480dpi by default, but
those physical resolution is ~360dpi.

Change-Id: I82973b097612f1e7d26af9fdbb3ac2ae28c6b93b
Change-Id: I68a9e3adbb3fe95d90950185caee35c3fb4a457d
- Lineage implementation is better in UI / UX.
- Also remove screenshot customizations

This reverts commit 97b43da.

Change-Id: Ib97ac3545d0f70f485478ba0d822cc793a58a639
Signed-off-by: PMS22 <prathams99@rediff.com>
 * Forward-ported to Oreo, based on the following changes from previous branches.
   Reduced footprint in the frameworks, after moving some stuff to our SDK.
 * Includes:
     - Updated airplane mode and user switcher style to match new power menu
     - Fixed airplane mode switch issues
     - New advanced restart style to match new power menu style,
       based on Max Weninger <max.weninger@gmail.com> initial implementation

   The possible actions are:
     - Power off
     - Restart (with advanced options)
     - Screenshot
     - User switcher
     - Airplane mode
     - Bug report

Author: Ricardo Cerqueira <cyanogenmod@cerqueira.org>
Date:   Mon Nov 4 03:37:40 2013 +0000

    framework: Add advanced reboot options (2 of 2)

    This commit is an squash of the commits below and re-adds the reboot
    logic to CM.

    I took the liberty to rewrite some of the ShutdownThread code because
    it had some lingering issues present since I originally wrote this
    for CM7 (!!). Namely, the reboot reason was being changed when the items
    are pressed instead of when the user presses the positive button. This
    made some people add workarounds like handling back button presses and
    whatnot, these are gone now.

    commit 588464bea40b92b04c4aeee35c47f7becceeed56
    Author: Roman Birg <roman@cyngn.com>
    Date:   Thu Jul 10 14:20:42 2014 -0700

        advanced reboot: add soft reboot option

        Adds a "Soft reboot" option which restarts zygote, as requested in JIRA
        CYAN-3998

        Change-Id: Ia6e5ed9b053e1c5ebd1fc55e5692858b97f7e0fc
        Signed-off-by: Roman Birg <roman@cyngn.com>

    commit 3e7b92551bbf818ace41cd9b9532473ed7d18f2f
    Author: Veeti Paananen <veeti.paananen@rojekti.fi>
    Date:   Tue Jul 23 16:34:35 2013 +0300

        Show advanced reboot if using an insecure lock screen

        Enables the advanced reboot menu when locked if the selected lock method
        is insecure (= slide unlock).

        Change-Id: I759b7b31c5411597e2537a85183d73ec02eb2461

    commit cf42ed3993d5d05c9b2591883fefb6338fbcdd40
    Author: DvTonder <david.vantonder@gmail.com>
    Date:   Thu Feb 21 18:20:01 2013 -0500

        Framework: Show the Advanced reboot menu only for the primary user

        Change-Id: I73f82eade26f268e2b4608fa23cabcf0bb8fc862

    commit 08aa6fd643e0359114b86f50053921dd2d86fc50
    Author: Ricardo Cerqueira <cyanogenmod@cerqueira.org>
    Date:   Mon Nov 4 03:37:40 2013 +0000

        Framework: Add Advanced reboot (2 of 2)

        This commit responds to a setting in Development settings for including
        options in the power menu for rebooting into recovery or bootloader. It
        is defauled to off.

        When enabled, the Advanced reboot options will only be available once the
        device is unlocked.

Change-Id: I2bc1e7024abb69cb62154d3081df5a3eb7e79df9

Author: Michael Bestas <mikeioannina@gmail.com>
Date:   Fri Nov 21 23:31:53 2014 +0200

    Enhance power menu reboot option

    * Use our old reboot icon
    * Set correct dialog title & message when rebooting
    * Move strings to cm_strings
    * Add back reboot_download string used by samsung devices
    * Remove Chinese translations, will be handled through crowdin

    Change-Id: I3ba0e20dcdba0a295a071304048eebab6cfcf49d

Author: Michael Bestas <mikeioannina@gmail.com>
Date:   Sat Jan 31 06:06:38 2015 +0200

    GlobalActions: Use circular user avatars

    * Use circular & smaller avatars, logic copied from SystemUI
    * Improve current user indication (thanks to maxwen)

    Change-Id: I81e6c4afd604f5cb8b22e2c4db9b174bbe7fb3f0
    Ticket-Id: OPO-456, CYNGNOS-1901

Author: Jorge Ruesga <jorge@ruesga.com>
Date:   Fri Oct 23 19:55:12 2015 +0200

    base: don't show reboot options for safe mode

    In a user long press in "power off" menu the system lead it to "reboot to safe mode", but if
    the our advance power menu is enabled, we are showing the reboot options instead of the
    safe mode advice message. Since reboot options doesn't made sense here is better to
    respect the original behavior.

    Change-Id: I45e7f7a780655ed79d442f583fd9ffa6fba4e447
    Signed-off-by: Jorge Ruesga <jorge@ruesga.com>

Author: Zhao Wei Liew <zhaoweiliew@gmail.com>
Date:   Sat Dec 10 18:07:51 2016 +0800

    core: Adjust power menu icons for 7.1

    Resize the icons to fit in with the new power off & restart icons.

    Also, use an icon without a home button for the screenshot icon,
    since home button-less phones are a growing trend.

    Change-Id: I5131346f65345010bba45dca04f3d767e6f9746a

Author: Dave Kessler <activethrasher00@gmail.com>
Date:   Wed Feb 18 10:27:58 2015 +0200

    GlobalActions: Always add power off option to power menu

    Change-Id: I3083cda3b8c665a65f1260984a5be41faa384510

Author: Zhao Wei Liew <zhaoweiliew@gmail.com>
Date:   Fri Dec 9 20:52:29 2016 +0800

    GlobalActions: Inform user of screenshot long-press action

    Long-press actions are extremely obscure.
    Hiding the partial screenshot feature behind a long-press
    action is highly detrimental to its discoverability.

    Inform the user of the screenshot long-press action
    by displaying a short summary message.

    Change-Id: I949bd0ef80a654d6cdf852b7a3138e7379ad36d2

Author: Michael Bestas <mikeioannina@gmail.com>
Date:   Sat Nov 7 23:52:26 2015 +0200

    Fix reboot dialog messages

    * Fix mismerge
    * Fix wrong messages being displayed when rebooting to recovery

    Change-Id: I09a04cc82d48539e8086fd55c30d6160c292bc08

Author: "longyu.huang" <longyu.huang2014@gmail.com>
Date:   Thu, 9 Apr 2015 00:09:43 -0700

    The DUT can't screen shot in guest mode

    Change-Id: I6c40f8b5399ed1a8f9d52ddf0ed28266eea8f48c

Change-Id: Id561b0111e8cc7a80c345668d79a363ec0ec389c
Signed-off-by: PMS22 <prathams99@rediff.com>
Before:
https://i.imgur.com/vT1kXrj.jpg
https://i.imgur.com/3k0mrSE.jpg

After:
https://i.imgur.com/QtrOHNq.jpg
https://i.imgur.com/etBVv46.jpg

Change-Id: If762a98bac5eed4eb5d9cae0614737fcb627defc
Signed-off-by: Kshitij Gupta <kshitijgm@gmail.com>
Change-Id: Ie7cd4476e0b53514e15efdf38e03292c61024dc1
@anshuman852
Copy link
Author

a[daf

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.