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

/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
H A DMetaKeyKeyListener.java67 * // Use the combined meta states from the event and the key listener.
110 // so as not to conflict with any meta key states publicly defined by KeyEvent.
358 public void clearMetaKeyState(View view, Editable content, int states) { argument
359 clearMetaKeyState(content, states);
362 public static void clearMetaKeyState(Editable content, int states) { argument
363 if ((states&META_SHIFT_ON) != 0) content.removeSpan(CAP);
364 if ((states&META_ALT_ON) != 0) content.removeSpan(ALT);
365 if ((states&META_SYM_ON) != 0) content.removeSpan(SYM);
366 if ((states&META_SELECTING) != 0) content.removeSpan(SELECTING);
/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/base/core/java/android/bluetooth/
H A DBluetoothA2dp.java289 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
293 return mService.getDevicesMatchingConnectionStates(states);
H A DBluetoothProfile.java130 * states.
132 * <p> If none of the devices match any of the given states,
137 * @param states Array of states. States can be one of
142 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states); argument
H A DBluetoothInputDevice.java364 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
368 return mService.getDevicesMatchingConnectionStates(states);
H A DBluetoothPan.java286 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
290 return mPanService.getDevicesMatchingConnectionStates(states);
H A DBluetoothHeadset.java407 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
411 return mService.getDevicesMatchingConnectionStates(states);
H A DBluetoothHealth.java395 * states.
397 * <p> If none of the devices match any of the given states,
406 * @param states Array of states. States can be one of
412 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { argument
415 return mService.getHealthDevicesMatchingConnectionStates(states);
/frameworks/base/core/java/android/content/res/
H A DColorStateList.java53 * states that a view must either be in or not be in and the color specifies the color associated
55 * An item with no state spec is considered to match any set of states and is generally useful as
76 * states to colors.
78 public ColorStateList(int[][] states, int[] colors) { argument
79 mStateSpecs = states;
82 if (states.length > 0) {
85 for (int i = 0; i < states.length; i++) {
86 if (states[i].length == 0) {
155 * Creates a new ColorStateList that has the same states and
264 * 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.java99 public boolean clearMetaKeyStates(int states) { argument
105 kl.clearMetaKeyState(mTextView, content, states);
/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.java54 private static final String[] states = {"SEND", "READ", "DRAIN", "DONE"}; field in class:Connection
171 states[state] + " pipe " + pipe.size());
/frameworks/base/core/java/android/view/inputmethod/
H A DInputConnection.java328 * Clear the given meta key pressed states in the given input connection.
330 * @param states The states to be cleared, may be one or more bits as
336 public boolean clearMetaKeyStates(int states); argument
H A DInputConnectionWrapper.java117 public boolean clearMetaKeyStates(int states) { argument
118 return mTarget.clearMetaKeyStates(states);
H A DBaseInputConnection.java168 public boolean clearMetaKeyStates(int states) { argument
171 MetaKeyKeyListener.clearMetaKeyState(content, states);
/frameworks/native/libs/utils/
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();
/frameworks/base/core/java/com/android/internal/view/
H A DInputConnectionWrapper.java381 public boolean clearMetaKeyStates(int states) { argument
383 mIInputContext.clearMetaKeyStates(states);
H A DIInputConnectionWrapper.java153 public void clearMetaKeyStates(int states) { argument
154 dispatchMessage(obtainMessageII(DO_CLEAR_META_KEY_STATES, states, 0));
/frameworks/base/core/java/com/android/internal/view/menu/
H A DMenuBuilder.java345 public void restoreActionViewStates(Bundle states) { argument
346 if (states == null) {
350 SparseArray<Parcelable> viewStates = states.getSparseParcelableArray(
362 subMenu.restoreActionViewStates(states);
366 final int expandedId = states.getInt(EXPANDED_ACTION_VIEW_ID);
/frameworks/base/core/java/android/os/
H A DBatteryStats.java451 // These states always appear directly in the first int token
476 public int states; field in class:BatteryStats.HistoryItem
501 dest.writeInt(states);
514 states = src.readInt();
552 | (states&DELTA_STATE_MASK);
591 + " states=0x" + Integer.toHexString(states));
605 | (states&(~DELTA_STATE_MASK));
645 states = (firstToken&DELTA_STATE_MASK) | (stateInt&(~DELTA_STATE_MASK));
654 + " states
[all...]

Completed in 403 milliseconds