/external/icu4c/tools/toolutil/ |
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...] |
/external/webkit/Source/WebCore/inspector/front-end/ |
StatusBarButton.js | 31 WebInspector.StatusBarButton = function(title, className, states) 45 this.states = states; 46 if (!states) 47 this.states = 2; 49 if (states == 2) 101 if (this.states === 2) { 118 if (this.states !== 2) 119 throw("Only used toggled when there are 2 states, otherwise, use state"); 125 if (this.states !== 2 [all...] |
/frameworks/base/core/java/android/util/ |
StateSet.java | 25 * 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 [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...] |
rbbicst.pl | 29 $states{"pop"} = 255; # Add the "pop" to the list of defined state names. 62 if ($states{$state_name} != 0) { 65 $states{$state_name} = $num_states; 161 # We read all states first, before writing anything, so that the state numbers 162 # for the destination states are all available to be written. 184 # Check that all of the destination states have been defined 187 $states{"exit"} = 0; # Predefined state name, terminates state machine. 189 if ($states{$state_dest_state[$state]} == 0 && $state_dest_state[$state] ne "exit") { 193 if ($state_push_state[$state] ne "" && $states{$state_push_state[$state]} == 0) { 302 print " $states{$state_dest_state[$state]}," [all...] |
/external/icu4c/i18n/ |
regexcst.pl | 30 $states{"pop"} = 255; # Add the "pop" to the list of defined state names. 63 if ($states{$state_name} != 0) { 66 $states{$state_name} = $num_states; 162 # We read all states first, before writing anything, so that the state numbers 163 # for the destination states are all available to be written. 185 # Check that all of the destination states have been defined 188 $states{"exit"} = 0; # Predefined state name, terminates state machine. 190 if ($states{$state_dest_state[$state]} == 0 && $state_dest_state[$state] ne "exit") { 194 if ($state_push_state[$state] ne "" && $states{$state_push_state[$state]} == 0) { 278 print " {doNOP, 0, 0, 0, TRUE}\n"; # State 0 is a dummy. Real states start with index = 1 [all...] |
/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...] |
/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/webkit/Source/WebCore/platform/android/ |
PlatformTouchEventAndroid.cpp | 41 PlatformTouchEvent::PlatformTouchEvent(const Vector<int>& ids, const Vector<IntPoint>& windowPoints, TouchEventType type, const Vector<PlatformTouchPoint::State>& states, int metaState) 48 m_touchPoints.append(PlatformTouchPoint(ids[c], windowPoints[c], states[c]));
|
/frameworks/base/core/java/android/bluetooth/ |
BluetoothProfile.java | 130 * 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);
|
IBluetoothA2dp.aidl | 31 List<BluetoothDevice> getDevicesMatchingConnectionStates(in int[] states);
|
/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:__anon1506 122 TRANSITIONS->states[Num]? Can be a token (amongst which the error 126 (Transitions->states[Num]->accessing_symbol [all...] |
lalr.c | 90 transitions *sp = states[s]->transitions; 124 transitions *sp = states[s]->transitions; 130 to_state[k] = sp->states[i]->number; 183 transitions *sp = states[stateno]->transitions; 241 symbol_number symbol1 = states[to_state[i]]->accessing_symbol; 249 state *s = states[from_state[i]]; 383 nLA += state_look_ahead_tokens_count (states[i]); 395 int count = state_look_ahead_tokens_count (states[i]); 398 states[i]->reductions->look_ahead_tokens = pLA; 417 reductions *reds = states[i]->reductions [all...] |
/external/webkit/Source/WebCore/platform/chromium/ |
ThemeChromiumMac.mm | 250 static void updateStates(NSCell* cell, ControlStates states) 256 bool pressed = states & PressedState; 262 bool enabled = states & EnabledState; 268 bool focused = states & FocusState; 274 bool indeterminate = (states & IndeterminateState); 275 bool checked = states & CheckedState; 282 bool windowInactive = (states & WindowInactiveState); 289 static ThemeDrawState convertControlStatesToThemeDrawState(ThemeButtonKind kind, ControlStates states) 291 if (states & ReadOnlyState) 293 if (!(states & EnabledState) [all...] |
/external/webkit/Source/WebCore/platform/mac/ |
ThemeMac.mm | 137 static void updateStates(NSCell* cell, ControlStates states) 143 bool pressed = states & PressedState; 149 bool enabled = states & EnabledState; 155 bool focused = states & FocusState; 161 bool indeterminate = (states & IndeterminateState); 162 bool checked = states & CheckedState; 171 static ThemeDrawState convertControlStatesToThemeDrawState(ThemeButtonKind kind, ControlStates states) 173 if (states & ReadOnlyState) 175 if (!(states & EnabledState)) 179 if (states & PressedState) [all...] |
/external/hyphenation/ |
hyphen.c | 181 dict->states = hnj_realloc (dict->states, 185 dict->states[dict->num_states].match = NULL; 186 dict->states[dict->num_states].repl = NULL; 187 dict->states[dict->num_states].fallback_state = -1; 188 dict->states[dict->num_states].num_trans = 0; 189 dict->states[dict->num_states].trans = NULL; 200 num_trans = dict->states[state1].num_trans; 203 dict->states[state1].trans = hnj_malloc (sizeof(HyphenTrans)); 207 dict->states[state1].trans = hnj_realloc (dict->states[state1].trans [all...] |
/frameworks/base/core/java/android/text/method/ |
KeyListener.java | 76 * Remove the given shift states from the edited text. 78 public void clearMetaKeyState(View view, Editable content, int states);
|
/external/libxml2/ |
pattern.c | 108 int nbState; /* number of states in the automata */ 109 int maxState; /* allocated number of states */ 111 int *states; /* the array of step indexes */ member in struct:_xmlStreamCtxt 147 xmlStepStatePtr states; member in struct:_xmlStepStates 460 xmlPatPushState(xmlStepStates *states, int step, xmlNodePtr node) { 461 if ((states->states == NULL) || (states->maxstates <= 0)) { 462 states->maxstates = 4; 463 states->nbstates = 0 497 xmlStepStates states = {0, 0, NULL}; \/* \/\/ may require backtrack *\/ local [all...] |
/external/bluetooth/glib/docs/reference/glib/ |
Makefile.am | 53 mainloop-states.gif 79 mainloop-states.fig \ 80 mainloop-states.png \ 81 mainloop-states.eps \
|
/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));
|
/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/Gallery2/src/com/android/gallery3d/ui/ |
AbstractDisplayItem.java | 93 private boolean inState(int states) { 94 return (mState & states) != 0;
|
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/ |
CdmaServiceStateTracker.java | 325 String states[] = (String[])ar.result; local 332 if (states.length > 9) { 334 if (states[4] != null) { 335 baseStationId = Integer.parseInt(states[4]); 337 if (states[5] != null) { 338 baseStationLatitude = Integer.parseInt(states[5]); 340 if (states[6] != null) { 341 baseStationLongitude = Integer.parseInt(states[6]); 348 if (states[8] != null) { 349 systemId = Integer.parseInt(states[8]) 534 String states[]; local [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...] |
/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);
|