SlateDroid.com: Screen size and DPI - SlateDroid.com

Jump to content


  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Screen size and DPI

#1 User is offline   Mr. Splodge 

  • Advanced Member
  • PipPipPip
  • Group: Jr. Member
  • Topics: 12
  • Posts: 241
  • Joined: 25-August 12

Posted 23 October 2012 - 08:48 PM

I know there have been conversations about this before, but maybe it's time to revisit this issue. It seems like the Fire has the wrong scale set in the UI, like everything is a lot smaller than it should be. I noticed in the Android Hardware Info app under the display section it says screen size is 9.27" with 160dpi. If the OS thinks the screen is a lot bigger than it actually is, then of course it's going to shrink everything relative to the screen area so it displays properly on a larger screen.

That being said, is there anywhere in the settings, configuration files or code that tells the OS what the screen size is, or does it get that info from the hardware directly?

It would be great to fix this problem.
0

#2 User is offline   Lesha_ 

  • Member
  • PipPip
  • Group: Jr. Member
  • Topics: 1
  • Posts: 20
  • Joined: 21-October 12

Posted 23 October 2012 - 09:46 PM

I am not sure exactly what you mean, but I was wondering something like this also.

When I first received my Fire I was able to fit more apps on the first screen/desktop?. I could fit 8 app icons in each row and after firmware update I can only fit 7 now. To me it seems things have gotten bigger, not smaller. But I don't really understand how this stuff works. I would like to have it back if it were possible. ;)

This post has been edited by Lesha_: 23 October 2012 - 09:51 PM

0

#3 User is offline   Dima_2005 

  • Advanced Member
  • PipPipPip
  • Group: Jr. Member
  • Topics: 0
  • Posts: 94
  • Joined: 22-August 12

Posted 24 October 2012 - 02:36 AM

There is a DPI setting in the build.prop... This overrides the real dpi.

Only problem is that the real dpi (around 224), it breaks some other apps and the Play Store, because it's incompatible.
0

#4 User is offline   greyrider 

  • Advanced Member
  • PipPipPip
  • Group: Jr. Member
  • Topics: 6
  • Posts: 60
  • Joined: 04-October 12
  • LocationNot far from Cardiff, South Wales next to England

Posted 24 October 2012 - 03:38 AM

It's a high resolution screen, the higher it goes, the smaller icons appear, but equally, the greater the real estate becomes - try altering the resolution on your computer and you'll see it happen much more readily.
One way to attempt a resolution change would be to use a different launcher from the market or use an app such as "DPI Changer" - not a clue whether they work with the Fire/Flame or not, I'm running stock and it's staying that way :good:
0

#5 User is offline   Mr. Splodge 

  • Advanced Member
  • PipPipPip
  • Group: Jr. Member
  • Topics: 12
  • Posts: 241
  • Joined: 25-August 12

Posted 24 October 2012 - 05:23 AM

it works differently in android. if you look at a 7 inch tablet with a low resolution like 800*480 the UI appears the same size as a high resolution tablet. it should do anyway, but not with this one because the OS thinks it's got a 9.3 inch screen.
0

#6 User is offline   rnakpatel 

  • Advanced Member
  • PipPipPip
  • Group: Jr. Member
  • Topics: 0
  • Posts: 78
  • Joined: 15-September 12

Posted 24 October 2012 - 07:32 AM

DPI = 177 = Win! :)
0

#7 User is offline   duckbill 

  • Member
  • PipPip
  • Group: Jr. Member
  • Topics: 1
  • Posts: 16
  • Joined: 04-October 12

Posted 24 October 2012 - 07:38 AM

Correct DPI value is 213 - the same as for Google Nexus 7
0

#8 User is offline   Tzul 

  • Advanced Member
  • PipPipPip
  • Group: Jr. Member
  • Topics: 4
  • Posts: 386
  • Joined: 28-August 12

Posted 24 October 2012 - 12:12 PM

Actually, the real value is 217 dpi. At least for the Chimei (qm) screen.
Its datasheet says the pixel pitch is 0.117 mm and with 1 inch being 25.4 mm, that makes 25.4 / 0.117 = 217 pixels per inch.
0

#9 User is offline   grittyKitty 

  • Member
  • PipPip
  • Group: Jr. Member
  • Topics: 0
  • Posts: 16
  • Joined: 08-October 12

Posted 25 October 2012 - 12:42 AM

Highly recommend APEX Launcher. My DPI set to 160 via Flambe v15f ROM.
0

#10 User is offline   duckbill 

  • Member
  • PipPip
  • Group: Jr. Member
  • Topics: 1
  • Posts: 16
  • Joined: 04-October 12

Posted 25 October 2012 - 03:40 AM

View PostTzul, on 24 October 2012 - 12:12 PM, said:

Actually, the real value is 217 dpi. At least for the Chimei (qm) screen.
Its datasheet says the pixel pitch is 0.117 mm and with 1 inch being 25.4 mm, that makes 25.4 / 0.117 = 217 pixels per inch.


Yes. But 213 is one of the "standard" DPI used in android: ldpi(120), mdpi(160), tvdpi(213), hdpi(240), xhdpi(320).
0

#11 User is offline   Tzul 

  • Advanced Member
  • PipPipPip
  • Group: Jr. Member
  • Topics: 4
  • Posts: 386
  • Joined: 28-August 12

Posted 25 October 2012 - 07:42 AM

I see. Thanks for the explanation!
0

#12 User is offline   alpine101 

  • Member
  • PipPip
  • Group: Jr. Member
  • Topics: 0
  • Posts: 14
  • Joined: 21-October 12

Posted 25 October 2012 - 09:24 AM

Mine came set as 160 and as a result there is lots of space round the edges of the screen. I've just experimented with changing the value to 213. It's OK, but the icon text spills slightly off the edge of each screen. A little lower, say 200 would be nice, but will this compromise some stuff if it's non standard I wonder?

EDIT: So far set at 200dpi things seem OK, but I did notice when Adfree decided to update its database, the prompt to do the update was spilling off the top of the screen slightly. Things also get too wide if you flip the screen into portrait mode.

And more: as I see is noted in other places, the Play store doesn't like this, scrolling gets very messed up. It looks as though Google's own application is designed only to work with their standard resolution set.

This post has been edited by alpine101: 25 October 2012 - 10:10 AM

0

#13 User is offline   greyrider 

  • Advanced Member
  • PipPipPip
  • Group: Jr. Member
  • Topics: 6
  • Posts: 60
  • Joined: 04-October 12
  • LocationNot far from Cardiff, South Wales next to England

Posted 25 October 2012 - 02:31 PM

View PostMr. Splodge, on 23 October 2012 - 08:48 PM, said:

I know there have been conversations about this before, but maybe it's time to revisit this issue. It seems like the Fire has the wrong scale set in the UI, like everything is a lot smaller than it should be. I noticed in the Android Hardware Info app under the display section it says screen size is 9.27" with 160dpi. If the OS thinks the screen is a lot bigger than it actually is, then of course it's going to shrink everything relative to the screen area so it displays properly on a larger screen.

That being said, is there anywhere in the settings, configuration files or code that tells the OS what the screen size is, or does it get that info from the hardware directly?

It would be great to fix this problem.


I downloaded the free app called, amazingly enough, "DPI Changer". Selected "custom" and set it to 200. Reboot and.....tadaaa. as they say, all is legible loveliness. No hacking in the depths, market/play store works fine and the tablet is much easier on the eyes.



.

This post has been edited by greyrider: 25 October 2012 - 02:41 PM

1

#14 User is offline   Mr. Splodge 

  • Advanced Member
  • PipPipPip
  • Group: Jr. Member
  • Topics: 12
  • Posts: 241
  • Joined: 25-August 12

Posted 25 October 2012 - 06:22 PM

All that app does is change a line in your build prop to set the dpi, it totally is a hack. The clean way of doing it is to give the OS not only the correct DPI but also the correct screen size.

1280 pixels / 217dpi = 5.9 (this is the actual screen width in inches)

The same calculation using 1280x735 at 160dpi gives a screen size of 8 x 4.6, which is 9.23 inches corner to corner - just what the hardware info app is getting from the OS

I put 217dpi into my build.prop and everything is bigger, but the hardware info app still thinks it's got a 9 inch screen with 160dpi, which would be why when you manually increase DPI in build.prop (or use an app) things start looking wrong and overlapping etc

I'd bet the clean fix is in the source code somewhere
0

#15 User is offline   tjosan 

  • Advanced Member
  • PipPipPip
  • Group: Jr. Member
  • Topics: 1
  • Posts: 51
  • Joined: 23-July 12

Posted 26 October 2012 - 04:45 AM

View PostMr. Splodge, on 25 October 2012 - 06:22 PM, said:

All that app does is change a line in your build prop to set the dpi, it totally is a hack. The clean way of doing it is to give the OS not only the correct DPI but also the correct screen size.

1280 pixels / 217dpi = 5.9 (this is the actual screen width in inches)

The same calculation using 1280x735 at 160dpi gives a screen size of 8 x 4.6, which is 9.23 inches corner to corner - just what the hardware info app is getting from the OS

I put 217dpi into my build.prop and everything is bigger, but the hardware info app still thinks it's got a 9 inch screen with 160dpi, which would be why when you manually increase DPI in build.prop (or use an app) things start looking wrong and overlapping etc

I'd bet the clean fix is in the source code somewhere


I've used DPIchanger and changed to two hundred, and it really looks good. No overlapping no nothing but a full screen.
0

#16 User is offline   xramir 

  • Member
  • PipPip
  • Group: Jr. Member
  • Topics: 0
  • Posts: 24
  • Joined: 28-September 12

Posted 27 October 2012 - 10:42 AM

If i correctly understand this from https://developer.an...trics.html#xdpi

xdpi The exact physical pixels per inch of the screen in the X dimension.
ydpi The exact physical pixels per inch of the screen in the Y dimension.

then, using ScreenInfo
i get 160 for xdpi and ydpi, values i think are hardcoded somewhere and maybe the correct ones are 217 (or 213).
This values (xdpi and ydpi = 160) are the same if i set dpi on 160 or 213.

Just as a note, I´m on 0907qm. If i set dpi=213 stock launcher crash! Any solution for this?

This post has been edited by xramir: 27 October 2012 - 11:34 AM

0

#17 User is offline   Grael 

  • Newbie
  • Pip
  • Group: Jr. Member
  • Topics: 0
  • Posts: 3
  • Joined: 03-March 12

Posted 27 October 2012 - 11:02 AM

Nova Launcher is great at 213 dpi (but I'm on CM10)
0

#18 User is offline   duckbill 

  • Member
  • PipPip
  • Group: Jr. Member
  • Topics: 1
  • Posts: 16
  • Joined: 04-October 12

Posted 29 October 2012 - 02:43 AM

View Postxramir, on 27 October 2012 - 10:42 AM, said:

Just as a note, I´m on 0907qm. If i set dpi=213 stock launcher crash! Any solution for this?



On russian 4pda forum I posted fix for standard launcher:

http://4pda.ru/forum...0#entry16329969


Attached File  Launcher2.odex.tar.gz (222.04K)
Number of downloads: 29

This post has been edited by duckbill: 29 October 2012 - 02:43 AM

0

#19 User is offline   xramir 

  • Member
  • PipPip
  • Group: Jr. Member
  • Topics: 0
  • Posts: 24
  • Joined: 28-September 12

Posted 29 October 2012 - 10:15 AM

thanks @grael and @duckbill, i will try your fix!
I was reading about a similar spec tablet (nexus 7) and some people prefer the full tablet UI (dpi=160) and not the stock UI (mixed phone-tablet UI, with dpi=213), but i want to try myself the 213 experience.

I´m thinking if i update to the "latest" ics from feiyu or not, before aml/ainol releases JB.
I think your patch maybe also works on feiyu 1029.


EDIT:
@duckbill, after changing the file you post before, rebooting and can´t pass booting ainol logo animation. I ended flashing new feiyu-1029!

OK, now i have dpi=177 with big font and i´m happy with this settings. In general, is a good combination but not all apps are designed to scale properly. Some apps still have very small text.

This post has been edited by xramir: 31 October 2012 - 01:42 PM

0

#20 User is offline   gb_lawrence 

  • Member
  • PipPip
  • Group: Jr. Member
  • Topics: 2
  • Posts: 24
  • Joined: 22-August 12

Posted 02 November 2012 - 04:04 AM

View Postduckbill, on 29 October 2012 - 02:43 AM, said:

On russian 4pda forum I posted fix for standard launcher:

http://4pda.ru/forum...0#entry16329969


Attachment Launcher2.odex.tar.gz



sorry for the noob question. But, what should I do with the file after I downloaded it?
0

Share this topic:


  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users