/frameworks/base/core/java/android/content/res/ |
ColorStateList.java | 53 * 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) { 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/graphics/java/android/graphics/drawable/ |
StateListDrawable.java | 101 if (DEBUG) android.util.Log.i(TAG, "onStateChange " + this + " states " 157 int[] states = new int[numAttrs]; local 164 states[j++] = attrs.getAttributeBooleanValue(i, false) 169 states = StateSet.trimStateSet(states, j); 186 mStateListState.addStateSet(states, dr); 197 * Gets the number of states contained in this drawable. 199 * @return The number of states contained in this drawable.
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
SearchWidgetProvider.java | 78 SearchWidgetState[] states = new SearchWidgetState[appWidgetIds.length]; local 80 states[i] = getSearchWidgetState(context, appWidgetIds[i]); 82 return states; 91 SearchWidgetState[] states = getSearchWidgetStates(context); local 93 for (SearchWidgetState state : states) {
|
/external/icu4c/tools/makeconv/ |
genmbcs.c | 38 /* toUnicode (state table in ucm->states) */ 197 sum=mbcsData->ucm->states.countToUCodeUnits; 215 maxCharLength=mbcsData->ucm->states.maxCharLength; 375 if(mbcsData->ucm->states.countStates==0) { 381 if(length==2 && mbcsData->ucm->states.outputType==MBCS_OUTPUT_2_SISO) { 391 entry=mbcsData->ucm->states.stateTable[state][bytes[i++]]; 452 mbcsData->ucm->states.stateTable[state][bytes[i-1]]=entry; 553 return (UBool)(1==ucm_countChars(&mbcsData->ucm->states, bytes, length)); 687 maxCharLength=mbcsData->ucm->states.maxCharLength; 689 if( mbcsData->ucm->states.outputType==MBCS_OUTPUT_2_SISO & 1326 UCMStates *states; local [all...] |
/external/llvm/lib/Support/ |
regexec.c | 56 /* macros for manipulating states, small version */ 57 /* FIXME: 'states' is assumed as 'long' on small version. */ 59 #define states states1 macro 85 #undef states macro 105 /* macros for manipulating states, large version */ 106 #define states char * macro
|
regengine.inc | 81 states st; /* current states */ 82 states fresh; /* states for a fresh start */ 83 states tmp; /* temporary */ 84 states empty; /* empty set of states */ 95 static states step(struct re_guts *, sopno, sopno, states, int, states); [all...] |
/external/libxml2/ |
relaxng.c | 320 int nbState; /* the number of states */ 373 xmlRelaxNGStatesPtr states; /* the accumulated state list */ member in struct:_xmlRelaxNGValidCtxt 375 xmlRelaxNGStatesPtr freeState; /* the pool of free valid states */ 1025 xmlRngVErrMemory(ctxt, "allocating states\n"); 1034 xmlRngVErrMemory(ctxt, "allocating states\n"); 1044 * @states: the states containe 10146 xmlRelaxNGStatesPtr states = NULL, res = NULL; local 10290 xmlRelaxNGStatesPtr states = NULL; local 10580 xmlRelaxNGStatesPtr states, res; local [all...] |
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
block_switch.c | 34 IIRFilter(const Word16 in, const Word32 coeff[], Word32 states[]); 339 static Word16 IIRFilter(const Word16 in, const Word32 coeff[], Word32 states[]) 345 accu3 = accu1 - states[0]; 346 accu2 = fixmul( coeff[0], states[1] ); 349 states[0] = accu1; 350 states[1] = out;
|
/external/libxslt/libxslt/ |
pattern.c | 80 xsltStepStatePtr states; member in struct:_xsltStepStates 478 xsltPatPushState(xsltTransformContextPtr ctxt, xsltStepStates *states, 480 if ((states->states == NULL) || (states->maxstates <= 0)) { 481 states->maxstates = 4; 482 states->nbstates = 0; 483 states->states = xmlMalloc(4 * sizeof(xsltStepState)); 485 else if (states->maxstates <= states->nbstates) 632 xsltStepStates states = {0, 0, NULL}; \/* \/\/ may require backtrack *\/ local [all...] |
/frameworks/base/core/java/android/bluetooth/ |
IBluetoothHeadset.aidl | 31 List<BluetoothDevice> getDevicesMatchingConnectionStates(in int[] states);
|
/frameworks/base/core/java/com/android/internal/view/ |
IInputContext.aidl | 68 void clearMetaKeyStates(int states);
|
/frameworks/base/core/java/com/android/internal/os/ |
BatteryStatsImpl.java | [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/ |
A2dpService.java | 143 List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { 145 return mStateMachine.getDevicesMatchingConnectionStates(states); 223 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states) { 226 return service.getDevicesMatchingConnectionStates(states);
|
/frameworks/base/core/java/android/text/method/ |
MetaKeyKeyListener.java | 67 * // 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) { 359 clearMetaKeyState(content, states); 362 public static void clearMetaKeyState(Editable content, int states) { 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);
|
/external/freetype/src/psnames/ |
psmodule.c | 254 FT_UInt *states ) 264 if ( states[n] == 0 ) 267 states[n] = 1; 279 FT_UInt *states ) 289 states[n] = 2;
|
/external/openfst/src/include/fst/ |
rmepsilon.h | 146 slist<StateId> visited_states_; // List of visited states 253 // States sorted in topological order when (acyclic) or generic 255 vector<StateId> states; local 256 states.reserve(fst->NumStates()); 260 states.push_back(i); 272 states.resize(order.size()); 274 states[order[i]] = i; 289 states.push_back(j); 295 while (!states.empty()) { 296 StateId state = states.back() [all...] |
/bionic/libc/upstream-netbsd/libc/regex/ |
engine.c | 117 states st; /* current states */ 118 states fresh; /* states for a fresh start */ 119 states tmp; /* temporary */ 120 states empty; /* empty set of states */ 134 static states step(struct re_guts *g, sopno start, sopno stop, states bef, int ch, states aft) [all...] |
regexec.c | 108 /* macros for manipulating states, small version */ 109 #define states unsigned long macro 136 #undef states macro 156 /* macros for manipulating states, large version */ 157 #define states char * macro
|
/ndk/sources/host-tools/ndk-stack/regex/ |
engine.c | 81 states st; /* current states */ 82 states fresh; /* states for a fresh start */ 83 states tmp; /* temporary */ 84 states empty; /* empty set of states */ 92 static states step(struct re_guts *, sopno, sopno, states, int, states); [all...] |
/external/bison/src/ |
print_graph.c | 139 state *s1 = trans->states[i]; 222 print_state (states[i]);
|
LR0.c | 233 | SHIFTSET is set up as a vector of those states. | 299 | Build STATES. | 305 states = xcalloc (nstates, sizeof *states); 312 the states have valid transitions and reductions members, 321 states[s->number] = s; 348 /* States are queued when they are created; process them all. */ 363 /* Find the itemsets of the states that shifts can reach. */ 365 /* Find or create the core structures for those states. */ 368 /* Create the shifts structures for the shifts to those states, [all...] |
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
rmepsilon.h | 128 slist<StateId> visited_states_; // List of visited states 209 // States sorted in topological order when (acyclic) or generic 211 vector<StateId> states; local 215 states.push_back(i); 223 states.resize(order.size()); 225 states[order[i]] = i; 240 states.push_back(j); 246 while (!states.empty()) { 247 StateId state = states.back(); 248 states.pop_back() [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
EditableInputConnection.java | 99 public boolean clearMetaKeyStates(int states) { 105 kl.clearMetaKeyState(mTextView, content, states);
|
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/ |
TargetDrawable.java | 126 int[] states = d.getState(); local 127 for (int i = 0; i < states.length; i++) { 128 if (states[i] == android.R.attr.state_focused) {
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/multiwaveview/ |
TargetDrawable.java | 128 int[] states = d.getState(); local 129 for (int i = 0; i < states.length; i++) { 130 if (states[i] == android.R.attr.state_focused) {
|