Searched defs:behavior (Results 1 - 8 of 8) 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.java74 * The behavior of a policy with regards to audio focus where it relies on the application
75 * to do the ducking, the is the legacy and default behavior.
81 * The behavior of a policy with regards to audio focus where it handles ducking instead
298 * Returns the current behavior for audio focus-related ducking.
309 * Sets the behavior for audio focus-related ducking.
311 * @param behavior {@link #FOCUS_POLICY_DUCKING_IN_APP} or
319 public int setFocusDuckingBehavior(int behavior) argument
321 if ((behavior != FOCUS_POLICY_DUCKING_IN_APP)
322 && (behavior != FOCUS_POLICY_DUCKING_IN_POLICY)) {
323 throw new IllegalArgumentException("Invalid ducking behavior "
[all...]
/frameworks/support/design/tests/src/android/support/design/widget/
H A DBottomSheetBehaviorTest.java72 public Callback(BottomSheetBehavior behavior) { argument
73 behavior.setBottomSheetCallback(this);
74 int state = behavior.getState();
277 BottomSheetBehavior behavior = getBehavior();
278 assertThat(behavior.getState(), is(BottomSheetBehavior.STATE_COLLAPSED));
282 is(coordinatorLayout.getHeight() - behavior.getPeekHeight()));
330 BottomSheetBehavior behavior = getBehavior();
335 view.getHeight() - behavior.getPeekHeight()};
390 BottomSheetBehavior behavior = getBehavior();
395 view.getHeight() - behavior
[all...]
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DBaseWrapContentWithAspectRatioTest.java55 public void setBehavior(MeasureBehavior behavior) { argument
56 mBehavior = behavior;
/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
368 const Behavior* behavior; local
417 const Behavior* behavior = key->firstBehavior; local
638 Behavior* behavior = new Behavior(); local
695 Behavior* behavior = firstBehavior; local
973 Behavior behavior; local
[all...]
/frameworks/support/design/src/android/support/design/widget/
H A DCoordinatorLayout.java91 * views can also interact with one another. View classes can specify a default behavior when
478 // when the behavior first started blocking things below this point.
593 // Assume stock behavior in this package (if we have one)
633 Log.e(TAG, "Default behavior class " + defaultBehavior.value().getName() +
817 // If the view has a behavior, let it try first
867 final Behavior behavior = lp.getBehavior();
869 if (behavior == null || !behavior.onLayoutChild(this, child, layoutDirection)) {
1242 * The offsetting behavior implemented here does not store the computed offset in
1311 // Update any behavior
2819 setBehavior(@ullable Behavior behavior) argument
[all...]
/frameworks/base/services/core/java/com/android/server/policy/
H A DPhoneWindowManager.java298 // Number of presses needed before we induce panic press behavior on the back button
1461 private void powerMultiPressAction(long eventTime, boolean interactive, int behavior) { argument
1462 switch (behavior) {
1510 final int behavior = getResolvedLongPressOnPowerBehavior();
1511 switch (behavior) {
1524 mWindowManagerFuncs.shutdown(behavior == LONG_PRESS_POWER_SHUT_OFF);
1781 Log.w(TAG, "Undefined home long press behavior: " + mLongPressOnHomeBehavior);
2600 // The status bar is the only window allowed to exhibit keyguard behavior.
3806 // Reserve all the META modifier combos for system behavior
6000 // behavior i
[all...]
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 246 milliseconds