[Sony Cross-Device General] serajr:
\smali\com\sonymobile\home\DisplayData.smali

And the new lines I put (in red), see the whole method below:

.method public static updateConfiguration(Landroid/content/res/Resources;Landroid/view/Display;)V
.locals 7
.param p0, "resources" # Landroid/content/res/Resources;
.param p1, "display" # Landroid/view/Display;

.prologue
const/4 v4, 0x1

const/4 v0, 0x0

.line 71
sget-object v5, Lcom/sonymobile/home/DisplayData;->sDisplaySizeExcludingBars:Landroid/graphics/Point;

invoke-virtual {p1, v5}, Landroid/view/Display;->getSize(Landroid/graphics/Point;)V

.line 72
sget-object v5, Lcom/sonymobile/home/DisplayData;->sDisplaySizeIncludingBars:Landroid/graphics/Point;

invoke-virtual {p1, v5}, Landroid/view/Display;->getRealSize(Landroid/graphics/Point;)V

.line 74
sget-object v5, Lcom/sonymobile/home/DisplayData;->sDisplaySizeExcludingBars:Landroid/graphics/Point;

iget v5, v5, Landroid/graphics/Point;->x:I

sget-object v6, Lcom/sonymobile/home/DisplayData;->sDisplaySizeExcludingBars:Landroid/graphics/Point;

iget v6, v6, Landroid/graphics/Point;->y:I

if-ge v5, v6, :cond_2

move v1, v4

.line 75
.local v1, "isPortrait":Z
:goto_0
if-nez v1, :cond_0

sget-object v5, Lcom/sonymobile/home/DisplayData;->sDisplaySizeExcludingBars:Landroid/graphics/Point;

iget v5, v5, Landroid/graphics/Point;->x:I

sget-object v6, Lcom/sonymobile/home/DisplayData;->sDisplaySizeIncludingBars:Landroid/graphics/Point;

iget v6, v6, Landroid/graphics/Point;->x:I

if-lt v5, v6, :cond_1

:cond_0
move v0, v4

.line 78
.local v0, "isNavBarLocatedInTheBottom":Z
:cond_1
const-string v4, "status_bar_height"

const-string v5, "dimen"

const-string v6, "android"

invoke-virtual {p0, v4, v5, v6}, Landroid/content/res/Resources;->getIdentifier(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)I

move-result v3

.line 79
.local v3, "statusBarResId":I
if-lez v3, :cond_3

.line 80
invoke-virtual {p0, v3}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I

move-result v4

sput v4, Lcom/sonymobile/home/DisplayData;->sStatusBarSize:I

.line 87
:goto_1
if-eqz v0, :cond_5

.line 88
if-eqz v1, :cond_4

.line 89
const-string v4, "navigation_bar_height"

const-string v5, "dimen"

const-string v6, "android"

invoke-virtual {p0, v4, v5, v6}, Landroid/content/res/Resources;->getIdentifier(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)I

move-result v2

.line 99
.local v2, "navBarResId":I
:goto_2
if-lez v2, :cond_6

.line 100
invoke-virtual {p0, v2}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I

move-result v4

sput v4, Lcom/sonymobile/home/DisplayData;->sNavigationBarSize:I

[B][COLOR="red"].line 9000
const/4 v5, 0x0

sput v5, Lcom/sonymobile/home/DisplayData;->sNavigationBarSize:I[/COLOR][/B]

.line 105
:goto_3
return-void

.end local v0 # "isNavBarLocatedInTheBottom":Z
.end local v1 # "isPortrait":Z
.end local v2 # "navBarResId":I
.end local v3 # "statusBarResId":I
:cond_2
move v1, v0

.line 74
goto :goto_0

.line 82
.restart local v0 # "isNavBarLocatedInTheBottom":Z
.restart local v1 # "isPortrait":Z
.restart local v3 # "statusBarResId":I
:cond_3
const v4, 0x7f0a00b4

invoke-virtual {p0, v4}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I

move-result v4

sput v4, Lcom/sonymobile/home/DisplayData;->sStatusBarSize:I

goto :goto_1

.line 91
:cond_4
const-string v4, "navigation_bar_height_landscape"

const-string v5, "dimen"

const-string v6, "android"

invoke-virtual {p0, v4, v5, v6}, Landroid/content/res/Resources;->getIdentifier(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)I

move-result v2

.restart local v2 # "navBarResId":I
goto :goto_2

.line 96
.end local v2 # "navBarResId":I
:cond_5
const-string v4, "navigation_bar_width"

const-string v5, "dimen"

const-string v6, "android"

invoke-virtual {p0, v4, v5, v6}, Landroid/content/res/Resources;->getIdentifier(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)I

move-result v2

.restart local v2 # "navBarResId":I
goto :goto_2

.line 102
:cond_6
const v4, 0x7f0a0020

invoke-virtual {p0, v4}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I

move-result v4

sput v4, Lcom/sonymobile/home/DisplayData;->sNavigationBarSize:I

[B][COLOR="Red"].line 9001
const/4 v5, 0x0

sput v5, Lcom/sonymobile/home/DisplayData;->sNavigationBarSize:I[/COLOR][/B]

goto :goto_3
.end method