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

12

/frameworks/base/core/java/android/text/method/
H A DKeyListener.java82 * Remove the given shift states from the edited text.
84 public void clearMetaKeyState(View view, Editable content, int states); argument
H A DTextKeyListener.java231 public void clearMetaKeyState(View view, Editable content, int states) { argument
/frameworks/base/core/java/android/util/
H A DStateSet.java25 * one or more of those states.
57 * prohibited (if negative) {@link android.view.View} states.
58 * @param stateSet an array of {@link android.view.View} states
76 // We use negative values to indicate must-NOT-match states.
84 // We've reached the end of states to match.
89 // Continue checking other must-not-match states.
96 // Continue checking other other must-match states.
105 // We've reached the end of states to match and we didn't
117 * prohibited (if negative) {@link android.view.View} states.
133 // We use negative values to indicate must-NOT-match states
143 trimStateSet(int[] states, int newSize) argument
153 dump(int[] states) argument
[all...]
/frameworks/opt/colorpicker/src/com/android/colorpicker/
H A DColorStateDrawable.java40 protected boolean onStateChange(int[] states) { argument
42 for (int state : states) {
55 return super.onStateChange(states);
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothManager.java145 * states.
147 * <p> If none of the devices match any of the given states,
158 * @param states Array of states. States can be one of
164 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int profile, int[] states) { argument
177 devices = iGatt.getDevicesMatchingConnectionStates(states);
H A DBluetoothA2dpSink.java315 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
319 return mService.getDevicesMatchingConnectionStates(states);
H A DBluetoothAvrcpController.java180 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
184 return mService.getDevicesMatchingConnectionStates(states);
H A DBluetoothProfile.java164 * states.
166 * <p> If none of the devices match any of the given states,
171 * @param states Array of states. States can be one of
176 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states); argument
H A DBluetoothA2dp.java302 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
306 return mService.getDevicesMatchingConnectionStates(states);
H A DBluetoothGattServer.java726 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
H A DBluetoothMap.java278 * Get the list of devices matching specified states. Currently at most one.
282 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
286 return mService.getDevicesMatchingConnectionStates(states);
H A DBluetoothPan.java302 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
306 return mPanService.getDevicesMatchingConnectionStates(states);
H A DBluetoothGatt.java1318 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
H A DBluetoothHeadset.java417 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
421 return mService.getDevicesMatchingConnectionStates(states);
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
H A DCameraStateHolder.java117 * @param states Expected states.
121 public boolean waitForStates(final int states) { argument
122 Log.v(TAG, "waitForStates - states = " + Integer.toBinaryString(states));
126 return (states | getState()) == states;
135 * @param states States to avoid.
139 public boolean waitToAvoidStates(final int states) { argument
140 Log.v(TAG, "waitToAvoidStates - states
[all...]
/frameworks/ex/camera2/public/src/com/android/ex/camera2/utils/
H A DStateWaiter.java34 * requested type arrives. Unobserved states are states that have occurred since
60 * <p>All {@code state}/{@code states} arguments used in other methods must be
63 * @param stateNames an array of string names, used to mark the range of the valid states
104 * Wait until the one of the desired {@code states} is observed, checking all
107 * <p>Any intermediate state transitions that are not in {@code states} are ignored.</p>
111 * @param states Set of desired states to observe a transition to.
117 * @throws TimeoutRuntimeException if none of the states is observed before timeout.
120 public int waitForAnyOfStates(Collection<Integer> states, fina argument
180 appendStateNames(StringBuilder s, Collection<Integer> states) argument
212 checkStateCollectionInRange(Collection<Integer> states) argument
[all...]
/frameworks/base/core/java/android/content/res/
H A DColorStateList.java57 * states that a view must either be in or not be in and the color specifies the color associated
59 * An item with no state spec is considered to match any set of states and is generally useful as
79 * states to colors.
81 public ColorStateList(int[][] states, int[] colors) { argument
82 mStateSpecs = states;
85 if (states.length > 0) {
88 for (int i = 0; i < states.length; i++) {
89 if (states[i].length == 0) {
157 * Creates a new ColorStateList that has the same states and
288 * Return the color associated with the given set of {@link android.view.View} states
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DEditableInputConnection.java100 public boolean clearMetaKeyStates(int states) { argument
106 kl.clearMetaKeyState(mTextView, content, states);
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/
H A DBlockingStateCallback.java35 * requested type arrives. Unobserved states are states that have occurred since
98 * Total number of reachable states
152 * Wait until the one of the desired states is observed, checking all
157 * @param states Set of desired states to observe a transition to.
161 * @throws TimeoutRuntimeException if none of the states is observed before timeout.
164 public int waitForAnyOfStates(Collection<Integer> states, final long timeout) { argument
171 appendStates(s, states);
184 if (states
219 appendStates(StringBuilder s, Collection<Integer> states) argument
[all...]
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dblock_switch.c34 IIRFilter(const Word16 in, const Word32 coeff[], Word32 states[]);
339 static Word16 IIRFilter(const Word16 in, const Word32 coeff[], Word32 states[]) argument
345 accu3 = accu1 - states[0];
346 accu2 = fixmul( coeff[0], states[1] );
349 states[0] = accu1;
350 states[1] = out;
/frameworks/base/core/java/android/net/http/
H A DConnection.java53 private static final String[] states = {"SEND", "READ", "DRAIN", "DONE"}; field in class:Connection
170 states[state] + " pipe " + pipe.size());
/frameworks/base/core/java/android/view/inputmethod/
H A DInputConnection.java682 * Clear the given meta key pressed states in the given input
685 * <p>This can be used by the IME to clear the meta key states set
689 * @param states The states to be cleared, may be one or more bits as
694 public boolean clearMetaKeyStates(int states); argument
H A DInputConnectionWrapper.java117 public boolean clearMetaKeyStates(int states) { argument
118 return mTarget.clearMetaKeyStates(states);
/frameworks/base/services/core/java/com/android/server/media/
H A DMediaSessionStack.java33 * These are states that usually indicate the user took an action and should
42 * These are states that usually indicate the user took an action if they
54 // The last record that either entered one of the playing states or was
348 private boolean containsState(int state, int[] states) { argument
349 for (int i = 0; i < states.length; i++) {
350 if (states[i] == state) {
/frameworks/native/libs/binder/
H A DBufferedTextOutput.cpp84 Vector<sp<BufferedTextOutput::BufferState> > states; member in struct:android::BufferedTextOutput::ThreadState
266 while (ts->states.size() <= (size_t)mIndex) ts->states.add(NULL);
267 BufferState* bs = ts->states[mIndex].get();
270 ts->states.editItemAt(mIndex) = new BufferState(mIndex);
271 bs = ts->states[mIndex].get();

Completed in 1286 milliseconds

12