/frameworks/base/core/java/android/view/ |
D | Choreographer.java | 272 public void postCallback(int callbackType, Runnable action, Object token) { in postCallback() argument 273 postCallbackDelayed(callbackType, action, token, 0); in postCallback() 291 Runnable action, Object token, long delayMillis) { in postCallbackDelayed() argument 292 if (action == null) { in postCallbackDelayed() 299 postCallbackDelayedInternal(callbackType, action, token, delayMillis); in postCallbackDelayed() 303 Object action, Object token, long delayMillis) { in postCallbackDelayedInternal() argument 306 + ", action=" + action + ", token=" + token in postCallbackDelayedInternal() 313 mCallbackQueues[callbackType].addCallbackLocked(dueTime, action, token); in postCallbackDelayedInternal() 318 Message msg = mHandler.obtainMessage(MSG_DO_SCHEDULE_CALLBACK, action); in postCallbackDelayedInternal() 339 public void removeCallbacks(int callbackType, Runnable action, Object token) { in removeCallbacks() argument [all …]
|
D | InputEventConsistencyVerifier.java | 201 final int action = event.getAction(); in onKeyEvent() local 205 switch (action) { in onKeyEvent() 237 problem("Invalid action " + KeyEvent.actionToString(action) in onKeyEvent() 263 final int action = event.getAction(); in onTrackballEvent() local 266 switch (action) { in onTrackballEvent() 291 problem("Invalid action " + MotionEvent.actionToString(action) in onTrackballEvent() 323 final int action = event.getAction(); in onTouchEvent() local 324 final boolean newStream = action == MotionEvent.ACTION_DOWN in onTouchEvent() 325 || action == MotionEvent.ACTION_CANCEL || action == MotionEvent.ACTION_OUTSIDE; in onTouchEvent() 355 switch (action) { in onTouchEvent() [all …]
|
/frameworks/base/docs/html/guide/topics/ui/ |
D | actionbar.jd | 13 <li><a href="#Removing">Removing the action bar</a></li> 18 <li><a href="#ChoosingActionItems">Choosing your action items</a></li> 19 <li><a href="#SplitBar">Using split action bar</a></li> 29 <li><a href="#ActionViewCollapsing">Handling collapsible action views</a></li> 35 <li><a href="#CreatingActionProvider">Creating a custom action provider</a></li> 80 <p>The action bar is a window feature that identifies the application and user location, and 81 provides user actions and navigation modes. You should use the action bar in most activities that 82 need to prominently present user actions or global navigation, because the action bar offers users a 83 consistent interface across applications and the system gracefully adapts the action bar's 85 action bar with the {@link android.app.ActionBar} APIs, which were added in Android 3.0 (API level [all …]
|
/frameworks/base/docs/html/design/patterns/ |
D | actionbar.jd | 6 <p>The <em>action bar</em> is a dedicated piece of real estate at the top of each screen that is ge… 11 <li>Reduces clutter by providing an action overflow for rarely used actions.</li> 14 <p>If you're new to writing Android apps, note that the action bar is one of the most important des… 17 <p>The action bar is split into four different functional areas that apply to most apps.</p> 49 If your app displays data in different views, this segment of the action bar allows users to switch 64 action bar are moved automatically to the action overflow. Long-press on an icon to view the action… 71 Move less often used actions to the action overflow. 83 …You can adapt to such changes by using <em>split action bars</em>, which allow you to distribute a… 84 content across multiple bars located below the main action bar or at the bottom of the screen.</p> 88 Split action bar showing action buttons at the bottom of the screen in vertical orientation. [all …]
|
D | compatibility.jd | 8 <li>Robust pattern for the use of menus in action bars.</li> 18 <p>Android apps written for Android 3.0 and later display actions in the action bar. Actions that d… 19 fit in the action bar or aren't important enough to be displayed at the top level appear in the 20 action overflow.</p> 21 <p>Users access the action overflow by touching it in the action bar.</p> 36 the bottom of the screen. Instead, the action overflow is available from the menu hardware key. The 52 controls, an action overflow control appears at the right side of the virtual navigation bar. You
|
/frameworks/support/v4/java/android/support/v4/view/ |
D | ViewCompat.java | 127 public void postOnAnimation(View view, Runnable action); in postOnAnimation() argument 128 public void postOnAnimationDelayed(View view, Runnable action, long delayMillis); in postOnAnimationDelayed() argument 131 public boolean performAccessibilityAction(View view, int action, Bundle arguments); in performAccessibilityAction() argument 177 public void postOnAnimation(View view, Runnable action) { in postOnAnimation() argument 178 view.postDelayed(action, getFrameTime()); in postOnAnimation() 180 public void postOnAnimationDelayed(View view, Runnable action, long delayMillis) { in postOnAnimationDelayed() argument 181 view.postDelayed(action, getFrameTime() + delayMillis); in postOnAnimationDelayed() 192 public boolean performAccessibilityAction(View view, int action, Bundle arguments) { in performAccessibilityAction() argument 279 public void postOnAnimation(View view, Runnable action) { in postOnAnimation() argument 280 ViewCompatJB.postOnAnimation(view, action); in postOnAnimation() [all …]
|
/frameworks/base/docs/html/guide/topics/manifest/ |
D | action-element.jd | 1 page.title=<action> 8 <dd><pre class="stx"><action android:<a href="#nm">name</a>="<i>string</i>" /></pre></dd> 15 <dd>Adds an action to an intent filter. 17 one or more {@code <action>} elements. If it doesn't contain any, no 20 Intent Filters</a> for details on intent filters and the role of action 27 <dd>The name of the action. Some standard actions are defined in the 30 this attribute, prepend "{@code android.intent.action.}" to the 32 For example, for {@code ACTION_MAIN}, use "{@code android.intent.action.MAIN}" 33 and for {@code ACTION_WEB_SEARCH}, use "{@code android.intent.action.WEB_SEARCH}". 37 ensure uniqueness. For example, a {@code TRANSMOGRIFY} action might be specified [all …]
|
/frameworks/support/v4/jellybean/android/support/v4/view/ |
D | ViewCompatJB.java | 44 public static void postOnAnimation(View view, Runnable action) { in postOnAnimation() argument 45 view.postOnAnimation(action); in postOnAnimation() 48 public static void postOnAnimationDelayed(View view, Runnable action, long delayMillis) { in postOnAnimationDelayed() argument 49 view.postOnAnimationDelayed(action, delayMillis); in postOnAnimationDelayed() 60 public static boolean performAccessibilityAction(View view, int action, Bundle arguments) { in performAccessibilityAction() argument 61 return view.performAccessibilityAction(action, arguments); in performAccessibilityAction()
|
/frameworks/base/core/java/android/app/admin/ |
D | DeviceAdminReceiver.java | 301 String action = intent.getAction(); in onReceive() local 302 if (ACTION_PASSWORD_CHANGED.equals(action)) { in onReceive() 304 } else if (ACTION_PASSWORD_FAILED.equals(action)) { in onReceive() 306 } else if (ACTION_PASSWORD_SUCCEEDED.equals(action)) { in onReceive() 308 } else if (ACTION_DEVICE_ADMIN_ENABLED.equals(action)) { in onReceive() 310 } else if (ACTION_DEVICE_ADMIN_DISABLE_REQUESTED.equals(action)) { in onReceive() 316 } else if (ACTION_DEVICE_ADMIN_DISABLED.equals(action)) { in onReceive() 318 } else if (ACTION_PASSWORD_EXPIRING.equals(action)) { in onReceive()
|
/frameworks/base/core/java/android/text/method/ |
D | LinkMovementMethod.java | 46 event.getRepeatCount() == 0 && action(CLICK, widget, buffer)) { in handleMovementKey() 57 if (action(UP, widget, buffer)) { in up() 66 if (action(DOWN, widget, buffer)) { in down() 75 if (action(UP, widget, buffer)) { in left() 84 if (action(DOWN, widget, buffer)) { in right() 91 private boolean action(int what, TextView widget, Spannable buffer) { in action() method in LinkMovementMethod 191 int action = event.getAction(); in onTouchEvent() local 193 if (action == MotionEvent.ACTION_UP || in onTouchEvent() 194 action == MotionEvent.ACTION_DOWN) { in onTouchEvent() 211 if (action == MotionEvent.ACTION_UP) { in onTouchEvent() [all …]
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | LaunchpadActivity.java | 171 String action = getIntent().getAction(); in onCreate() local 174 if (LIFECYCLE_BASIC.equals(action)) { in onCreate() 177 } else if (LIFECYCLE_SCREEN.equals(action)) { in onCreate() 182 } else if (LIFECYCLE_DIALOG.equals(action)) { in onCreate() 186 } else if (LIFECYCLE_FINISH_CREATE.equals(action)) { in onCreate() 194 } else if (LIFECYCLE_FINISH_START.equals(action)) { in onCreate() 227 String action = getIntent().getAction(); in onResume() local 231 if (LAUNCH.equals(action)) { in onResume() 238 } else if (FORWARD_RESULT.equals(action)) { in onResume() 243 } else if (BAD_PARCELABLE.equals(action)) { in onResume() [all …]
|
/frameworks/base/core/java/android/appwidget/ |
D | AppWidgetProvider.java | 60 String action = intent.getAction(); in onReceive() local 61 if (AppWidgetManager.ACTION_APPWIDGET_UPDATE.equals(action)) { in onReceive() 70 else if (AppWidgetManager.ACTION_APPWIDGET_DELETED.equals(action)) { in onReceive() 77 else if (AppWidgetManager.ACTION_APPWIDGET_OPTIONS_CHANGED.equals(action)) { in onReceive() 87 else if (AppWidgetManager.ACTION_APPWIDGET_ENABLED.equals(action)) { in onReceive() 90 else if (AppWidgetManager.ACTION_APPWIDGET_DISABLED.equals(action)) { in onReceive()
|
/frameworks/base/services/input/ |
D | InputListener.cpp | 47 int32_t action, int32_t flags, int32_t keyCode, int32_t scanCode, in NotifyKeyArgs() argument 50 action(action), flags(flags), keyCode(keyCode), scanCode(scanCode), in NotifyKeyArgs() 57 action(other.action), flags(other.flags), in NotifyKeyArgs() 71 int32_t action, int32_t flags, int32_t metaState, int32_t buttonState, in NotifyMotionArgs() argument 76 action(action), flags(flags), metaState(metaState), buttonState(buttonState), in NotifyMotionArgs() 88 action(other.action), flags(other.flags), in NotifyMotionArgs()
|
/frameworks/base/services/input/tests/ |
D | InputReader_test.cpp | 1524 ASSERT_EQ(AKEY_EVENT_ACTION_DOWN, args.action); in testDPadKeyRotation() 1530 ASSERT_EQ(AKEY_EVENT_ACTION_UP, args.action); in testDPadKeyRotation() 1562 ASSERT_EQ(AKEY_EVENT_ACTION_DOWN, args.action); in TEST_F() 1577 ASSERT_EQ(AKEY_EVENT_ACTION_UP, args.action); in TEST_F() 1594 ASSERT_EQ(AKEY_EVENT_ACTION_DOWN, args.action); in TEST_F() 1611 ASSERT_EQ(AKEY_EVENT_ACTION_UP, args.action); in TEST_F() 1628 ASSERT_EQ(AKEY_EVENT_ACTION_DOWN, args.action); in TEST_F() 1645 ASSERT_EQ(AKEY_EVENT_ACTION_UP, args.action); in TEST_F() 1788 ASSERT_EQ(AKEY_EVENT_ACTION_DOWN, args.action); in TEST_F() 1797 ASSERT_EQ(AKEY_EVENT_ACTION_UP, args.action); in TEST_F() [all …]
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ExternalMediaFormatActivity.java | 42 String action = intent.getAction(); 43 Log.d("ExternalMediaFormatActivity", "got action " + action); 45 if (action == Intent.ACTION_MEDIA_REMOVED || 46 action == Intent.ACTION_MEDIA_CHECKING || 47 action == Intent.ACTION_MEDIA_MOUNTED || 48 action == Intent.ACTION_MEDIA_SHARED) {
|
/frameworks/av/drm/common/ |
D | DrmEngineBase.cpp | 30 int uniqueId, const String8* path, int action) { in getConstraints() argument 31 return onGetConstraints(uniqueId, path, action); in getConstraints() 77 int DrmEngineBase::checkRightsStatus(int uniqueId, const String8& path, int action) { in checkRightsStatus() argument 78 return onCheckRightsStatus(uniqueId, path, action); in checkRightsStatus() 82 int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) { in consumeRights() argument 83 return onConsumeRights(uniqueId, decryptHandle, action, reserve); in consumeRights() 93 int action, const ActionDescription& description) { in validateAction() argument 94 return onValidateAction(uniqueId, path, action, description); in validateAction()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | PhoneStatusBarPolicy.java | 115 String action = intent.getAction(); 116 if (action.equals(Intent.ACTION_ALARM_CHANGED)) { 119 else if (action.equals(Intent.ACTION_SYNC_STATE_CHANGED)) { 122 else if (action.equals(BluetoothAdapter.ACTION_STATE_CHANGED) || 123 action.equals(BluetoothAdapter.ACTION_CONNECTION_STATE_CHANGED)) { 126 else if (action.equals(AudioManager.RINGER_MODE_CHANGED_ACTION)) { 129 else if (action.equals(TelephonyIntents.ACTION_SIM_STATE_CHANGED)) { 132 else if (action.equals(TtyIntent.TTY_ENABLED_CHANGE_ACTION)) { 261 String action = intent.getAction(); in updateBluetooth() local 262 if (action.equals(BluetoothAdapter.ACTION_STATE_CHANGED)) { in updateBluetooth() [all …]
|
/frameworks/base/docs/html/intl/ko/training/monitoring-device-state/ |
D | battery-monitoring.jd | 69 <action android:name="android.intent.action.ACTION_POWER_CONNECTED"/> 70 <action android:name="android.intent.action.ACTION_POWER_DISCONNECTED"/> 112 <action android:name="android.intent.action.ACTION_BATTERY_LOW"/> 113 <action android:name="android.intent.action.ACTION_BATTERY_OKAY"/>
|
/frameworks/av/drm/libdrmframework/ |
D | DrmManagerClient.cpp | 42 DrmConstraints* DrmManagerClient::getConstraints(const String8* path, const int action) { in getConstraints() argument 43 return mDrmManagerClientImpl->getConstraints(mUniqueId, path, action); in getConstraints() 75 int DrmManagerClient::checkRightsStatus(const String8& path, int action) { in checkRightsStatus() argument 76 return mDrmManagerClientImpl->checkRightsStatus(mUniqueId, path, action); in checkRightsStatus() 80 sp<DecryptHandle> &decryptHandle, int action, bool reserve) { in consumeRights() argument 81 return mDrmManagerClientImpl->consumeRights(mUniqueId, decryptHandle, action, reserve); in consumeRights() 91 const String8& path, int action, const ActionDescription& description) { in validateAction() argument 92 return mDrmManagerClientImpl->validateAction(mUniqueId, path, action, description); in validateAction()
|
/frameworks/base/docs/html/intl/ru/training/monitoring-device-state/ |
D | battery-monitoring.jd | 69 <action android:name="android.intent.action.ACTION_POWER_CONNECTED"/> 70 <action android:name="android.intent.action.ACTION_POWER_DISCONNECTED"/> 112 <action android:name="android.intent.action.ACTION_BATTERY_LOW"/> 113 <action android:name="android.intent.action.ACTION_BATTERY_OKAY"/>
|
/frameworks/base/docs/html-intl/ru/training/monitoring-device-state/ |
D | battery-monitoring.jd | 69 <action android:name="android.intent.action.ACTION_POWER_CONNECTED"/> 70 <action android:name="android.intent.action.ACTION_POWER_DISCONNECTED"/> 112 <action android:name="android.intent.action.ACTION_BATTERY_LOW"/> 113 <action android:name="android.intent.action.ACTION_BATTERY_OKAY"/>
|
/frameworks/base/docs/html-intl/ko/training/monitoring-device-state/ |
D | battery-monitoring.jd | 69 <action android:name="android.intent.action.ACTION_POWER_CONNECTED"/> 70 <action android:name="android.intent.action.ACTION_POWER_DISCONNECTED"/> 112 <action android:name="android.intent.action.ACTION_BATTERY_LOW"/> 113 <action android:name="android.intent.action.ACTION_BATTERY_OKAY"/>
|
/frameworks/base/docs/html/intl/ja/training/monitoring-device-state/ |
D | battery-monitoring.jd | 69 <action android:name="android.intent.action.ACTION_POWER_CONNECTED"/> 70 <action android:name="android.intent.action.ACTION_POWER_DISCONNECTED"/> 112 <action android:name="android.intent.action.ACTION_BATTERY_LOW"/> 113 <action android:name="android.intent.action.ACTION_BATTERY_OKAY"/>
|
/frameworks/base/docs/html-intl/zh-cn/training/monitoring-device-state/ |
D | battery-monitoring.jd | 69 <action android:name="android.intent.action.ACTION_POWER_CONNECTED"/> 70 <action android:name="android.intent.action.ACTION_POWER_DISCONNECTED"/> 112 <action android:name="android.intent.action.ACTION_BATTERY_LOW"/> 113 <action android:name="android.intent.action.ACTION_BATTERY_OKAY"/>
|
/frameworks/base/docs/html/intl/zh-CN/training/monitoring-device-state/ |
D | battery-monitoring.jd | 69 <action android:name="android.intent.action.ACTION_POWER_CONNECTED"/> 70 <action android:name="android.intent.action.ACTION_POWER_DISCONNECTED"/> 112 <action android:name="android.intent.action.ACTION_BATTERY_LOW"/> 113 <action android:name="android.intent.action.ACTION_BATTERY_OKAY"/>
|