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

12

/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 DA2dpService.java218 List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
220 return mStateMachine.getDevicesMatchingConnectionStates(states);
382 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
385 return service.getDevicesMatchingConnectionStates(states);
H A DA2dpStateMachine.java92 // Stable states
97 // Interim states
886 synchronized List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
897 for(int i = 0; i < states.length; i++) {
898 if (connectionState == states[i]) {
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/
H A DA2dpSinkService.java159 List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
161 return mStateMachine.getDevicesMatchingConnectionStates(states);
286 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
289 return service.getDevicesMatchingConnectionStates(states);
H A DA2dpSinkStateMachine.java80 // Connection states.
104 // Stable states
109 // Interim states
725 synchronized List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
736 for(int i = 0; i < states.length; i++) {
737 if (connectionState == states[i]) {
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/
H A DMapClientService.java97 public synchronized List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
98 Log.d(TAG, "getDevicesMatchingConnectionStates" + Arrays.toString(states));
105 for (int i = 0; i < states.length; i++) {
106 if (connectionState == states[i]) {
263 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
267 return service.getDevicesMatchingConnectionStates(states);
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
H A DPbapClientService.java208 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
213 return service.getDevicesMatchingConnectionStates(states);
327 private List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
333 for (int state : states) {
H A DPbapClientStateMachine.java370 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
378 for (int state : states) {
/packages/apps/TV/src/com/android/tv/dvr/
H A DBaseDvrDataManager.java301 * Returns the schedules whose state is contained by states.
303 protected abstract List<ScheduledRecording> getRecordingsWithState(int... states); argument
H A DDvrDataManagerImpl.java436 protected List<ScheduledRecording> getRecordingsWithState(@RecordingState int... states) { argument
439 for (int state : states) {
/packages/apps/TV/tests/unit/src/com/android/tv/dvr/
H A DDvrDataManagerInMemoryImpl.java295 protected List<ScheduledRecording> getRecordingsWithState(int... states) { argument
298 for (int state : states) {
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
H A DHeadsetService.java160 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
163 return service.getDevicesMatchingConnectionStates(states);
383 private List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
385 return mStateMachine.getDevicesMatchingConnectionStates(states);
H A DHeadsetStateMachine.java177 // Stable states
182 // Interim states
1094 // TODO(BT) process other states
2252 List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
2263 for (int i = 0; i < states.length; i++) {
2264 if (connectionState == states[i]) {
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
H A DHeadsetClientService.java239 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
244 return service.getDevicesMatchingConnectionStates(states);
532 private synchronized List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
536 for (int state : states) {
H A DHeadsetClientStateMachine.java161 // Accessor for the states, useful for reusing the state machines
211 private BluetoothHeadsetClientCall getCall(int... states) { argument
213 Log.d(TAG, "getFromCallsWithStates states:" + Arrays.toString(states));
216 for (int s : states) {
1695 List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
1706 for (int state : states) {
/packages/apps/Launcher3/src/com/android/launcher3/
H A DWorkspaceStateTransitionAnimation.java134 * Stores the transition states for convenience.
138 // Raw states
180 * Manages the animations between each of the workspace states.
233 TransitionStates states = new TransitionStates(fromState, toState);
234 int workspaceDuration = getAnimationDuration(states);
235 animateWorkspace(states, animated, workspaceDuration, layerViews,
237 animateBackgroundGradient(states, animated, BACKGROUND_FADE_OUT_DURATION);
248 private int getAnimationDuration(TransitionStates states) { argument
249 if (states.workspaceToAllApps || states
264 animateWorkspace(final TransitionStates states, final boolean animated, final int duration, AnimationLayerSet layerViews, final boolean accessibilityEnabled) argument
463 animateBackgroundGradient(TransitionStates states, boolean animated, int duration) argument
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/
H A DHidDevService.java388 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
390 Log.v(TAG, "getDevicesMatchingConnectionStates(): states=" + Arrays.toString(states));
397 return service.getDevicesMatchingConnectionStates(states);
542 List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
547 for (int state : states) {
H A DHidService.java343 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
346 return service.getDevicesMatchingConnectionStates(states);
430 List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
436 for (int state : states) {
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/
H A DPanService.java279 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
282 return service.getDevicesMatchingConnectionStates(states);
371 List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
377 for (int state : states) {
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/
H A DSapService.java512 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
523 for(int i = 0; i < states.length; i++) {
524 if (connectionState == states[i]) {
844 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
848 return service.getDevicesMatchingConnectionStates(states);
/packages/apps/Bluetooth/src/com/android/bluetooth/hdp/
H A DHealthService.java393 public List<BluetoothDevice> getHealthDevicesMatchingConnectionStates(int[] states) { argument
396 return service.getHealthDevicesMatchingConnectionStates(states);
484 List<BluetoothDevice> getHealthDevicesMatchingConnectionStates(int[] states) { argument
486 List<BluetoothDevice> devices = lookupHealthDevicesMatchingStates(states);
757 private List<HealthChannel> findChannelByStates(BluetoothDevice device, int[] states) { argument
761 for (int state : states) {
778 List<BluetoothDevice> lookupHealthDevicesMatchingStates(int[] states) { argument
783 for (int state : states) {
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapService.java530 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
541 for(int i = 0; i < states.length; i++) {
542 if (connectionState == states[i]) {
1208 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
1212 return service.getDevicesMatchingConnectionStates(states);
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
H A DAvrcpControllerService.java290 public synchronized List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
293 for (int i = 0; i < states.length; i++) {
294 if (states[i] == BluetoothProfile.STATE_CONNECTED && mConnectedDevice != null) {
677 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
682 return service.getDevicesMatchingConnectionStates(states);
/packages/services/Telecomm/src/com/android/server/telecom/
H A DCallsManager.java163 * These states are used by {@link #makeRoomForOutgoingCall(Call, boolean)} to determine which
171 * These states determine which calls will cause {@link TelecomManager#isInCall()} or
174 * See also {@link PhoneStateBroadcaster}, which considers a similar set of states as being
1267 // figure out the right states.
1838 // We do not check states for canAddCall. We treat disconnected calls the same
1886 public Call getFirstCallWithState(int... states) { argument
1887 return getFirstCallWithState(null, states);
1896 * Returns the first call that it finds with the given states. The states are treated as having
1898 * states liste
1902 getFirstCallWithState(Call callToSkip, int... states) argument
2191 getNumCallsWithState(final boolean isSelfManaged, Call excludeCall, PhoneAccountHandle phoneAccountHandle, int... states) argument
2210 getNumCallsWithState(final int callFilter, Call excludeCall, PhoneAccountHandle phoneAccountHandle, int... states) argument
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
H A DGattService.java352 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
355 return service.getDevicesMatchingConnectionStates(states);
1506 List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
1541 for(int state : states) {

Completed in 361 milliseconds

12