Searched defs:behavior (Results 1 - 4 of 4) sorted by relevance

/frameworks/av/media/libeffects/testlibs/
H A DAudioFormatAdapter.h29 // buffer override behavior to arbitrary sample formats and buffer behaviors.
36 // overwrite behavior.
58 // behavior The desired behavior (overwrite or accumulate).
60 uint32_t behavior) {
64 mBehavior = behavior;
113 // The desired buffer behavior.
142 // output buffer, converting to the desired format and buffer behavior.
59 configure(T & processor, int nChannels, uint8_t pcmFormat, uint32_t behavior) argument
/frameworks/base/media/java/android/media/audiopolicy/
H A DAudioPolicy.java73 * The behavior of a policy with regards to audio focus where it relies on the application
74 * to do the ducking, the is the legacy and default behavior.
80 * The behavior of a policy with regards to audio focus where it handles ducking instead
259 * Returns the current behavior for audio focus-related ducking.
270 * Sets the behavior for audio focus-related ducking.
272 * @param behavior {@link #FOCUS_POLICY_DUCKING_IN_APP} or
280 public int setFocusDuckingBehavior(int behavior) argument
282 if ((behavior != FOCUS_POLICY_DUCKING_IN_APP)
283 && (behavior != FOCUS_POLICY_DUCKING_IN_POLICY)) {
284 throw new IllegalArgumentException("Invalid ducking behavior "
[all...]
/frameworks/native/libs/input/
H A DKeyCharacterMap.cpp234 const Behavior* behavior; local
235 if (getKeyBehavior(keyCode, metaState, &key, &behavior)) {
236 result = behavior->character;
251 const Behavior* behavior; local
252 if (getKeyBehavior(keyCode, metaState, &key, &behavior)) {
253 if (behavior->fallbackKeyCode) {
254 outFallbackAction->keyCode = behavior->fallbackKeyCode;
255 outFallbackAction->metaState = metaState & ~behavior->metaState;
273 // Try to find the most general behavior that maps to this character.
274 // For example, the base key behavior wil
375 const Behavior* behavior = key->firstBehavior; local
591 Behavior* behavior = new Behavior(); local
646 Behavior* behavior = firstBehavior; local
923 Behavior behavior; local
[all...]
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DPhoneWindowManager.java978 private void powerMultiPressAction(long eventTime, boolean interactive, int behavior) { argument
979 switch (behavior) {
1022 final int behavior = getResolvedLongPressOnPowerBehavior();
1023 switch (behavior) {
1038 mWindowManagerFuncs.shutdown(behavior == LONG_PRESS_POWER_SHUT_OFF);
1762 // The status bar is the only window allowed to exhibit keyguard behavior.
2758 // Reserve all the META modifier combos for system behavior
4597 // behavior in the InCallScreen.
5332 // This case can override the behavior of NOSENSOR, and can also
5341 // This case can override the behavior o
[all...]

Completed in 339 milliseconds