/frameworks/base/core/java/android/view/ |
D | Choreographer.java | 284 public void postCallback(int callbackType, Runnable action, Object token) { in postCallback() argument 285 postCallbackDelayed(callbackType, action, token, 0); in postCallback() 303 Runnable action, Object token, long delayMillis) { in postCallbackDelayed() argument 304 if (action == null) { in postCallbackDelayed() 311 postCallbackDelayedInternal(callbackType, action, token, delayMillis); in postCallbackDelayed() 315 Object action, Object token, long delayMillis) { in postCallbackDelayedInternal() argument 318 + ", action=" + action + ", token=" + token in postCallbackDelayedInternal() 325 mCallbackQueues[callbackType].addCallbackLocked(dueTime, action, token); in postCallbackDelayedInternal() 330 Message msg = mHandler.obtainMessage(MSG_DO_SCHEDULE_CALLBACK, action); in postCallbackDelayedInternal() 351 public void removeCallbacks(int callbackType, Runnable action, Object token) { in removeCallbacks() argument [all …]
|
/frameworks/base/docs/html/design/patterns/ |
D | actionbar.jd | 15 <p>The <em>action bar</em> is a dedicated piece of real estate at the top of each screen that is ge… 20 <li>Reduces clutter by providing an action overflow for rarely used actions.</li> 23 <p>If you're new to writing Android apps, note that the action bar is one of the most important des… 26 <p>The action bar is split into four different functional areas that apply to most apps.</p> 58 If your app displays data in different views, this segment of the action bar allows users to switch 73 action bar are moved automatically to the action overflow. Long-press on an icon to view the action… 80 Move less often used actions to the action overflow. 92 …You can adapt to such changes by using <em>split action bars</em>, which allow you to distribute a… 93 content across multiple bars located below the main action bar or at the bottom of the screen.</p> 97 Split action bar showing action buttons at the bottom of the screen in vertical orientation. [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/base/docs/html/guide/topics/ui/ |
D | actionbar.jd | 21 <li><a href="#Removing">Removing the action bar</a></li> 27 <li><a href="#ActionEvents">Handling clicks on action items</a></li> 28 <li><a href="#SplitBar">Using split action bar</a></li> 34 <li><a href="#ActionViewCollapsing">Handling collapsible action views</a></li> 40 <li><a href="#CreatingActionProvider">Creating a custom action provider</a></li> 65 <p>The action bar is a window feature that identifies the user location, and 66 provides user actions and navigation modes. Using the action bar offers your users a 71 <p class="img-caption"><strong>Figure 1.</strong> An action bar that includes the [1] app icon, 72 [2] two action items, and [3] action overflow.</p> 74 <p>The action bar provides several key functions:</p> [all …]
|
/frameworks/support/v4/jellybean/android/support/v4/view/ |
D | ViewCompatJB.java | 45 public static void postOnAnimation(View view, Runnable action) { in postOnAnimation() argument 46 view.postOnAnimation(action); in postOnAnimation() 49 public static void postOnAnimationDelayed(View view, Runnable action, long delayMillis) { in postOnAnimationDelayed() argument 50 view.postOnAnimationDelayed(action, delayMillis); in postOnAnimationDelayed() 61 public static boolean performAccessibilityAction(View view, int action, Bundle arguments) { in performAccessibilityAction() argument 62 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/docs/html/training/basics/actionbar/ |
D | adding-buttons.jd | 27 <p>The action bar allows you to add buttons for the most important action 29 context. Those that appear directly in the action bar with an icon and/or text are known 30 as <em>action buttons</em>. Actions that can't fit in the action bar or aren't 31 important enough are hidden in the action overflow.</p> 34 <p class="img-caption"><strong>Figure 1.</strong> An action bar with an action button 35 for Search and the action overflow, which reveals additional actions.</a> 40 <p>All action buttons and other items available in the action overflow are defined 43 actions to the action bar, create a new XML file in your project's 46 <p>Add an {@code <item>} element for each item you want to include in the action bar. 52 <!-- Search, should appear as action button --> [all …]
|
D | overlaying.jd | 30 <p>By default, the action bar appears at the top of your activity window, 32 If, during the course of user interaction, you want to hide and show the action bar, you can do so 40 <p class="img-caption"><strong>Figure 1.</strong> Gallery's action bar in overlay mode.</p> 43 <p>To avoid resizing your layout when the action bar hides and shows, you can enable <em>overlay 44 mode</em> for the action bar. When in overlay mode, your activity layout uses all the space 45 available as if the action bar is not there and the system draws the action bar in front of 46 your layout. This obscures some of the layout at the top, but now when the action bar hides or 50 If you want your layout to be partially visible behind the action bar, create a custom 51 style for the action bar with a partially transparent background, such as the one shown 52 in figure 1. For information about how to define the action bar background, read [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | DateView.java | 48 final String action = intent.getAction(); 49 if (Intent.ACTION_TIME_TICK.equals(action) 50 || Intent.ACTION_TIME_CHANGED.equals(action) 51 || Intent.ACTION_TIMEZONE_CHANGED.equals(action) 52 || Intent.ACTION_LOCALE_CHANGED.equals(action)) { 53 if (Intent.ACTION_LOCALE_CHANGED.equals(action) 54 || Intent.ACTION_TIMEZONE_CHANGED.equals(action)) {
|
/frameworks/support/v4/java/android/support/v4/widget/ |
D | ExploreByTouchHelper.java | 440 private boolean performAction(int virtualViewId, int action, Bundle arguments) { in performAction() argument 443 return performActionForHost(action, arguments); in performAction() 445 return performActionForChild(virtualViewId, action, arguments); in performAction() 449 private boolean performActionForHost(int action, Bundle arguments) { in performActionForHost() argument 450 return ViewCompat.performAccessibilityAction(mView, action, arguments); in performActionForHost() 453 private boolean performActionForChild(int virtualViewId, int action, Bundle arguments) { in performActionForChild() argument 454 switch (action) { in performActionForChild() 457 return manageFocusForChild(virtualViewId, action, arguments); in performActionForChild() 459 return onPerformActionForVirtualView(virtualViewId, action, arguments); in performActionForChild() 463 private boolean manageFocusForChild(int virtualViewId, int action, Bundle arguments) { in manageFocusForChild() argument [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/core/java/android/text/method/ |
D | LinkMovementMethod.java | 51 event.getRepeatCount() == 0 && action(CLICK, widget, buffer)) { in handleMovementKey() 62 if (action(UP, widget, buffer)) { in up() 71 if (action(DOWN, widget, buffer)) { in down() 80 if (action(UP, widget, buffer)) { in left() 89 if (action(DOWN, widget, buffer)) { in right() 96 private boolean action(int what, TextView widget, Spannable buffer) { in action() method in LinkMovementMethod 196 int action = event.getAction(); in onTouchEvent() local 198 if (action == MotionEvent.ACTION_UP || in onTouchEvent() 199 action == MotionEvent.ACTION_DOWN) { in onTouchEvent() 216 if (action == MotionEvent.ACTION_UP) { in onTouchEvent() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DcTesterFailBringUpAll.java | 56 String action = intent.getAction(); 57 if (DBG) log("sIntentReceiver.onReceive: action=" + action); 58 if (action.equals(mActionFailBringUp)) { 60 } else if (action.equals(mPhone.getActionDetached())) { 66 } else if (action.equals(mPhone.getActionAttached())) { 72 if (DBG) log("onReceive: unknown action=" + action);
|
D | DcTesterDeactivateAll.java | 50 String action = intent.getAction(); 51 if (DBG) log("sIntentReceiver.onReceive: action=" + action); 52 if (action.equals(sActionDcTesterDeactivateAll) 53 || action.equals(mPhone.getActionDetached())) { 63 if (DBG) log("onReceive: unknown action=" + action);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | PhoneStatusBarPolicy.java | 82 String action = intent.getAction(); 83 if (action.equals(Intent.ACTION_ALARM_CHANGED)) { 86 else if (action.equals(Intent.ACTION_SYNC_STATE_CHANGED)) { 89 else if (action.equals(BluetoothAdapter.ACTION_STATE_CHANGED) || 90 action.equals(BluetoothAdapter.ACTION_CONNECTION_STATE_CHANGED)) { 93 else if (action.equals(AudioManager.RINGER_MODE_CHANGED_ACTION)) { 96 else if (action.equals(TelephonyIntents.ACTION_SIM_STATE_CHANGED)) { 99 else if (action.equals(TtyIntent.TTY_ENABLED_CHANGE_ACTION)) { 219 String action = intent.getAction(); in updateBluetooth() local 220 if (action.equals(BluetoothAdapter.ACTION_STATE_CHANGED)) { in updateBluetooth() [all …]
|
/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/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/opt/telephony/src/java/com/android/internal/telephony/ |
D | TelephonyTester.java | 45 String action = intent.getAction(); 46 if (DBG) log("sIntentReceiver.onReceive: action=" + action); 47 if (action.equals(mPhone.getActionDetached())) { 50 } else if (action.equals(mPhone.getActionAttached())) { 54 if (DBG) log("onReceive: unknown action=" + action);
|
/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/support/v4/java/android/support/v4/view/ |
D | ViewCompat.java | 210 public void postOnAnimation(View view, Runnable action); in postOnAnimation() argument 211 public void postOnAnimationDelayed(View view, Runnable action, long delayMillis); in postOnAnimationDelayed() argument 214 public boolean performAccessibilityAction(View view, int action, Bundle arguments); in performAccessibilityAction() argument 272 public void postOnAnimation(View view, Runnable action) { in postOnAnimation() argument 273 view.postDelayed(action, getFrameTime()); in postOnAnimation() 275 public void postOnAnimationDelayed(View view, Runnable action, long delayMillis) { in postOnAnimationDelayed() argument 276 view.postDelayed(action, getFrameTime() + delayMillis); in postOnAnimationDelayed() 287 public boolean performAccessibilityAction(View view, int action, Bundle arguments) { in performAccessibilityAction() argument 472 public void postOnAnimation(View view, Runnable action) { in postOnAnimation() argument 473 ViewCompatJB.postOnAnimation(view, action); in postOnAnimation() [all …]
|
/frameworks/base/services/input/tests/ |
D | InputReader_test.cpp | 1534 ASSERT_EQ(AKEY_EVENT_ACTION_DOWN, args.action); in testDPadKeyRotation() 1540 ASSERT_EQ(AKEY_EVENT_ACTION_UP, args.action); in testDPadKeyRotation() 1572 ASSERT_EQ(AKEY_EVENT_ACTION_DOWN, args.action); in TEST_F() 1587 ASSERT_EQ(AKEY_EVENT_ACTION_UP, args.action); in TEST_F() 1604 ASSERT_EQ(AKEY_EVENT_ACTION_DOWN, args.action); in TEST_F() 1621 ASSERT_EQ(AKEY_EVENT_ACTION_UP, args.action); in TEST_F() 1638 ASSERT_EQ(AKEY_EVENT_ACTION_DOWN, args.action); in TEST_F() 1655 ASSERT_EQ(AKEY_EVENT_ACTION_UP, args.action); in TEST_F() 1798 ASSERT_EQ(AKEY_EVENT_ACTION_DOWN, args.action); in TEST_F() 1807 ASSERT_EQ(AKEY_EVENT_ACTION_UP, args.action); in TEST_F() [all …]
|
/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/services/java/com/android/server/ |
D | IdleMaintenanceService.java | 286 String action = intent.getAction(); in onReceive() local 287 if (Intent.ACTION_BATTERY_CHANGED.equals(action)) { in onReceive() 297 } else if (Intent.ACTION_SCREEN_ON.equals(action) in onReceive() 298 || Intent.ACTION_DREAMING_STOPPED.equals(action)) { in onReceive() 306 } else if (Intent.ACTION_SCREEN_OFF.equals(action) in onReceive() 307 || Intent.ACTION_DREAMING_STARTED.equals(action)) { in onReceive() 313 } else if (ACTION_UPDATE_IDLE_MAINTENANCE_STATE.equals(action)) { in onReceive() 315 } else if (ACTION_FORCE_IDLE_MAINTENANCE.equals(action)) { in onReceive() 320 } else if (Intent.ACTION_IDLE_MAINTENANCE_START.equals(action) in onReceive() 321 || Intent.ACTION_IDLE_MAINTENANCE_END.equals(action)) { in onReceive()
|
/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"/>
|