Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
device_xiaomi_sm8350-common
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LMODroid-Devices
device_xiaomi_sm8350-common
Commits
4837a347
Commit
4837a347
authored
3 years ago
by
Cosmin Tanislav
Browse files
Options
Downloads
Patches
Plain Diff
sm8350-common: decomonize status bar and rounded corner size
parent
8d9953a3
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
overlay/frameworks/base/core/res/res/values/config.xml
+0
-34
0 additions, 34 deletions
overlay/frameworks/base/core/res/res/values/config.xml
with
0 additions
and
34 deletions
overlay/frameworks/base/core/res/res/values/config.xml
+
0
−
34
View file @
4837a347
...
...
@@ -178,40 +178,6 @@
<!-- Is the notification LED intrusive? Used to decide if there should be a disable option -->
<bool
name=
"config_intrusiveNotificationLed"
>
true
</bool>
<!-- Height of the status bar in portrait -->
<dimen
name=
"status_bar_height_portrait"
>
100px
</dimen>
<!-- Height of the status bar in landscape -->
<dimen
name=
"status_bar_height_landscape"
>
24dp
</dimen>
<!-- Radius of the software rounded corners at the top of the display in its natural
orientation. If zero, the value of rounded_corner_radius is used. -->
<dimen
name=
"rounded_corner_radius_top"
>
93px
</dimen>
<!-- Radius of the software rounded corners at the bottom of the display in its natural
orientation. If zero, the value of rounded_corner_radius is used. -->
<dimen
name=
"rounded_corner_radius_bottom"
>
93px
</dimen>
<!-- The bounding path of the cutout region of the main built-in display.
Must either be empty if there is no cutout region, or a string that is parsable by
{@link android.util.PathParser}.
The path is assumed to be specified in display coordinates with pixel units and in
the display's native orientation, with the origin of the coordinate system at the
center top of the display.
To facilitate writing device-independent emulation overlays, the marker `@dp` can be
appended after the path string to interpret coordinates in dp instead of px units.
Note that a physical cutout should be configured in pixels for the best results.
Example for a 10px x 10px square top-center cutout:
<string ...>M -5,0 L -5,10 L 5,10 L 5,0 Z</string>
Example for a 10dp x 10dp square top-center cutout:
<string ...>M -5,0 L -5,10 L 5,10 L 5,0 Z @dp</string>
@see https://www.w3.org/TR/SVG/paths.html#PathData
-->
<string
name=
"config_mainBuiltInDisplayCutout"
>
M 0,0 H -36 V 100 H 36 V 0 H 0 Z
</string>
<!-- Array of hysteresis constraint values for brightening, represented as tenths of a
percent. The length of this array is assumed to be one greater than
config_ambientThresholdLevels. The brightening threshold is calculated as
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment