Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c446bdf8 authored by Gilles Debunne's avatar Gilles Debunne
Browse files

Refresh the list of preloaded drawables and color state lists

Bug 3266751

The boot time is 43 compared to 44 seconds, which is within the precision of the measure.

Starting 15 activities in a sequence takes 20-24 seconds with the old version and 17-18
seconds with the new pre-load (12/13 when ran a second time, all apps being loaded).
The standard deviation is high, but it seems consistently better.

Change-Id: Ieac3cb93be03e8186979b894adda29f0549b9734
parent bbc1d355
Loading
Loading
Loading
Loading
+0 −20
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2010 The Android Open Source Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at
  
          http://www.apache.org/licenses/LICENSE-2.0
  
     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->

<selector xmlns:android="http://schemas.android.com/apk/res/android">
    <item android:state_focused="false" android:color="@android:color/bright_foreground_light"/> <!-- unfocused -->
    <item android:color="@android:color/bright_foreground_light"/>
</selector>
+0 −20
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2010 The Android Open Source Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at
  
          http://www.apache.org/licenses/LICENSE-2.0
  
     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->

<selector xmlns:android="http://schemas.android.com/apk/res/android">
    <item android:state_focused="false" android:color="@android:color/bright_foreground_dark"/> <!-- unfocused -->
    <item android:color="@android:color/bright_foreground_dark"/>
</selector>
−1.62 KiB
Loading image diff...
−884 B
Loading image diff...
−1 KiB
Loading image diff...
Loading