System tweaks
Author : sagitt67
Firmware :
N915FXXU1ANJ8Deodex Description : Tviki system applications.
full date in weather widget
framework-res / res / values-en / strings.xml
in line
<string name = "abbrev_wday_day_abbrev_month_no_year">E, d MMM </ string> change to EEEE d MMM
brighter display of icons in the status bar
SystemUI / res / values ​​/ dimens.xml
in line<item type = "dimen" name = "status_bar_icon_drawing_alpha">
74.0% </ item>
change to 100.0% we increase the response rate of the ARA and the rate of change of brightness when ARA
framework-res / res / values ​​/ integers.xml
in line
<integer name = "config_lightsensorDelay">3000 </ integer> change to 0
services / smali / com / android / server / power / DisplayPowerController.smali
in the method.method private updateAmbientLux (J) V
.line 1816
: cond_a
iget-wide v4, p0, Lcom / android / server / power / DisplayPowerController; ->mDebounceLuxTime: J
const-wide / 16 v6,0xbb8 # change to 0x0
Further
in the method.method private updateAmbientLuxSEC (J) V
.line 1730
: cond_6
iget-wide v2, p0, Lcom / android / server / power / DisplayPowerController; ->mDebounceLuxTime: J
const-wide / 16 v4,0xbb8 # change to 0x0
Further
in the method.method private updatePowerState () V
.line 1166 (11073)
: cond_b
: goto_6
invoke-direct {p0, v5}, Lcom / android / server / power / DisplayPowerController; ->clampScreenBrightness (I) I
move-result v9
if-eqz v4,: cond_23
const / 16 v8,0x1f4 # change to 0x5dc
: goto_7
invoke-direct {p0, v9, v8}, Lcom / android / server / power / DisplayPowerController; ->animateScreenBrightness (II) V
disable the scroll cache
framework2.jar / smali / android / widget / AbsListView.smali
in the method
.method private createScrollingCache () V
.locals 2
.prologue
const / 4 v1,0x1 change to const / 4 v1, 0x0
.line 5363
iget-boolean v0, p0, Landroid / widget / AbsListView; ->mScrollingCacheEnabled: Z
further in the method
.method private initAbsListView () V
.locals 9
.prologue
const / 4v4 , 0x0
const / 4v5 , 0x1
.line 1157
invoke-virtual {p0, v5}, Landroid / widget / AbsListView; ->setClickable (Z) V
.line 1158
invoke-virtual {p0, v5}, Landroid / widget / AbsListView; ->setFocusableInTouchMode (Z) V
.line 1159
invoke-virtual {p0, v4}, Landroid / widget / AbsListView; ->setWillNotDraw (Z) V
.line 1160
invoke-virtual {p0, v4}, Landroid / widget / AbsListView; ->setAlwaysDrawnWithCacheEnabled (Z) V
.line 1161
invoke-virtual {p0,v5 }, Landroid / widget / AbsListView; ->setScrollingCacheEnabled (Z) V v5 change to v4
.line 1163
iget-object v6, p0, Landroid / widget / AbsListView; ->mContext: Landroid / content / Context;
further in the method
.method public setScrollingCacheEnabled (Z) V
.locals 1
.param p1, "enabled "# Z change to .param p1, " disabled "# Z
Post has been editedsagitt67 - 25.01.15, 02:15