Class: Media::Preset::Android

Inherits:
Base
  • Object
show all
Defined in:
lib/media/preset/android.rb

Class Method Summary collapse

Methods inherited from Base

#call, #initialize, preset?, #to_s

Constructor Details

This class inherits a constructor from Media::Preset::Base

Class Method Details

.presetsObject


7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# File 'lib/media/preset/android.rb', line 7

def self.presets
  {
    galaxy_y: {height: 240, width: 320},
    galaxy_mini: {height: 240, width: 320},
    wildfire: {height: 240, width: 320},
    galaxy_ace: {height: 320, width: 480},
    admire: {height: 320, width: 480},
    droid_charge: {height: 480, width: 800},
    galaxy_s: {height: 480, width: 800},
    galaxy_s_ii: {height: 480, width: 800},
    galaxy_s_plus: {height: 480, width: 800},
    epic_touch_4g: {height: 480, width: 800},
    desire: {height: 480, width: 800},
    droid_incredible: {height: 480, width: 800},
    thunderbolt: {height: 480, width: 800},
    evo_4g: {height: 480, width: 800},
    zio: {height: 480, width: 800},
    galaxy_s_iii: {height: 720, width: 1280},
    rezound: {height: 720, width: 1280},
    one_x: {height: 720, width: 1280},
    galaxy_tab: {height: 600, width: 1024},
    galaxy_tab_10_1: {height: 800, width: 1280},
    galaxy_note: {height: 800, width: 1280},
    infuse_4g: {height: 800, width: 1280},
    galaxy_note_ii: {height: 1080, width: 1920},
    sensation: {height: 540, width: 960},
    droid_x: {height: 854, width: 480},
    droid_x2: {height: 1280, width: 720},
    razr: {height: 960, width: 540},
    xoom: {height: 1280, width: 800},
    small: {height: 480, width: 320},
    normal: {height: 800, width: 480},
    large_720p: {height: 1280, width: 720},
    large_1080p: {height: 1920, width: 1080}
  }
end