Home
last modified time | relevance | path

Searched refs:pad (Results 1 – 25 of 74) sorted by relevance

123

/frameworks/base/docs/html/training/tv/start/
Dnavigation.jd2 page.tags=tv, d-pad, focus
12 <li><a href="#d-pad-navigation">Enable D-pad Navigation</a></li>
33 <h2 id="d-pad-navigation">Enable D-pad Navigation</h2>
37 directional pad (D-pad) or arrow keys. This type of control limits movement to up, down, left,
45 navigation with a D-pad controller to discover any navigation problems. Follow these guidelines to
46 test that your app's navigation system works well with a D-pad on a TV device:
50 <li>Ensure that a user with a D-pad controller can navigate to all visible controls on the
53 <li>For scrolling lists with focus, make sure that the D-pad up and down keys scroll the list,
62 <h3 id="modify-d-pad-nav">Modifying directional navigation</h3>
67 navigation scheme in your app using a D-pad controller. After testing, if you decide you want
Dhardware.jd23 In order for users to interact with TV apps, they must use a remote control or game pad. When
288 navigation using a directional pad (D-pad) on a TV remote control. For more information on
357 remote controller or game controller. This means that your app must support D-pad input. It also
363 <h3 id="d-pad-minimum">D-pad minimum controls</h3>
366 The default controller for a TV device is a D-pad. In general, your app should be operable from a
369 attempt to allow gameplay with these D-pad controls. In this case, your app should also warn the
371 a controller is required and allow them to exit your game gracefully using the D-pad controller.
372 For more information about handling navigation with D-pad controller for TV devices, see
425 <h3 id="d-pad-variants">Handle D-pad input variations</h3>
429 example, a user might have both a basic D-pad controller and a game controller. The key codes
[all …]
/frameworks/base/tools/aapt2/
DBigBuffer.h92 void pad(size_t bytes);
138 inline void BigBuffer::pad(size_t bytes) { in pad() function
145 pad(4 - unaligned); in align4()
DBigBuffer_test.cpp88 buffer.pad(2); in TEST()
92 buffer.pad(2); in TEST()
/frameworks/base/docs/html-intl/intl/ja/training/tv/start/
Dnavigation.jd2 page.tags=tv, d-pad, focus
11 <li><a href="#d-pad-navigation">矢印ボタンによるナビゲーションを有効にする</a></li>
27 <h2 id="d-pad-navigation">矢印ボタンによるナビゲーションを有効にする</h2>
47 <h3 id="modify-d-pad-nav">矢印ボタンによるナビゲーションを編集する</h3>
/frameworks/base/core/java/com/android/internal/app/
DPlatLogoActivity.java83 final int pad = (int) (8 * dp); in onAttachedToWindow()
84 outline.setOval(pad, pad, view.getWidth() - pad, view.getHeight() - pad); in onAttachedToWindow()
/frameworks/native/libs/binder/tests/
DbinderDriverInterfaceTest.cpp240 uint32_t pad[16]; in TEST_F() member
254 if (bwr.read_consumed < offsetof(typeof(br), pad)) { in TEST_F()
259 EXPECT_EQ(offsetof(typeof(br), pad), bwr.read_consumed); in TEST_F()
266 if (bwr.read_consumed >= offsetof(typeof(br), pad)) { in TEST_F()
328 uint32_t pad[16]; in TEST_F() member
339 EXPECT_EQ(sizeof(br) - sizeof(br.pad), bwr.read_consumed); in TEST_F()
/frameworks/base/docs/html/training/game-controllers/
Dcontroller-input.jd52 gamepad or D-pad button.</p>
64 D-pad button.</p>
68 D-pad button.</p>
82 pad</a> (D-pad) and gamepad button events. Key events are accompanied by a
124 type does not strictly indicate if the game controller has D-pad buttons,
127 the input device has D-pad buttons (for example,
221 DPAD_CENTER} key code when the center of the D-pad crossbar is pressed. Your
289 // Handle gamepad and D-pad button presses to
329 <p>The 4-way directional pad (D-pad) is a common physical control in many game
330 controllers. Android reports D-pad UP and DOWN presses as
[all …]
Dindex.jd51 input elements on game controllers, including directional pad (D-pad)
/frameworks/base/docs/html/guide/topics/manifest/
Duses-configuration-element.jd36 <em>always</em> support input with a directional pad (d-pad) in order to assist sight-impaired
37 users and support devices that provide d-pad input in addition to or instead of touch. For
38 information about how to support d-pad input in your app, read <a href=
54 D-pad (directional pad), trackball, or other device.
120 <td>The application requires a D-pad (directional pad) for navigation.</td>
/frameworks/base/core/java/android/text/style/
DIconMarginSpan.java32 public IconMarginSpan(Bitmap b, int pad) { in IconMarginSpan() argument
34 mPad = pad; in IconMarginSpan()
DDrawableMarginSpan.java32 public DrawableMarginSpan(Drawable b, int pad) { in DrawableMarginSpan() argument
34 mPad = pad; in DrawableMarginSpan()
/frameworks/base/graphics/java/android/graphics/drawable/
DDrawable.java1068 Rect pad = new Rect(); in createFromResourceStream() local
1080 Bitmap bm = BitmapFactory.decodeResourceStream(res, value, is, pad, opts); in createFromResourceStream()
1085 pad = null; in createFromResourceStream()
1090 return drawableFromBitmap(res, bm, np, pad, opticalInsets, srcName); in createFromResourceStream()
1367 Rect pad, Rect layoutBounds, String srcName) { in drawableFromBitmap() argument
1370 return new NinePatchDrawable(res, bm, np, pad, layoutBounds, srcName); in drawableFromBitmap()
DInsetDrawable.java183 final boolean pad = super.getPadding(padding); in getPadding()
190 return pad || (mState.mInsetLeft | mState.mInsetRight in getPadding()
DGradientDrawable.java1237 final Rect pad = st.mPadding;
1238 pad.set(a.getDimensionPixelOffset(R.styleable.GradientDrawablePadding_left, pad.left),
1239 a.getDimensionPixelOffset(R.styleable.GradientDrawablePadding_top, pad.top),
1240 a.getDimensionPixelOffset(R.styleable.GradientDrawablePadding_right, pad.right),
1241 a.getDimensionPixelOffset(R.styleable.GradientDrawablePadding_bottom, pad.bottom));
1242 mPadding = pad;
/frameworks/base/docs/html-intl/intl/ja/distribute/googleplay/quality/
Dtv.jd187 …ッド コントローラを必要としない限り、アプリの機能は 5 方向 D-pad コントロールを使用してナビゲート可能です。(<a href="{@docRoot}training/tv/start/n…
209 …リモート コントローラに依存しません。(<a href="{@docRoot}training/tv/start/navigation.html#d-pad-navigation">こちらを参照し…
315 …アプリでは D-pad コントロールを使用した広告とのインタラクションが可能です。(<a href="{@docRoot}training/tv/start/navigation.html#d-p…
326 全画面で表示し、動画ではない広告を表示する場合、アプリではユーザーが D-pad コントロールを使用して広告をすぐに消すことができます。
/frameworks/base/docs/html-intl/intl/zh-tw/distribute/googleplay/quality/
Dtv.jd186 …-GP">TV-GP</a> 中指定需要遊戲手把,否則可以使用 5 向 D-pad 控制裝置來導覽應用程式功能。(<a href="{@docRoot}training/tv/start/navi…
208 …鈕的遙控器也能存取使用者介面的控制項。(<a href="{@docRoot}training/tv/start/navigation.html#d-pad-navigation">進行了解</a…
314 …應用程式允許使用 D-pad 控制裝置與廣告推廣互動。(<a href="{@docRoot}training/tv/start/navigation.html#d-pad-navigation"…
325 對於使用全螢幕非影片廣告的廣告推廣,應用程式允許使用者使用 D-pad 控制裝置立即關閉廣告。
/frameworks/base/graphics/java/android/graphics/
DBitmapFactory.java425 InputStream is, Rect pad, Options opts) { in decodeResourceStream() argument
444 return decodeStream(is, pad, opts); in decodeResourceStream()
/frameworks/base/docs/html/distribute/essentials/quality/
Dtv.jd209 App functionality is navigable using 5-way D-pad controls, unless the app
211 (<a href="{@docRoot}training/tv/start/navigation.html#d-pad-navigation">Learn how</a>)
237 (<a href="{@docRoot}training/tv/start/navigation.html#d-pad-navigation">Learn how</a>)
353 App allows interaction with advertising using D-pad controls.
354 (<a href="{@docRoot}training/tv/start/navigation.html#d-pad-navigation">Learn how</a>)
366 immediately dismiss the ad with D-pad controls.
/frameworks/base/docs/html/training/tv/games/
Dindex.jd80 <h3 id="d-pad">Support D-pad controls</h3>
83 Plan your control scheme around a directional pad (D-pad) control, since this control set is the
99 a gamepad with a joystick than one with only a D-pad, make this fact clear. A player who uses
312 element should be accessible with the D-pad navigation buttons. Do this instead of relying on the
/frameworks/base/docs/html-intl/intl/ru/distribute/googleplay/quality/
Dtv.jd211 … (<a href="{@docRoot}training/tv/start/navigation.html#d-pad-navigation">См. как это сделать</a>)
237 … (<a href="{@docRoot}training/tv/start/navigation.html#d-pad-navigation">См. как это сделать</a>)
353 … (<a href="{@docRoot}training/tv/start/navigation.html#d-pad-navigation">См. как это сделать</a>)
/frameworks/base/docs/html-intl/intl/ko/distribute/googleplay/quality/
Dtv.jd211 (<a href="{@docRoot}training/tv/start/navigation.html#d-pad-navigation">방법 알아보기</a>)
237 (<a href="{@docRoot}training/tv/start/navigation.html#d-pad-navigation">방법 알아보기</a>)
353 (<a href="{@docRoot}training/tv/start/navigation.html#d-pad-navigation">방법 알아보기</a>)
/frameworks/base/docs/html-intl/intl/zh-cn/distribute/googleplay/quality/
Dtv.jd211 (<a href="{@docRoot}training/tv/start/navigation.html#d-pad-navigation">了解方法</a>)
237 (<a href="{@docRoot}training/tv/start/navigation.html#d-pad-navigation">了解方法</a>)
353 (<a href="{@docRoot}training/tv/start/navigation.html#d-pad-navigation">了解方法</a>)
/frameworks/base/docs/html/tools/testing/
Dtesting_accessibility.jd72 primary tasks in the application. Use the keyboard and directional-pad (D-Pad) controls in the
78 content, keyboard and D-pad navigation only allow focus on input fields and buttons.</p>
225 >Eyes-Free Keyboard</a> to simulate use of a D-pad on a test device that does not have a physical
226 D-pad.</p>
238 content, keyboard and D-pad navigation only allow focus on input fields and buttons.</p>
/frameworks/base/docs/html/training/accessibility/
Dindex.jd43 navigation with a keyboard or directional pad, set labels and fire events

123