Searched defs:states (Results 1 - 20 of 20) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/
H A DStateAdapter.java84 public boolean same(Vector<State> states) { argument
86 if (states.size() + 1 != getCount()) {
91 if (!state.equals(states.elementAt(i-1))) {
98 public void fill(Vector<State> states) { argument
99 if (same(states)) {
104 addAll(states);
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
H A DA2dpSinkService.java136 List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
138 return mStateMachine.getDevicesMatchingConnectionStates(states);
195 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
198 return service.getDevicesMatchingConnectionStates(states);
H A DA2dpService.java170 List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
172 return mStateMachine.getDevicesMatchingConnectionStates(states);
267 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
270 return service.getDevicesMatchingConnectionStates(states);
H A DA2dpStateMachine.java88 // Stable states
93 // Interim states
691 synchronized List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
702 for(int i = 0; i < states.length; i++) {
703 if (connectionState == states[i]) {
H A DA2dpSinkStateMachine.java91 // Stable states
96 // Interim states
659 synchronized List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
670 for(int i = 0; i < states.length; i++) {
671 if (connectionState == states[i]) {
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
H A DAvrcpControllerService.java139 List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
141 for (int i = 0; i < states.length; i++) {
142 if (states[i] == BluetoothProfile.STATE_CONNECTED) {
199 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
202 return service.getDevicesMatchingConnectionStates(states);
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
H A DHeadsetClientService.java175 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
180 return service.getDevicesMatchingConnectionStates(states);
475 private List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
477 return mStateMachine.getDevicesMatchingConnectionStates(states);
H A DHeadsetClientStateMachine.java226 private void removeCalls(int... states) { argument
227 Log.d(TAG, "removeFromCalls states:" + Arrays.toString(states));
235 for (int s : states) {
255 private BluetoothHeadsetClientCall getCall(int... states) { argument
256 Log.d(TAG, "getFromCallsWithStates states:" + Arrays.toString(states));
258 for (int s : states) {
2361 List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
2372 for (int state : states) {
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
H A DHeadsetService.java162 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
165 return service.getDevicesMatchingConnectionStates(states);
367 private List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
369 return mStateMachine.getDevicesMatchingConnectionStates(states);
H A DHeadsetStateMachine.java172 // Stable states
177 // Interim states
1112 // TODO(BT) process other states
2303 List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
2314 for(int i = 0; i < states.length; i++) {
2315 if (connectionState == states[i]) {
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/
H A DPanService.java251 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
254 return service.getDevicesMatchingConnectionStates(states);
321 List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
327 for (int state : states) {
/packages/apps/Launcher3/src/com/android/launcher3/
H A DWorkspaceStateTransitionAnimation.java125 * Stores the transition states for convenience.
129 // Raw states
171 * Manages the animations between each of the workspace states.
225 TransitionStates states = new TransitionStates(fromState, toState);
226 int duration = getAnimationDuration(states);
227 animateWorkspace(states, toPage, animated, duration, layerViews,
229 animateSearchBar(states, animated, duration, hasOverlaySearchBar, layerViews,
231 animateBackgroundGradient(states, animated, BACKGROUND_FADE_OUT_DURATION);
255 private int getAnimationDuration(TransitionStates states) { argument
256 if (states
268 animateWorkspace(final TransitionStates states, int toPage, final boolean animated, final int duration, final HashMap<View, Integer> layerViews, final boolean accessibilityEnabled) argument
482 animateSearchBar(TransitionStates states, boolean animated, int duration, boolean hasOverlaySearchBar, final HashMap<View, Integer> layerViews, final boolean accessibilityEnabled) argument
548 animateBackgroundGradient(TransitionStates states, boolean animated, int duration) argument
[all...]
H A DCellLayout.java562 public void restoreInstanceState(SparseArray<Parcelable> states) { argument
564 dispatchRestoreInstanceState(states);
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/
H A DHidService.java341 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
344 return service.getDevicesMatchingConnectionStates(states);
428 List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
434 for (int state : states) {
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapService.java490 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
501 for(int i = 0; i < states.length; i++) {
502 if (connectionState == states[i]) {
1124 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
1128 return service.getDevicesMatchingConnectionStates(states);
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/
H A DSapService.java518 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
529 for(int i = 0; i < states.length; i++) {
530 if (connectionState == states[i]) {
835 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
839 return service.getDevicesMatchingConnectionStates(states);
/packages/apps/Bluetooth/src/com/android/bluetooth/hdp/
H A DHealthService.java396 public List<BluetoothDevice> getHealthDevicesMatchingConnectionStates(int[] states) { argument
399 return service.getHealthDevicesMatchingConnectionStates(states);
481 List<BluetoothDevice> getHealthDevicesMatchingConnectionStates(int[] states) { argument
483 List<BluetoothDevice> devices = lookupHealthDevicesMatchingStates(states);
755 private List<HealthChannel> findChannelByStates(BluetoothDevice device, int[] states) { argument
759 for (int state : states) {
776 List<BluetoothDevice> lookupHealthDevicesMatchingStates(int[] states) { argument
781 for (int state : states) {
/packages/services/Telecomm/src/com/android/server/telecom/
H A DCallsManager.java754 // figure out the right states.
1095 // We do not check states for canAddCall. We treat disconnected calls the same
1138 Call getFirstCallWithState(int... states) { argument
1139 return getFirstCallWithState(null, states);
1143 * Returns the first call that it finds with the given states. The states are treated as having
1145 * states listed later in the parameter list.
1149 Call getFirstCallWithState(Call callToSkip, int... states) { argument
1150 for (int currentState : states) {
1437 private int getNumCallsWithState(int... states) { argument
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
H A DGattService.java293 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
296 return service.getDevicesMatchingConnectionStates(states);
1328 List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
1363 for(int state : states) {
/packages/apps/Launcher2/src/com/android/launcher2/
H A DCellLayout.java583 public void restoreInstanceState(SparseArray<Parcelable> states) { argument
584 dispatchRestoreInstanceState(states);

Completed in 448 milliseconds