/packages/apps/Launcher2/src/com/android/launcher2/ |
HolographicViewHelper.java | 40 * Generate the pressed/focused states if necessary. 48 StateListDrawable states = new StateListDrawable(); local 49 states.addState(new int[] {android.R.attr.state_pressed}, d); 50 states.addState(new int[] {android.R.attr.state_focused}, d); 51 states.addState(new int[] {}, v.getDrawable()); 52 v.setImageDrawable(states); 57 * Invalidates the pressed/focused states.
|
/external/tcpdump/ |
print-hsrp.c | 55 /* HSRP states and associated names. */ 56 static struct tok states[] = { variable in typeref:struct:tok 114 printf("state=%s ", tok2str(states, "Unknown (%d)", hp->hsrp_state));
|
/bionic/libc/regex/ |
regexec.c | 55 /* macros for manipulating states, small version */ 56 #define states long macro 57 #define states1 states /* for later use in regexec() decision */ 83 #undef states macro 103 /* macros for manipulating states, large version */ 104 #define states char * macro
|
/external/bison/src/ |
state.h | 35 A core represents one state. States are numbered in the NUMBER 37 state 0 and NSTATES is the number of states. (FIXME: This sentence 53 look-ahead token alone). When the states are generated, these 58 contains a vector of numbers of the states that transitions can go 59 to. The accessing_symbol fields of those states' cores say what 71 states should explicitly be errors (for implementing %nonassoc). 94 | Numbering states. | 117 state *states[1]; member in struct:__anon1503 122 TRANSITIONS->states[Num]? Can be a token (amongst which the error 126 (Transitions->states[Num]->accessing_symbol [all...] |
state.c | 46 transitions *res = xmalloc (offsetof (transitions, states) + states_size); 48 memcpy (res->states, the_states, states_size); 66 return shifts->states[j]; 116 | States. | 254 /* Initial capacity of states hash table. */ 259 /* Two states are equal if they have the same core items. */ 300 | Create the states hash table. | 315 | Free the states hash table, not the states. | 355 /* All the decorated states, indexed by the state number. * 356 state **states = NULL; variable [all...] |
/external/hyphenation/ |
hyphen.h | 74 HyphenState *states; member in struct:_HyphenDict
|
/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
|
/ndk/sources/host-tools/ndk-stack/regex/ |
regexec.c | 55 /* macros for manipulating states, small version */ 56 #define states long macro 57 #define states1 states /* for later use in regexec() decision */ 83 #undef states macro 103 /* macros for manipulating states, large version */ 104 #define states char * macro
|
/frameworks/base/core/java/android/app/ |
ActivityGroup.java | 33 private static final String STATES_KEY = "android:states"; 53 Bundle states = savedInstanceState != null local 55 mLocalActivityManager.dispatchCreate(states);
|
/packages/apps/Settings/src/com/android/settings/ |
Display.java | 44 String[] states = new String[3]; local 46 states[0] = r.getString(R.string.small_font); 47 states[1] = r.getString(R.string.medium_font); 48 states[2] = r.getString(R.string.large_font); 50 android.R.layout.simple_spinner_item, states);
|
/cts/tests/tests/text/src/android/text/style/cts/ |
TextAppearanceSpanTest.java | 64 int[][] states = new int[][] { new int[0], new int[0] }; local 66 ColorStateList csl = new ColorStateList(states, colors); 106 int[][] states = new int[][] { new int[0], new int[0] }; local 108 ColorStateList csl = new ColorStateList(states, colors); 121 int[][] states = new int[][] { new int[0], new int[0] }; local 123 ColorStateList csl = new ColorStateList(states, colors); 148 int[][] states = new int[][] { new int[0], new int[0] }; local 150 ColorStateList csl = new ColorStateList(states, colors); 171 int[][] states = new int[][] { new int[0], new int[0] }; local 173 ColorStateList csl = new ColorStateList(states, colors) 191 int[][] states = new int[][] { new int[0], new int[0] }; local 205 int[][] states = new int[][] { new int[0], new int[0] }; local 223 int[][] states = new int[][] { new int[0], new int[0] }; local [all...] |
/external/icu4c/common/ |
unorm_it.c | 37 * chars and states either use the static buffers 40 * They are parallel arrays with states[] holding the getState() values 44 uint32_t *states; member in struct:UNormIterator 49 * api.limit: one past the last valid character in chars[], but states[limit] is valid 93 uint32_t *states; local 97 states=(uint32_t *)uprv_malloc((capacity+1)*4+capacity*2); 98 if(states==NULL) { 102 chars=(UChar *)(states+(capacity+1)); 113 uprv_memcpy(states+delta+start, uni->states+start, (limit-start+1)*4) [all...] |
/external/icu4c/tools/toolutil/ |
ucm.h | 103 UCMStates states; member in struct:UCMFile 175 * Check the validity of mappings against a base table's states; 237 ucm_addState(UCMStates *states, const char *s); 240 ucm_processStates(UCMStates *states, UBool ignoreSISOCheck); 243 ucm_countChars(UCMStates *states, 264 /* finalize and optimize states after the toUnicode mappings are processed */ 266 ucm_optimizeStates(UCMStates *states,
|
ucmstate.c | 154 /* adjust "final valid" states according to the state flags */ 186 ucm_addState(UCMStates *states, const char *s) { 189 if(states->countStates==MBCS_MAX_STATE_COUNT) { 190 fprintf(stderr, "ucm error: too many states (maximum %u)\n", MBCS_MAX_STATE_COUNT); 194 error=parseState(s, states->stateTable[states->countStates], 195 &states->stateFlags[states->countStates]); 201 ++states->countStates; 207 UCMStates *states; local [all...] |
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/ |
TargetDrawable.java | 109 int[] states = d.getState(); local 110 for (int i = 0; i < states.length; i++) { 111 if (states[i] == android.R.attr.state_focused) {
|
/frameworks/base/libs/utils/ |
BufferedTextOutput.cpp | 84 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();
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
TextHighlightingAnimation.java | 149 int[] states = ds.drawableState; local 150 if (states != null) { 151 int count = states.length; 153 switch (states[i]) {
|
/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/chromium/testing/gmock/src/ |
gmock-spec-builders.cc | 567 StateMap& states() { return states_; } function in class:__anon3883::MockObjectRegistry 634 g_mock_object_registry.states()[mock_obj].leakable = true; 662 if (g_mock_object_registry.states().count(mock_obj) == 0) { 671 g_mock_object_registry.states()[mock_obj].function_mockers; 689 g_mock_object_registry.states()[mock_obj].function_mockers.insert(mocker); 699 MockObjectState& state = g_mock_object_registry.states()[mock_obj]; 723 g_mock_object_registry.states().begin(); 724 it != g_mock_object_registry.states().end(); ++it) { 729 g_mock_object_registry.states().erase(it); 741 if (g_mock_object_registry.states().count(mock_obj) == 0) [all...] |
/external/icu4c/tools/makeconv/ |
makeconv.c | 495 staticData->maxBytesPerChar=(int8_t)data->ucm->states.maxCharLength; 496 staticData->minBytesPerChar=(int8_t)data->ucm->states.minCharLength; 497 staticData->conversionType=data->ucm->states.conversionType; 545 if(data->ucm->states.outputType<0) { 546 data->ucm->states.outputType=(int8_t)data->ucm->states.maxCharLength-1; 589 baseStates=&data->ucm->states; 640 UCMStates *states, *baseStates; local 654 states=&data->ucm->states; [all...] |
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/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/android/net/http/ |
Connection.java | 54 private static final String[] states = {"SEND", "READ", "DRAIN", "DONE"}; field in class:Connection 171 states[state] + " pipe " + pipe.size());
|
/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.
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
ClipDrawableTest.java | 334 int[] states = new int[] {1, 2, 3}; local 335 assertFalse(mockClipDrawable.onStateChange(states)); 336 assertEquals(states, mockDrawable.getState());
|