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

/frameworks/base/core/java/android/text/method/
H A DKeyListener.java76 * Remove the given shift states from the edited text.
78 public void clearMetaKeyState(View view, Editable content, int states); argument
H A DTextKeyListener.java219 public void clearMetaKeyState(View view, Editable content, int states) { argument
H A DMetaKeyKeyListener.java293 public void clearMetaKeyState(View view, Editable content, int states) { argument
294 clearMetaKeyState(content, states);
297 public static void clearMetaKeyState(Editable content, int states) { argument
298 if ((states&META_SHIFT_ON) != 0) content.removeSpan(CAP);
299 if ((states&META_ALT_ON) != 0) content.removeSpan(ALT);
300 if ((states&META_SYM_ON) != 0) content.removeSpan(SYM);
301 if ((states&META_SELECTING) != 0) content.removeSpan(SELECTING);
/frameworks/base/core/java/android/util/
H A DStateSet.java25 * one or more of those states.
55 * prohibited (if negative) {@link android.view.View} states.
56 * @param stateSet an array of {@link android.view.View} states
74 // We use negative values to indicate must-NOT-match states.
82 // We've reached the end of states to match.
87 // Continue checking other must-not-match states.
94 // Continue checking other other must-match states.
103 // We've reached the end of states to match and we didn't
115 * prohibited (if negative) {@link android.view.View} states.
131 // We use negative values to indicate must-NOT-match states
141 trimStateSet(int[] states, int newSize) argument
151 dump(int[] states) argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DEditableInputConnection.java58 public boolean clearMetaKeyStates(int states) { argument
64 kl.clearMetaKeyState(mTextView, content, states);
/frameworks/base/core/java/android/content/res/
H A DColorStateList.java54 * states that a view must either be in or not be in and the color specifies the color associated
56 * An item with no state spec is considered to match any set of states and is generally useful as
74 * states to colors.
76 public ColorStateList(int[][] states, int[] colors) { argument
77 mStateSpecs = states;
80 if (states.length > 0) {
83 for (int i = 0; i < states.length; i++) {
84 if (states[i].length == 0) {
153 * Creates a new ColorStateList that has the same states and
262 * Return the color associated with the given set of {@link android.view.View} states
[all...]
/frameworks/base/libs/ui/
H A DISurfaceFlingerClient.cpp105 virtual status_t setState(int32_t count, const layer_state_t* states) argument
111 states[i].write(data);
175 layer_state_t* states = new layer_state_t[count]; local
177 states[i].read(data);
178 status_t err = setState(count, states);
179 delete [] states;
/frameworks/base/core/java/android/net/http/
H A DConnection.java54 private static final String[] states = {"SEND", "READ", "DRAIN", "DONE"}; field in class:Connection
177 states[state] + " pipe " + pipe.size());
/frameworks/base/core/java/android/view/inputmethod/
H A DBaseInputConnection.java153 public boolean clearMetaKeyStates(int states) { argument
156 MetaKeyKeyListener.clearMetaKeyState(content, states);
H A DInputConnection.java284 * Clear the given meta key pressed states in the given input connection.
286 * @param states The states to be cleared, may be one or more bits as
292 public boolean clearMetaKeyStates(int states); argument
H A DInputConnectionWrapper.java106 public boolean clearMetaKeyStates(int states) { argument
107 return mTarget.clearMetaKeyStates(states);
/frameworks/base/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/android/server/
H A DBluetoothA2dpService.java479 private synchronized Set<BluetoothDevice> lookupSinksMatchingStates(int[] states) { argument
486 for (int state : states) {
/frameworks/base/core/java/com/android/internal/view/
H A DInputConnectionWrapper.java316 public boolean clearMetaKeyStates(int states) { argument
318 mIInputContext.clearMetaKeyStates(states);
H A DIInputConnectionWrapper.java121 public void clearMetaKeyStates(int states) { argument
122 dispatchMessage(obtainMessageII(DO_CLEAR_META_KEY_STATES, states, 0));
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
H A DGsmDataConnectionTracker.java638 pdpStatesHasCID (ArrayList<DataCallState> states, int cid) { argument
639 for (int i = 0, s = states.size() ; i < s ; i++) {
640 if (states.get(i).cid == cid) return true;
647 pdpStatesHasActiveCID (ArrayList<DataCallState> states, int cid) { argument
648 for (int i = 0, s = states.size() ; i < s ; i++) {
649 if ((states.get(i).cid == cid) && (states.get(i).active != 0)) {
/frameworks/base/libs/surfaceflinger/
H A DSurfaceFlinger.cpp1374 const layer_state_t* states)
1380 const layer_state_t& s = states[i];
1778 status_t BClient::setState(int32_t count, const layer_state_t* states) argument
1780 return mFlinger->setClientState(mId, count, states);

Completed in 176 milliseconds