1 | <?php |
---|
2 | /* vim: set expandtab tabstop=4 shiftwidth=4: */ |
---|
3 | |
---|
4 | /** |
---|
5 | * PHP versions 4 and 5 |
---|
6 | * |
---|
7 | * LICENSE: This source file is subject to version 3.0 of the PHP license |
---|
8 | * that is available through the world-wide-web at the following URI: |
---|
9 | * http://www.php.net/license/3_0.txt. If you did not receive a copy of |
---|
10 | * the PHP License and are unable to obtain it through the web, please |
---|
11 | * send a note to license@php.net so we can mail you a copy immediately. |
---|
12 | * |
---|
13 | * @category Networking |
---|
14 | * @package Net_UserAgent_Mobile |
---|
15 | * @author KUBO Atsuhiro <iteman@users.sourceforge.net> |
---|
16 | * @copyright 2003-2007 KUBO Atsuhiro <iteman@users.sourceforge.net> |
---|
17 | * @license http://www.php.net/license/3_0.txt PHP License 3.0 |
---|
18 | * @version CVS: $Id: DoCoMoDisplayMap.php,v 1.32 2007/02/20 18:30:17 kuboa Exp $ |
---|
19 | * @link http://www.nttdocomo.co.jp/service/imode/make/content/spec/screen_area/index.html |
---|
20 | * @see Net_UserAgent_Mobile_Display |
---|
21 | * @since File available since Release 0.1 |
---|
22 | */ |
---|
23 | |
---|
24 | // {{{ Net_UserAgent_Mobile_DoCoMoDisplayMap |
---|
25 | |
---|
26 | /** |
---|
27 | * Display information mapping for DoCoMo. |
---|
28 | * |
---|
29 | * @category Networking |
---|
30 | * @package Net_UserAgent_Mobile |
---|
31 | * @author KUBO Atsuhiro <iteman@users.sourceforge.net> |
---|
32 | * @copyright 2003-2007 KUBO Atsuhiro <iteman@users.sourceforge.net> |
---|
33 | * @license http://www.php.net/license/3_0.txt PHP License 3.0 |
---|
34 | * @version Release: 0.30.0 |
---|
35 | * @link http://www.nttdocomo.co.jp/service/imode/make/content/spec/screen_area/index.html |
---|
36 | * @see Net_UserAgent_Mobile_Display |
---|
37 | * @since Class available since Release 0.1 |
---|
38 | */ |
---|
39 | class Net_UserAgent_Mobile_DoCoMoDisplayMap |
---|
40 | { |
---|
41 | |
---|
42 | // {{{ properties |
---|
43 | |
---|
44 | /**#@+ |
---|
45 | * @access public |
---|
46 | */ |
---|
47 | |
---|
48 | /**#@-*/ |
---|
49 | |
---|
50 | /**#@+ |
---|
51 | * @access private |
---|
52 | */ |
---|
53 | |
---|
54 | /**#@-*/ |
---|
55 | |
---|
56 | /**#@+ |
---|
57 | * @access public |
---|
58 | */ |
---|
59 | |
---|
60 | // }}} |
---|
61 | // {{{ get() |
---|
62 | |
---|
63 | /** |
---|
64 | * Returns the display information of the model. |
---|
65 | * |
---|
66 | * @param string $model the name of the model |
---|
67 | * @return array |
---|
68 | * @static |
---|
69 | */ |
---|
70 | function get($model) |
---|
71 | { |
---|
72 | static $displayMap; |
---|
73 | if (!isset($displayMap)) { |
---|
74 | if (isset($_SERVER['DOCOMO_MAP'])) { |
---|
75 | |
---|
76 | // using the specified XML data |
---|
77 | while (true) { |
---|
78 | if (!function_exists('xml_parser_create') |
---|
79 | || !is_readable($_SERVER['DOCOMO_MAP']) |
---|
80 | ) { |
---|
81 | break; |
---|
82 | } |
---|
83 | $xml = file_get_contents($_SERVER['DOCOMO_MAP']); |
---|
84 | $parser = xml_parser_create(); |
---|
85 | if ($parser === false) { |
---|
86 | break; |
---|
87 | } |
---|
88 | xml_parse_into_struct($parser, $xml, $values, $indexes); |
---|
89 | if (!xml_parser_free($parser)) { |
---|
90 | break; |
---|
91 | } |
---|
92 | if (isset($indexes['OPT'])) { |
---|
93 | unset($indexes['OPT']); |
---|
94 | } |
---|
95 | foreach ($indexes as $modelName => $modelIndexes) { |
---|
96 | $displayMap[$modelName] = array(); |
---|
97 | foreach ($values[ $modelIndexes[0] ]['attributes'] as $attributeName => $attributeValue) { |
---|
98 | $displayMap[$modelName][ strtolower($attributeName) ] = $attributeValue; |
---|
99 | } |
---|
100 | } |
---|
101 | break; |
---|
102 | } |
---|
103 | } |
---|
104 | |
---|
105 | if (!isset($displayMap)) { |
---|
106 | $displayMap = array( |
---|
107 | |
---|
108 | // i-mode compliant HTML 1.0 |
---|
109 | 'D501I' => array( |
---|
110 | 'width' => 96, |
---|
111 | 'height' => 72, |
---|
112 | 'depth' => 2, |
---|
113 | 'color' => 0 |
---|
114 | ), |
---|
115 | 'F501I' => array( |
---|
116 | 'width' => 112, |
---|
117 | 'height' => 84, |
---|
118 | 'depth' => 2, |
---|
119 | 'color' => 0 |
---|
120 | ), |
---|
121 | 'N501I' => array( |
---|
122 | 'width' => 118, |
---|
123 | 'height' => 128, |
---|
124 | 'depth' => 2, |
---|
125 | 'color' => 0 |
---|
126 | ), |
---|
127 | 'P501I' => array( |
---|
128 | 'width' => 96, |
---|
129 | 'height' => 120, |
---|
130 | 'depth' => 2, |
---|
131 | 'color' => 0 |
---|
132 | ), |
---|
133 | |
---|
134 | // i-mode compliant HTML 2.0 |
---|
135 | 'D502I' => array( |
---|
136 | 'width' => 96, |
---|
137 | 'height' => 90, |
---|
138 | 'depth' => 256, |
---|
139 | 'color' => 1 |
---|
140 | ), |
---|
141 | 'F502I' => array( |
---|
142 | 'width' => 96, |
---|
143 | 'height' => 91, |
---|
144 | 'depth' => 256, |
---|
145 | 'color' => 1 |
---|
146 | ), |
---|
147 | 'N502I' => array( |
---|
148 | 'width' => 118, |
---|
149 | 'height' => 128, |
---|
150 | 'depth' => 4, |
---|
151 | 'color' => 0 |
---|
152 | ), |
---|
153 | 'P502I' => array( |
---|
154 | 'width' => 96, |
---|
155 | 'height' => 117, |
---|
156 | 'depth' => 4, |
---|
157 | 'color' => 0 |
---|
158 | ), |
---|
159 | 'NM502I' => array( |
---|
160 | 'width' => 111, |
---|
161 | 'height' => 106, |
---|
162 | 'depth' => 2, |
---|
163 | 'color' => 0 |
---|
164 | ), |
---|
165 | 'SO502I' => array( |
---|
166 | 'width' => 120, |
---|
167 | 'height' => 120, |
---|
168 | 'depth' => 4, |
---|
169 | 'color' => 0 |
---|
170 | ), |
---|
171 | 'F502IT' => array( |
---|
172 | 'width' => 96, |
---|
173 | 'height' => 91, |
---|
174 | 'depth' => 256, |
---|
175 | 'color' => 1 |
---|
176 | ), |
---|
177 | 'N502IT' => array( |
---|
178 | 'width' => 118, |
---|
179 | 'height' => 128, |
---|
180 | 'depth' => 256, |
---|
181 | 'color' => 1 |
---|
182 | ), |
---|
183 | 'SO502IWM' => array( |
---|
184 | 'width' => 120, |
---|
185 | 'height' => 113, |
---|
186 | 'depth' => 256, |
---|
187 | 'color' => 1 |
---|
188 | ), |
---|
189 | 'SH821I' => array( |
---|
190 | 'width' => 96, |
---|
191 | 'height' => 78, |
---|
192 | 'depth' => 256, |
---|
193 | 'color' => 1 |
---|
194 | ), |
---|
195 | 'N821I' => array( |
---|
196 | 'width' => 118, |
---|
197 | 'height' => 128, |
---|
198 | 'depth' => 4, |
---|
199 | 'color' => 0 |
---|
200 | ), |
---|
201 | 'P821I' => array( |
---|
202 | 'width' => 118, |
---|
203 | 'height' => 128, |
---|
204 | 'depth' => 4, |
---|
205 | 'color' => 0 |
---|
206 | ), |
---|
207 | 'D209I' => array( |
---|
208 | 'width' => 96, |
---|
209 | 'height' => 90, |
---|
210 | 'depth' => 256, |
---|
211 | 'color' => 1 |
---|
212 | ), |
---|
213 | 'ER209I' => array( |
---|
214 | 'width' => 120, |
---|
215 | 'height' => 72, |
---|
216 | 'depth' => 2, |
---|
217 | 'color' => 0 |
---|
218 | ), |
---|
219 | 'F209I' => array( |
---|
220 | 'width' => 96, |
---|
221 | 'height' => 91, |
---|
222 | 'depth' => 256, |
---|
223 | 'color' => 1 |
---|
224 | ), |
---|
225 | 'KO209I' => array( |
---|
226 | 'width' => 96, |
---|
227 | 'height' => 96, |
---|
228 | 'depth' => 256, |
---|
229 | 'color' => 1 |
---|
230 | ), |
---|
231 | 'N209I' => array( |
---|
232 | 'width' => 108, |
---|
233 | 'height' => 82, |
---|
234 | 'depth' => 4, |
---|
235 | 'color' => 0 |
---|
236 | ), |
---|
237 | 'P209I' => array( |
---|
238 | 'width' => 96, |
---|
239 | 'height' => 87, |
---|
240 | 'depth' => 4, |
---|
241 | 'color' => 0 |
---|
242 | ), |
---|
243 | 'P209IS' => array( |
---|
244 | 'width' => 96, |
---|
245 | 'height' => 87, |
---|
246 | 'depth' => 256, |
---|
247 | 'color' => 1 |
---|
248 | ), |
---|
249 | 'R209I' => array( |
---|
250 | 'width' => 96, |
---|
251 | 'height' => 72, |
---|
252 | 'depth' => 4, |
---|
253 | 'color' => 0 |
---|
254 | ), |
---|
255 | 'P651PS' => array( |
---|
256 | 'width' => 96, |
---|
257 | 'height' => 87, |
---|
258 | 'depth' => 4, |
---|
259 | 'color' => 0 |
---|
260 | ), |
---|
261 | 'R691I' => array( |
---|
262 | 'width' => 96, |
---|
263 | 'height' => 72, |
---|
264 | 'depth' => 4, |
---|
265 | 'color' => 0 |
---|
266 | ), |
---|
267 | 'F671I' => array( |
---|
268 | 'width' => 120, |
---|
269 | 'height' => 126, |
---|
270 | 'depth' => 256, |
---|
271 | 'color' => 1 |
---|
272 | ), |
---|
273 | 'F210I' => array( |
---|
274 | 'width' => 96, |
---|
275 | 'height' => 113, |
---|
276 | 'depth' => 256, |
---|
277 | 'color' => 1 |
---|
278 | ), |
---|
279 | 'N210I' => array( |
---|
280 | 'width' => 118, |
---|
281 | 'height' => 113, |
---|
282 | 'depth' => 256, |
---|
283 | 'color' => 1 |
---|
284 | ), |
---|
285 | 'P210I' => array( |
---|
286 | 'width' => 96, |
---|
287 | 'height' => 91, |
---|
288 | 'depth' => 256, |
---|
289 | 'color' => 1 |
---|
290 | ), |
---|
291 | 'KO210I' => array( |
---|
292 | 'width' => 96, |
---|
293 | 'height' => 96, |
---|
294 | 'depth' => 256, |
---|
295 | 'color' => 1 |
---|
296 | ), |
---|
297 | |
---|
298 | // i-mode compliant HTML 3.0 |
---|
299 | 'F503I' => array( |
---|
300 | 'width' => 120, |
---|
301 | 'height' => 130, |
---|
302 | 'depth' => 256, |
---|
303 | 'color' => 1 |
---|
304 | ), |
---|
305 | 'F503IS' => array( |
---|
306 | 'width' => 120, |
---|
307 | 'height' => 130, |
---|
308 | 'depth' => 4096, |
---|
309 | 'color' => 1 |
---|
310 | ), |
---|
311 | 'P503I' => array( |
---|
312 | 'width' => 120, |
---|
313 | 'height' => 130, |
---|
314 | 'depth' => 256, |
---|
315 | 'color' => 1 |
---|
316 | ), |
---|
317 | 'P503IS' => array( |
---|
318 | 'width' => 120, |
---|
319 | 'height' => 130, |
---|
320 | 'depth' => 256, |
---|
321 | 'color' => 1 |
---|
322 | ), |
---|
323 | 'N503I' => array( |
---|
324 | 'width' => 118, |
---|
325 | 'height' => 128, |
---|
326 | 'depth' => 4096, |
---|
327 | 'color' => 1 |
---|
328 | ), |
---|
329 | 'N503IS' => array( |
---|
330 | 'width' => 118, |
---|
331 | 'height' => 128, |
---|
332 | 'depth' => 4096, |
---|
333 | 'color' => 1 |
---|
334 | ), |
---|
335 | 'SO503I' => array( |
---|
336 | 'width' => 120, |
---|
337 | 'height' => 113, |
---|
338 | 'depth' => 65536, |
---|
339 | 'color' => 1 |
---|
340 | ), |
---|
341 | 'SO503IS' => array( |
---|
342 | 'width' => 120, |
---|
343 | 'height' => 113, |
---|
344 | 'depth' => 65536, |
---|
345 | 'color' => 1 |
---|
346 | ), |
---|
347 | 'D503I' => array( |
---|
348 | 'width' => 132, |
---|
349 | 'height' => 126, |
---|
350 | 'depth' => 4096, |
---|
351 | 'color' => 1 |
---|
352 | ), |
---|
353 | 'D503IS' => array( |
---|
354 | 'width' => 132, |
---|
355 | 'height' => 126, |
---|
356 | 'depth' => 4096, |
---|
357 | 'color' => 1 |
---|
358 | ), |
---|
359 | 'D210I' => array( |
---|
360 | 'width' => 96, |
---|
361 | 'height' => 91, |
---|
362 | 'depth' => 256, |
---|
363 | 'color' => 1 |
---|
364 | ), |
---|
365 | 'SO210I' => array( |
---|
366 | 'width' => 120, |
---|
367 | 'height' => 113, |
---|
368 | 'depth' => 256, |
---|
369 | 'color' => 1 |
---|
370 | ), |
---|
371 | 'F211I' => array( |
---|
372 | 'width' => 96, |
---|
373 | 'height' => 113, |
---|
374 | 'depth' => 4096, |
---|
375 | 'color' => 1 |
---|
376 | ), |
---|
377 | 'D211I' => array( |
---|
378 | 'width' => 100, |
---|
379 | 'height' => 91, |
---|
380 | 'depth' => 4096, |
---|
381 | 'color' => 1 |
---|
382 | ), |
---|
383 | 'N211I' => array( |
---|
384 | 'width' => 118, |
---|
385 | 'height' => 128, |
---|
386 | 'depth' => 4096, |
---|
387 | 'color' => 1 |
---|
388 | ), |
---|
389 | 'N211IS' => array( |
---|
390 | 'width' => 118, |
---|
391 | 'height' => 128, |
---|
392 | 'depth' => 4096, |
---|
393 | 'color' => 1 |
---|
394 | ), |
---|
395 | 'P211I' => array( |
---|
396 | 'width' => 120, |
---|
397 | 'height' => 130, |
---|
398 | 'depth' => 65536, |
---|
399 | 'color' => 1 |
---|
400 | ), |
---|
401 | 'P211IS' => array( |
---|
402 | 'width' => 120, |
---|
403 | 'height' => 130, |
---|
404 | 'depth' => 65536, |
---|
405 | 'color' => 1 |
---|
406 | ), |
---|
407 | 'SO211I' => array( |
---|
408 | 'width' => 120, |
---|
409 | 'height' => 112, |
---|
410 | 'depth' => 4096, |
---|
411 | 'color' => 1 |
---|
412 | ), |
---|
413 | 'R211I' => array( |
---|
414 | 'width' => 96, |
---|
415 | 'height' => 98, |
---|
416 | 'depth' => 4096, |
---|
417 | 'color' => 1 |
---|
418 | ), |
---|
419 | 'SH251I' => array( |
---|
420 | 'width' => 120, |
---|
421 | 'height' => 130, |
---|
422 | 'depth' => 65536, |
---|
423 | 'color' => 1 |
---|
424 | ), |
---|
425 | 'SH251IS' => array( |
---|
426 | 'width' => 176, |
---|
427 | 'height' => 187, |
---|
428 | 'depth' => 65536, |
---|
429 | 'color' => 1 |
---|
430 | ), |
---|
431 | 'R692I' => array( |
---|
432 | 'width' => 96, |
---|
433 | 'height' => 98, |
---|
434 | 'depth' => 4096, |
---|
435 | 'color' => 1 |
---|
436 | ), |
---|
437 | |
---|
438 | // i-mode compliant HTML 3.0 |
---|
439 | // (FOMA 2001/2002/2101V) |
---|
440 | 'N2001' => array( |
---|
441 | 'width' => 118, |
---|
442 | 'height' => 128, |
---|
443 | 'depth' => 4096, |
---|
444 | 'color' => 1 |
---|
445 | ), |
---|
446 | 'N2002' => array( |
---|
447 | 'width' => 118, |
---|
448 | 'height' => 128, |
---|
449 | 'depth' => 65536, |
---|
450 | 'color' => 1 |
---|
451 | ), |
---|
452 | 'P2002' => array( |
---|
453 | 'width' => 118, |
---|
454 | 'height' => 128, |
---|
455 | 'depth' => 65536, |
---|
456 | 'color' => 1 |
---|
457 | ), |
---|
458 | 'D2101V' => array( |
---|
459 | 'width' => 120, |
---|
460 | 'height' => 130, |
---|
461 | 'depth' => 262144, |
---|
462 | 'color' => 1 |
---|
463 | ), |
---|
464 | 'P2101V' => array( |
---|
465 | 'width' => 163, |
---|
466 | 'height' => 182, |
---|
467 | 'depth' => 262144, |
---|
468 | 'color' => 1 |
---|
469 | ), |
---|
470 | 'SH2101V' => array( |
---|
471 | 'width' => 800, |
---|
472 | 'height' => 600, |
---|
473 | 'depth' => 65536, |
---|
474 | 'color' => 1 |
---|
475 | ), |
---|
476 | 'T2101V' => array( |
---|
477 | 'width' => 176, |
---|
478 | 'height' => 144, |
---|
479 | 'depth' => 262144, |
---|
480 | 'color' => 1 |
---|
481 | ), |
---|
482 | |
---|
483 | // i-mode compliant HTML 4.0 |
---|
484 | 'D504I' => array( |
---|
485 | 'width' => 132, |
---|
486 | 'height' => 144, |
---|
487 | 'depth' => 262144, |
---|
488 | 'color' => 1 |
---|
489 | ), |
---|
490 | 'F504I' => array( |
---|
491 | 'width' => 132, |
---|
492 | 'height' => 136, |
---|
493 | 'depth' => 65536, |
---|
494 | 'color' => 1 |
---|
495 | ), |
---|
496 | 'F504IS' => array( |
---|
497 | 'width' => 132, |
---|
498 | 'height' => 136, |
---|
499 | 'depth' => 65536, |
---|
500 | 'color' => 1 |
---|
501 | ), |
---|
502 | 'N504I' => array( |
---|
503 | 'width' => 160, |
---|
504 | 'height' => 180, |
---|
505 | 'depth' => 65536, |
---|
506 | 'color' => 1 |
---|
507 | ), |
---|
508 | 'N504IS' => array( |
---|
509 | 'width' => 160, |
---|
510 | 'height' => 180, |
---|
511 | 'depth' => 65536, |
---|
512 | 'color' => 1 |
---|
513 | ), |
---|
514 | 'SO504I' => array( |
---|
515 | 'width' => 120, |
---|
516 | 'height' => 112, |
---|
517 | 'depth' => 65536, |
---|
518 | 'color' => 1 |
---|
519 | ), |
---|
520 | 'P504I' => array( |
---|
521 | 'width' => 132, |
---|
522 | 'height' => 144, |
---|
523 | 'depth' => 65536, |
---|
524 | 'color' => 1 |
---|
525 | ), |
---|
526 | 'P504IS' => array( |
---|
527 | 'width' => 132, |
---|
528 | 'height' => 144, |
---|
529 | 'depth' => 65536, |
---|
530 | 'color' => 1 |
---|
531 | ), |
---|
532 | 'D251I' => array( |
---|
533 | 'width' => 132, |
---|
534 | 'height' => 144, |
---|
535 | 'depth' => 262144, |
---|
536 | 'color' => 1 |
---|
537 | ), |
---|
538 | 'D251IS' => array( |
---|
539 | 'width' => 132, |
---|
540 | 'height' => 144, |
---|
541 | 'depth' => 262144, |
---|
542 | 'color' => 1 |
---|
543 | ), |
---|
544 | 'F251I' => array( |
---|
545 | 'width' => 132, |
---|
546 | 'height' => 140, |
---|
547 | 'depth' => 65536, |
---|
548 | 'color' => 1 |
---|
549 | ), |
---|
550 | 'N251I' => array( |
---|
551 | 'width' => 132, |
---|
552 | 'height' => 140, |
---|
553 | 'depth' => 65536, |
---|
554 | 'color' => 1 |
---|
555 | ), |
---|
556 | 'N251IS' => array( |
---|
557 | 'width' => 132, |
---|
558 | 'height' => 140, |
---|
559 | 'depth' => 65536, |
---|
560 | 'color' => 1 |
---|
561 | ), |
---|
562 | 'P251IS' => array( |
---|
563 | 'width' => 132, |
---|
564 | 'height' => 144, |
---|
565 | 'depth' => 65536, |
---|
566 | 'color' => 1 |
---|
567 | ), |
---|
568 | 'F671IS' => array( |
---|
569 | 'width' => 160, |
---|
570 | 'height' => 120, |
---|
571 | 'depth' => 65536, |
---|
572 | 'color' => 1 |
---|
573 | ), |
---|
574 | 'F212I' => array( |
---|
575 | 'width' => 132, |
---|
576 | 'height' => 136, |
---|
577 | 'depth' => 65536, |
---|
578 | 'color' => 1 |
---|
579 | ), |
---|
580 | 'SO212I' => array( |
---|
581 | 'width' => 120, |
---|
582 | 'height' => 112, |
---|
583 | 'depth' => 65536, |
---|
584 | 'color' => 1 |
---|
585 | ), |
---|
586 | 'F661I' => array( |
---|
587 | 'width' => 132, |
---|
588 | 'height' => 136, |
---|
589 | 'depth' => 65536, |
---|
590 | 'color' => 1 |
---|
591 | ), |
---|
592 | 'F672I' => array( |
---|
593 | 'width' => 160, |
---|
594 | 'height' => 120, |
---|
595 | 'depth' => 65536, |
---|
596 | 'color' => 1 |
---|
597 | ), |
---|
598 | 'SO213I' => array( |
---|
599 | 'width' => 120, |
---|
600 | 'height' => 112, |
---|
601 | 'depth' => 65536, |
---|
602 | 'color' => 1 |
---|
603 | ), |
---|
604 | 'SO213IS' => array( |
---|
605 | 'width' => 120, |
---|
606 | 'height' => 112, |
---|
607 | 'depth' => 65536, |
---|
608 | 'color' => 1 |
---|
609 | ), |
---|
610 | 'SO213IWR' => array( |
---|
611 | 'width' => 120, |
---|
612 | 'height' => 112, |
---|
613 | 'depth' => 65536, |
---|
614 | 'color' => 1 |
---|
615 | ), |
---|
616 | |
---|
617 | // i-mode compliant HTML 4.0 |
---|
618 | // (FOMA 2051/2102V/2701 etc.) |
---|
619 | 'F2051' => array( |
---|
620 | 'width' => 176, |
---|
621 | 'height' => 182, |
---|
622 | 'depth' => 65536, |
---|
623 | 'color' => 1 |
---|
624 | ), |
---|
625 | 'N2051' => array( |
---|
626 | 'width' => 176, |
---|
627 | 'height' => 198, |
---|
628 | 'depth' => 65536, |
---|
629 | 'color' => 1 |
---|
630 | ), |
---|
631 | 'P2102V' => array( |
---|
632 | 'width' => 176, |
---|
633 | 'height' => 198, |
---|
634 | 'depth' => 262144, |
---|
635 | 'color' => 1 |
---|
636 | ), |
---|
637 | 'P2102V' => array( |
---|
638 | 'width' => 176, |
---|
639 | 'height' => 198, |
---|
640 | 'depth' => 262144, |
---|
641 | 'color' => 1 |
---|
642 | ), |
---|
643 | 'F2102V' => array( |
---|
644 | 'width' => 176, |
---|
645 | 'height' => 182, |
---|
646 | 'depth' => 65536, |
---|
647 | 'color' => 1 |
---|
648 | ), |
---|
649 | 'N2102V' => array( |
---|
650 | 'width' => 176, |
---|
651 | 'height' => 198, |
---|
652 | 'depth' => 65536, |
---|
653 | 'color' => 1 |
---|
654 | ), |
---|
655 | 'N2701' => array( |
---|
656 | 'width' => 176, |
---|
657 | 'height' => 198, |
---|
658 | 'depth' => 65536, |
---|
659 | 'color' => 1 |
---|
660 | ), |
---|
661 | 'NM850IG' => array( |
---|
662 | 'width' => 176, |
---|
663 | 'height' => 144, |
---|
664 | 'depth' => 65536, |
---|
665 | 'color' => 1 |
---|
666 | ), |
---|
667 | |
---|
668 | // i-mode compliant HTML 5.0 (505i etc.) |
---|
669 | 'D505I' => array( |
---|
670 | 'width' => 240, |
---|
671 | 'height' => 270, |
---|
672 | 'depth' => 262144, |
---|
673 | 'color' => 1 |
---|
674 | ), |
---|
675 | 'SO505I' => array( |
---|
676 | 'width' => 256, |
---|
677 | 'height' => 240, |
---|
678 | 'depth' => 262144, |
---|
679 | 'color' => 1 |
---|
680 | ), |
---|
681 | 'SH505I' => array( |
---|
682 | 'width' => 240, |
---|
683 | 'height' => 252, |
---|
684 | 'depth' => 262144, |
---|
685 | 'color' => 1 |
---|
686 | ), |
---|
687 | 'N505I' => array( |
---|
688 | 'width' => 240, |
---|
689 | 'height' => 270, |
---|
690 | 'depth' => 262144, |
---|
691 | 'color' => 1 |
---|
692 | ), |
---|
693 | 'F505I' => array( |
---|
694 | 'width' => 240, |
---|
695 | 'height' => 268, |
---|
696 | 'depth' => 262144, |
---|
697 | 'color' => 1 |
---|
698 | ), |
---|
699 | 'P505I' => array( |
---|
700 | 'width' => 240, |
---|
701 | 'height' => 266, |
---|
702 | 'depth' => 65536, |
---|
703 | 'color' => 1 |
---|
704 | ), |
---|
705 | 'D505IS' => array( |
---|
706 | 'width' => 240, |
---|
707 | 'height' => 270, |
---|
708 | 'depth' => 262144, |
---|
709 | 'color' => 1 |
---|
710 | ), |
---|
711 | 'P505IS' => array( |
---|
712 | 'width' => 240, |
---|
713 | 'height' => 266, |
---|
714 | 'depth' => 65536, |
---|
715 | 'color' => 1 |
---|
716 | ), |
---|
717 | 'N505IS' => array( |
---|
718 | 'width' => 240, |
---|
719 | 'height' => 270, |
---|
720 | 'depth' => 262144, |
---|
721 | 'color' => 1 |
---|
722 | ), |
---|
723 | 'SO505IS' => array( |
---|
724 | 'width' => 240, |
---|
725 | 'height' => 256, |
---|
726 | 'depth' => 262144, |
---|
727 | 'color' => 1 |
---|
728 | ), |
---|
729 | 'SH505IS' => array( |
---|
730 | 'width' => 240, |
---|
731 | 'height' => 252, |
---|
732 | 'depth' => 262144, |
---|
733 | 'color' => 1 |
---|
734 | ), |
---|
735 | 'F505IGPS' => array( |
---|
736 | 'width' => 240, |
---|
737 | 'height' => 268, |
---|
738 | 'depth' => 262144, |
---|
739 | 'color' => 1 |
---|
740 | ), |
---|
741 | 'D252I' => array( |
---|
742 | 'width' => 176, |
---|
743 | 'height' => 198, |
---|
744 | 'depth' => 262144, |
---|
745 | 'color' => 1 |
---|
746 | ), |
---|
747 | 'SH252I' => array( |
---|
748 | 'width' => 240, |
---|
749 | 'height' => 252, |
---|
750 | 'depth' => 262144, |
---|
751 | 'color' => 1 |
---|
752 | ), |
---|
753 | 'P252I' => array( |
---|
754 | 'width' => 132, |
---|
755 | 'height' => 144, |
---|
756 | 'depth' => 65536, |
---|
757 | 'color' => 1 |
---|
758 | ), |
---|
759 | 'N252I' => array( |
---|
760 | 'width' => 132, |
---|
761 | 'height' => 140, |
---|
762 | 'depth' => 65536, |
---|
763 | 'color' => 1 |
---|
764 | ), |
---|
765 | 'P252IS' => array( |
---|
766 | 'width' => 132, |
---|
767 | 'height' => 144, |
---|
768 | 'depth' => 65536, |
---|
769 | 'color' => 1 |
---|
770 | ), |
---|
771 | 'D506I' => array( |
---|
772 | 'width' => 240, |
---|
773 | 'height' => 270, |
---|
774 | 'depth' => 262144, |
---|
775 | 'color' => 1 |
---|
776 | ), |
---|
777 | 'F506I' => array( |
---|
778 | 'width' => 240, |
---|
779 | 'height' => 268, |
---|
780 | 'depth' => 262144, |
---|
781 | 'color' => 1 |
---|
782 | ), |
---|
783 | 'N506I' => array( |
---|
784 | 'width' => 240, |
---|
785 | 'height' => 295, |
---|
786 | 'depth' => 262144, |
---|
787 | 'color' => 1 |
---|
788 | ), |
---|
789 | 'P506IC' => array( |
---|
790 | 'width' => 240, |
---|
791 | 'height' => 266, |
---|
792 | 'depth' => 65536, |
---|
793 | 'color' => 1 |
---|
794 | ), |
---|
795 | 'SH506IC' => array( |
---|
796 | 'width' => 240, |
---|
797 | 'height' => 252, |
---|
798 | 'depth' => 262144, |
---|
799 | 'color' => 1 |
---|
800 | ), |
---|
801 | 'SO506IC' => array( |
---|
802 | 'width' => 240, |
---|
803 | 'height' => 256, |
---|
804 | 'depth' => 262144, |
---|
805 | 'color' => 1 |
---|
806 | ), |
---|
807 | 'N506IS' => array( |
---|
808 | 'width' => 240, |
---|
809 | 'height' => 295, |
---|
810 | 'depth' => 262144, |
---|
811 | 'color' => 1 |
---|
812 | ), |
---|
813 | 'SO506I' => array( |
---|
814 | 'width' => 240, |
---|
815 | 'height' => 256, |
---|
816 | 'depth' => 262144, |
---|
817 | 'color' => 1 |
---|
818 | ), |
---|
819 | 'SO506IS' => array( |
---|
820 | 'width' => 240, |
---|
821 | 'height' => 256, |
---|
822 | 'depth' => 262144, |
---|
823 | 'color' => 1 |
---|
824 | ), |
---|
825 | 'N506ISII' => array( |
---|
826 | 'width' => 240, |
---|
827 | 'height' => 295, |
---|
828 | 'depth' => 262144, |
---|
829 | 'color' => 1 |
---|
830 | ), |
---|
831 | 'P506ICII' => array( |
---|
832 | 'width' => 240, |
---|
833 | 'height' => 266, |
---|
834 | 'depth' => 65536, |
---|
835 | 'color' => 1 |
---|
836 | ), |
---|
837 | 'D253I' => array( |
---|
838 | 'width' => 176, |
---|
839 | 'height' => 198, |
---|
840 | 'depth' => 262144, |
---|
841 | 'color' => 1 |
---|
842 | ), |
---|
843 | 'N253I' => array( |
---|
844 | 'width' => 160, |
---|
845 | 'height' => 180, |
---|
846 | 'depth' => 65536, |
---|
847 | 'color' => 1 |
---|
848 | ), |
---|
849 | 'P253I' => array( |
---|
850 | 'width' => 132, |
---|
851 | 'height' => 144, |
---|
852 | 'depth' => 65536, |
---|
853 | 'color' => 1 |
---|
854 | ), |
---|
855 | 'D253IWM' => array( |
---|
856 | 'width' => 220, |
---|
857 | 'height' => 144, |
---|
858 | 'depth' => 262144, |
---|
859 | 'color' => 1 |
---|
860 | ), |
---|
861 | 'P253IS' => array( |
---|
862 | 'width' => 132, |
---|
863 | 'height' => 144, |
---|
864 | 'depth' => 65536, |
---|
865 | 'color' => 1 |
---|
866 | ), |
---|
867 | 'P213I' => array( |
---|
868 | 'width' => 132, |
---|
869 | 'height' => 144, |
---|
870 | 'depth' => 65536, |
---|
871 | 'color' => 1 |
---|
872 | ), |
---|
873 | |
---|
874 | // i-mode compliant HTML 5.0 |
---|
875 | // (FOMA 900i etc.) |
---|
876 | 'F900I' => array( |
---|
877 | 'width' => 230, |
---|
878 | 'height' => 240, |
---|
879 | 'depth' => 262144, |
---|
880 | 'color' => 1 |
---|
881 | ), |
---|
882 | 'N900I' => array( |
---|
883 | 'width' => 240, |
---|
884 | 'height' => 269, |
---|
885 | 'depth' => 65536, |
---|
886 | 'color' => 1 |
---|
887 | ), |
---|
888 | 'P900I' => array( |
---|
889 | 'width' => 240, |
---|
890 | 'height' => 266, |
---|
891 | 'depth' => 65536, |
---|
892 | 'color' => 1 |
---|
893 | ), |
---|
894 | 'SH900I' => array( |
---|
895 | 'width' => 240, |
---|
896 | 'height' => 252, |
---|
897 | 'depth' => 262144, |
---|
898 | 'color' => 1 |
---|
899 | ), |
---|
900 | 'F900IT' => array( |
---|
901 | 'width' => 230, |
---|
902 | 'height' => 240, |
---|
903 | 'depth' => 262144, |
---|
904 | 'color' => 1 |
---|
905 | ), |
---|
906 | 'P900IV' => array( |
---|
907 | 'width' => 240, |
---|
908 | 'height' => 266, |
---|
909 | 'depth' => 262144, |
---|
910 | 'color' => 1 |
---|
911 | ), |
---|
912 | 'N900IS' => array( |
---|
913 | 'width' => 240, |
---|
914 | 'height' => 269, |
---|
915 | 'depth' => 65536, |
---|
916 | 'color' => 1 |
---|
917 | ), |
---|
918 | 'D900I' => array( |
---|
919 | 'width' => 240, |
---|
920 | 'height' => 270, |
---|
921 | 'depth' => 262144, |
---|
922 | 'color' => 1 |
---|
923 | ), |
---|
924 | 'F900IC' => array( |
---|
925 | 'width' => 230, |
---|
926 | 'height' => 240, |
---|
927 | 'depth' => 262144, |
---|
928 | 'color' => 1 |
---|
929 | ), |
---|
930 | 'F880IES' => array( |
---|
931 | 'width' => 240, |
---|
932 | 'height' => 256, |
---|
933 | 'depth' => 65536, |
---|
934 | 'color' => 1 |
---|
935 | ), |
---|
936 | 'N900IL' => array( |
---|
937 | 'width' => 240, |
---|
938 | 'height' => 269, |
---|
939 | 'depth' => 65536, |
---|
940 | 'color' => 1 |
---|
941 | ), |
---|
942 | 'N900IG' => array( |
---|
943 | 'width' => 240, |
---|
944 | 'height' => 269, |
---|
945 | 'depth' => 65536, |
---|
946 | 'color' => 1 |
---|
947 | ), |
---|
948 | 'SH901IC' => array( |
---|
949 | 'width' => 240, |
---|
950 | 'height' => 252, |
---|
951 | 'depth' => 262144, |
---|
952 | 'color' => 1 |
---|
953 | ), |
---|
954 | 'F901IC' => array( |
---|
955 | 'width' => 230, |
---|
956 | 'height' => 240, |
---|
957 | 'depth' => 262144, |
---|
958 | 'color' => 1 |
---|
959 | ), |
---|
960 | 'N901IC' => array( |
---|
961 | 'width' => 240, |
---|
962 | 'height' => 270, |
---|
963 | 'depth' => 65536, |
---|
964 | 'color' => 1 |
---|
965 | ), |
---|
966 | 'D901I' => array( |
---|
967 | 'width' => 230, |
---|
968 | 'height' => 240, |
---|
969 | 'depth' => 262144, |
---|
970 | 'color' => 1 |
---|
971 | ), |
---|
972 | 'P901I' => array( |
---|
973 | 'width' => 240, |
---|
974 | 'height' => 270, |
---|
975 | 'depth' => 65536, |
---|
976 | 'color' => 1 |
---|
977 | ), |
---|
978 | 'F700I' => array( |
---|
979 | 'width' => 230, |
---|
980 | 'height' => 240, |
---|
981 | 'depth' => 262144, |
---|
982 | 'color' => 1 |
---|
983 | ), |
---|
984 | 'SH700I' => array( |
---|
985 | 'width' => 240, |
---|
986 | 'height' => 252, |
---|
987 | 'depth' => 262144, |
---|
988 | 'color' => 1 |
---|
989 | ), |
---|
990 | 'N700I' => array( |
---|
991 | 'width' => 240, |
---|
992 | 'height' => 270, |
---|
993 | 'depth' => 65536, |
---|
994 | 'color' => 1 |
---|
995 | ), |
---|
996 | 'P700I' => array( |
---|
997 | 'width' => 240, |
---|
998 | 'height' => 270, |
---|
999 | 'depth' => 65536, |
---|
1000 | 'color' => 1 |
---|
1001 | ), |
---|
1002 | 'F700IS' => array( |
---|
1003 | 'width' => 230, |
---|
1004 | 'height' => 240, |
---|
1005 | 'depth' => 262144, |
---|
1006 | 'color' => 1 |
---|
1007 | ), |
---|
1008 | 'SH700IS' => array( |
---|
1009 | 'width' => 240, |
---|
1010 | 'height' => 252, |
---|
1011 | 'depth' => 262144, |
---|
1012 | 'color' => 1 |
---|
1013 | ), |
---|
1014 | 'SA700IS' => array( |
---|
1015 | 'width' => 240, |
---|
1016 | 'height' => 252, |
---|
1017 | 'depth' => 65536, |
---|
1018 | 'color' => 1 |
---|
1019 | ), |
---|
1020 | |
---|
1021 | 'SH901IS' => array( |
---|
1022 | 'width' => 240, |
---|
1023 | 'height' => 252, |
---|
1024 | 'depth' => 262144, |
---|
1025 | 'color' => 1 |
---|
1026 | ), |
---|
1027 | 'F901IS' => array( |
---|
1028 | 'width' => 230, |
---|
1029 | 'height' => 240, |
---|
1030 | 'depth' => 262144, |
---|
1031 | 'color' => 1 |
---|
1032 | ), |
---|
1033 | 'D901IS' => array( |
---|
1034 | 'width' => 230, |
---|
1035 | 'height' => 240, |
---|
1036 | 'depth' => 262144, |
---|
1037 | 'color' => 1 |
---|
1038 | ), |
---|
1039 | 'P901IS' => array( |
---|
1040 | 'width' => 240, |
---|
1041 | 'height' => 270, |
---|
1042 | 'depth' => 65536, |
---|
1043 | 'color' => 1 |
---|
1044 | ), |
---|
1045 | 'N901IS' => array( |
---|
1046 | 'width' => 240, |
---|
1047 | 'height' => 270, |
---|
1048 | 'depth' => 65536, |
---|
1049 | 'color' => 1 |
---|
1050 | ), |
---|
1051 | 'P901ITV' => array( |
---|
1052 | 'width' => 240, |
---|
1053 | 'height' => 270, |
---|
1054 | 'depth' => 65536, |
---|
1055 | 'color' => 1 |
---|
1056 | ), |
---|
1057 | 'SH851I' => array( |
---|
1058 | 'width' => 240, |
---|
1059 | 'height' => 252, |
---|
1060 | 'depth' => 262144, |
---|
1061 | 'color' => 1 |
---|
1062 | ), |
---|
1063 | 'P851I' => array( |
---|
1064 | 'width' => 240, |
---|
1065 | 'height' => 270, |
---|
1066 | 'depth' => 65536, |
---|
1067 | 'color' => 1 |
---|
1068 | ), |
---|
1069 | 'F881IES' => array( |
---|
1070 | 'width' => 240, |
---|
1071 | 'height' => 256, |
---|
1072 | 'depth' => 65536, |
---|
1073 | 'color' => 1 |
---|
1074 | ), |
---|
1075 | 'D701I' => array( |
---|
1076 | 'width' => 230, |
---|
1077 | 'height' => 240, |
---|
1078 | 'depth' => 65536, |
---|
1079 | 'color' => 1 |
---|
1080 | ), |
---|
1081 | 'N701I' => array( |
---|
1082 | 'width' => 240, |
---|
1083 | 'height' => 270, |
---|
1084 | 'depth' => 65536, |
---|
1085 | 'color' => 1 |
---|
1086 | ), |
---|
1087 | 'P701ID' => array( |
---|
1088 | 'width' => 240, |
---|
1089 | 'height' => 270, |
---|
1090 | 'depth' => 65536, |
---|
1091 | 'color' => 1 |
---|
1092 | ), |
---|
1093 | 'D701IWM' => array( |
---|
1094 | 'width' => 230, |
---|
1095 | 'height' => 240, |
---|
1096 | 'depth' => 65536, |
---|
1097 | 'color' => 1 |
---|
1098 | ), |
---|
1099 | 'N701IECO' => array( |
---|
1100 | 'width' => 240, |
---|
1101 | 'height' => 270, |
---|
1102 | 'depth' => 65536, |
---|
1103 | 'color' => 1 |
---|
1104 | ), |
---|
1105 | 'SA800I' => array( |
---|
1106 | 'width' => 240, |
---|
1107 | 'height' => 252, |
---|
1108 | 'depth' => 65536, |
---|
1109 | 'color' => 1 |
---|
1110 | ), |
---|
1111 | 'L600I' => array( |
---|
1112 | 'width' => 176, |
---|
1113 | 'height' => 189, |
---|
1114 | 'depth' => 65536, |
---|
1115 | 'color' => 1 |
---|
1116 | ), |
---|
1117 | 'N600I' => array( |
---|
1118 | 'width' => 176, |
---|
1119 | 'height' => 180, |
---|
1120 | 'depth' => 65536, |
---|
1121 | 'color' => 1 |
---|
1122 | ), |
---|
1123 | 'L601I' => array( |
---|
1124 | 'width' => 176, |
---|
1125 | 'height' => 189, |
---|
1126 | 'depth' => 65536, |
---|
1127 | 'color' => 1 |
---|
1128 | ), |
---|
1129 | 'M702IS' => array( |
---|
1130 | 'width' => 240, |
---|
1131 | 'height' => 267, |
---|
1132 | 'depth' => 262144, |
---|
1133 | 'color' => 1 |
---|
1134 | ), |
---|
1135 | 'M702IG' => array( |
---|
1136 | 'width' => 240, |
---|
1137 | 'height' => 267, |
---|
1138 | 'depth' => 262144, |
---|
1139 | 'color' => 1 |
---|
1140 | ), |
---|
1141 | |
---|
1142 | // i-mode compliant HTML 6.0 |
---|
1143 | // (FOMA 902i etc.) |
---|
1144 | 'F902I' => array( |
---|
1145 | 'width' => 230, |
---|
1146 | 'height' => 240, |
---|
1147 | 'depth' => 262144, |
---|
1148 | 'color' => 1 |
---|
1149 | ), |
---|
1150 | 'D902I' => array( |
---|
1151 | 'width' => 230, |
---|
1152 | 'height' => 240, |
---|
1153 | 'depth' => 262144, |
---|
1154 | 'color' => 1 |
---|
1155 | ), |
---|
1156 | 'N902I' => array( |
---|
1157 | 'width' => 240, |
---|
1158 | 'height' => 270, |
---|
1159 | 'depth' => 262144, |
---|
1160 | 'color' => 1 |
---|
1161 | ), |
---|
1162 | 'P902I' => array( |
---|
1163 | 'width' => 240, |
---|
1164 | 'height' => 270, |
---|
1165 | 'depth' => 262144, |
---|
1166 | 'color' => 1 |
---|
1167 | ), |
---|
1168 | 'SH902I' => array( |
---|
1169 | 'width' => 240, |
---|
1170 | 'height' => 240, |
---|
1171 | 'depth' => 262144, |
---|
1172 | 'color' => 1 |
---|
1173 | ), |
---|
1174 | 'SO902I' => array( |
---|
1175 | 'width' => 240, |
---|
1176 | 'height' => 256, |
---|
1177 | 'depth' => 262144, |
---|
1178 | 'color' => 1 |
---|
1179 | ), |
---|
1180 | 'SH902IS' => array( |
---|
1181 | 'width' => 240, |
---|
1182 | 'height' => 240, |
---|
1183 | 'depth' => 262144, |
---|
1184 | 'color' => 1 |
---|
1185 | ), |
---|
1186 | 'P902IS' => array( |
---|
1187 | 'width' => 240, |
---|
1188 | 'height' => 270, |
---|
1189 | 'depth' => 262144, |
---|
1190 | 'color' => 1 |
---|
1191 | ), |
---|
1192 | 'N902IS' => array( |
---|
1193 | 'width' => 240, |
---|
1194 | 'height' => 270, |
---|
1195 | 'depth' => 262144, |
---|
1196 | 'color' => 1 |
---|
1197 | ), |
---|
1198 | 'D902IS' => array( |
---|
1199 | 'width' => 230, |
---|
1200 | 'height' => 320, |
---|
1201 | 'depth' => 262144, |
---|
1202 | 'color' => 1 |
---|
1203 | ), |
---|
1204 | 'F902IS' => array( |
---|
1205 | 'width' => 230, |
---|
1206 | 'height' => 240, |
---|
1207 | 'depth' => 262144, |
---|
1208 | 'color' => 1 |
---|
1209 | ), |
---|
1210 | 'SO902IWP+' => array( |
---|
1211 | 'width' => 240, |
---|
1212 | 'height' => 256, |
---|
1213 | 'depth' => 262144, |
---|
1214 | 'color' => 1 |
---|
1215 | ), |
---|
1216 | 'SH902ISL' => array( |
---|
1217 | 'width' => 240, |
---|
1218 | 'height' => 240, |
---|
1219 | 'depth' => 262144, |
---|
1220 | 'color' => 1 |
---|
1221 | ), |
---|
1222 | 'N902IX' => array( |
---|
1223 | 'width' => 240, |
---|
1224 | 'height' => 270, |
---|
1225 | 'depth' => 262144, |
---|
1226 | 'color' => 1 |
---|
1227 | ), |
---|
1228 | 'N902IL' => array( |
---|
1229 | 'width' => 240, |
---|
1230 | 'height' => 270, |
---|
1231 | 'depth' => 262144, |
---|
1232 | 'color' => 1 |
---|
1233 | ), |
---|
1234 | 'P702I' => array( |
---|
1235 | 'width' => 240, |
---|
1236 | 'height' => 270, |
---|
1237 | 'depth' => 262144, |
---|
1238 | 'color' => 1 |
---|
1239 | ), |
---|
1240 | 'N702ID' => array( |
---|
1241 | 'width' => 240, |
---|
1242 | 'height' => 270, |
---|
1243 | 'depth' => 65536, |
---|
1244 | 'color' => 1 |
---|
1245 | ), |
---|
1246 | 'F702ID' => array( |
---|
1247 | 'width' => 230, |
---|
1248 | 'height' => 240, |
---|
1249 | 'depth' => 262144, |
---|
1250 | 'color' => 1 |
---|
1251 | ), |
---|
1252 | 'SH702ID' => array( |
---|
1253 | 'width' => 240, |
---|
1254 | 'height' => 240, |
---|
1255 | 'depth' => 262144, |
---|
1256 | 'color' => 1 |
---|
1257 | ), |
---|
1258 | 'D702I' => array( |
---|
1259 | 'width' => 230, |
---|
1260 | 'height' => 240, |
---|
1261 | 'depth' => 262144, |
---|
1262 | 'color' => 1 |
---|
1263 | ), |
---|
1264 | 'SO702I' => array( |
---|
1265 | 'width' => 240, |
---|
1266 | 'height' => 256, |
---|
1267 | 'depth' => 262144, |
---|
1268 | 'color' => 1 |
---|
1269 | ), |
---|
1270 | 'D702IBCL' => array( |
---|
1271 | 'width' => 230, |
---|
1272 | 'height' => 240, |
---|
1273 | 'depth' => 262144, |
---|
1274 | 'color' => 1 |
---|
1275 | ), |
---|
1276 | 'SA702I' => array( |
---|
1277 | 'width' => 240, |
---|
1278 | 'height' => 252, |
---|
1279 | 'depth' => 65536, |
---|
1280 | 'color' => 1 |
---|
1281 | ), |
---|
1282 | 'SH702IS' => array( |
---|
1283 | 'width' => 240, |
---|
1284 | 'height' => 240, |
---|
1285 | 'depth' => 262144, |
---|
1286 | 'color' => 1 |
---|
1287 | ), |
---|
1288 | 'N702IS' => array( |
---|
1289 | 'width' => 240, |
---|
1290 | 'height' => 270, |
---|
1291 | 'depth' => 65536, |
---|
1292 | 'color' => 1 |
---|
1293 | ), |
---|
1294 | 'P702ID' => array( |
---|
1295 | 'width' => 240, |
---|
1296 | 'height' => 270, |
---|
1297 | 'depth' => 262144, |
---|
1298 | 'color' => 1 |
---|
1299 | ), |
---|
1300 | 'D702IF' => array( |
---|
1301 | 'width' => 230, |
---|
1302 | 'height' => 240, |
---|
1303 | 'depth' => 262144, |
---|
1304 | 'color' => 1 |
---|
1305 | ), |
---|
1306 | 'D851IWM' => array( |
---|
1307 | 'width' => 230, |
---|
1308 | 'height' => 320, |
---|
1309 | 'depth' => 262144, |
---|
1310 | 'color' => 1 |
---|
1311 | ), |
---|
1312 | 'F882IES' => array( |
---|
1313 | 'width' => 240, |
---|
1314 | 'height' => 256, |
---|
1315 | 'depth' => 65536, |
---|
1316 | 'color' => 1 |
---|
1317 | ), |
---|
1318 | 'N601I' => array( |
---|
1319 | 'width' => 240, |
---|
1320 | 'height' => 270, |
---|
1321 | 'depth' => 65536, |
---|
1322 | 'color' => 1 |
---|
1323 | ), |
---|
1324 | 'D800IDS' => array( |
---|
1325 | 'width' => 230, |
---|
1326 | 'height' => 240, |
---|
1327 | 'depth' => 262144, |
---|
1328 | 'color' => 1 |
---|
1329 | ), |
---|
1330 | 'P703IMYU' => array( |
---|
1331 | 'width' => 240, |
---|
1332 | 'height' => 270, |
---|
1333 | 'depth' => 262144, |
---|
1334 | 'color' => 1 |
---|
1335 | ), |
---|
1336 | |
---|
1337 | // i-mode compliant HTML 7.0 |
---|
1338 | // (FOMA 903i etc.) |
---|
1339 | 'SH903I' => array( |
---|
1340 | 'width' => 240, |
---|
1341 | 'height' => 320, |
---|
1342 | 'depth' => 262144, |
---|
1343 | 'color' => 1 |
---|
1344 | ), |
---|
1345 | 'P903I' => array( |
---|
1346 | 'width' => 240, |
---|
1347 | 'height' => 270, |
---|
1348 | 'depth' => 262144, |
---|
1349 | 'color' => 1 |
---|
1350 | ), |
---|
1351 | 'N903I' => array( |
---|
1352 | 'width' => 240, |
---|
1353 | 'height' => 270, |
---|
1354 | 'depth' => 262144, |
---|
1355 | 'color' => 1 |
---|
1356 | ), |
---|
1357 | 'D903I' => array( |
---|
1358 | 'width' => 230, |
---|
1359 | 'height' => 320, |
---|
1360 | 'depth' => 262144, |
---|
1361 | 'color' => 1 |
---|
1362 | ), |
---|
1363 | 'F903I' => array( |
---|
1364 | 'width' => 230, |
---|
1365 | 'height' => 240, |
---|
1366 | 'depth' => 262144, |
---|
1367 | 'color' => 1 |
---|
1368 | ), |
---|
1369 | 'SO903I' => array( |
---|
1370 | 'width' => 240, |
---|
1371 | 'height' => 368, |
---|
1372 | 'depth' => 262144, |
---|
1373 | 'color' => 1 |
---|
1374 | ), |
---|
1375 | 'D903ITV' => array( |
---|
1376 | 'width' => 230, |
---|
1377 | 'height' => 320, |
---|
1378 | 'depth' => 262144, |
---|
1379 | 'color' => 1 |
---|
1380 | ), |
---|
1381 | 'F903IX' => array( |
---|
1382 | 'width' => 230, |
---|
1383 | 'height' => 240, |
---|
1384 | 'depth' => 262144, |
---|
1385 | 'color' => 1 |
---|
1386 | ), |
---|
1387 | 'P903ITV' => array( |
---|
1388 | 'width' => 240, |
---|
1389 | 'height' => 350, |
---|
1390 | 'depth' => 262144, |
---|
1391 | 'color' => 1 |
---|
1392 | ), |
---|
1393 | 'N703ID' => array( |
---|
1394 | 'width' => 240, |
---|
1395 | 'height' => 270, |
---|
1396 | 'depth' => 262144, |
---|
1397 | 'color' => 1 |
---|
1398 | ), |
---|
1399 | 'F703I' => array( |
---|
1400 | 'width' => 230, |
---|
1401 | 'height' => 240, |
---|
1402 | 'depth' => 262144, |
---|
1403 | 'color' => 1 |
---|
1404 | ), |
---|
1405 | 'P703I' => array( |
---|
1406 | 'width' => 240, |
---|
1407 | 'height' => 270, |
---|
1408 | 'depth' => 262144, |
---|
1409 | 'color' => 1 |
---|
1410 | ), |
---|
1411 | 'D703I' => array( |
---|
1412 | 'width' => 230, |
---|
1413 | 'height' => 240, |
---|
1414 | 'depth' => 262144, |
---|
1415 | 'color' => 1 |
---|
1416 | ), |
---|
1417 | 'SH703I' => array( |
---|
1418 | 'width' => 240, |
---|
1419 | 'height' => 240, |
---|
1420 | 'depth' => 262144, |
---|
1421 | 'color' => 1 |
---|
1422 | ), |
---|
1423 | 'SH703I' => array( |
---|
1424 | 'width' => 240, |
---|
1425 | 'height' => 240, |
---|
1426 | 'depth' => 262144, |
---|
1427 | 'color' => 1 |
---|
1428 | ), |
---|
1429 | 'N703IMYU' => array( |
---|
1430 | 'width' => 240, |
---|
1431 | 'height' => 270, |
---|
1432 | 'depth' => 262144, |
---|
1433 | 'color' => 1 |
---|
1434 | ), |
---|
1435 | 'SO703I' => array( |
---|
1436 | 'width' => 240, |
---|
1437 | 'height' => 368, |
---|
1438 | 'depth' => 262144, |
---|
1439 | 'color' => 1 |
---|
1440 | ) |
---|
1441 | ); |
---|
1442 | } |
---|
1443 | } |
---|
1444 | |
---|
1445 | return @$displayMap[ strtoupper($model) ]; |
---|
1446 | } |
---|
1447 | |
---|
1448 | /**#@-*/ |
---|
1449 | |
---|
1450 | /**#@+ |
---|
1451 | * @access private |
---|
1452 | */ |
---|
1453 | |
---|
1454 | /**#@-*/ |
---|
1455 | |
---|
1456 | // }}} |
---|
1457 | } |
---|
1458 | |
---|
1459 | // }}} |
---|
1460 | |
---|
1461 | /* |
---|
1462 | * Local Variables: |
---|
1463 | * mode: php |
---|
1464 | * coding: iso-8859-1 |
---|
1465 | * tab-width: 4 |
---|
1466 | * c-basic-offset: 4 |
---|
1467 | * c-hanging-comment-ender-p: nil |
---|
1468 | * indent-tabs-mode: nil |
---|
1469 | * End: |
---|
1470 | */ |
---|
1471 | ?> |
---|