/developers/build/prebuilts/gradle/RenderScriptIntrinsic/Application/src/main/java/com/example/android/renderscriptintrinsic/ |
ThumbnailRadioButton.java | 87 StateListDrawable states = new StateListDrawable(); local 88 states.addState(new int[]{android.R.attr.state_checked}, 90 states.addState(new int[]{}, 94 setBackground(states); 96 setBackgroundDrawable(states);
|
/developers/samples/android/renderScript/RenderScriptIntrinsic/Application/src/main/java/com/example/android/renderscriptintrinsic/ |
ThumbnailRadioButton.java | 87 StateListDrawable states = new StateListDrawable(); local 88 states.addState(new int[]{android.R.attr.state_checked}, 90 states.addState(new int[]{}, 94 setBackground(states); 96 setBackgroundDrawable(states);
|
/development/samples/browseable/RenderScriptIntrinsic/src/com.example.android.renderscriptintrinsic/ |
ThumbnailRadioButton.java | 87 StateListDrawable states = new StateListDrawable(); local 88 states.addState(new int[]{android.R.attr.state_checked}, 90 states.addState(new int[]{}, 94 setBackground(states); 96 setBackgroundDrawable(states);
|
/external/aac/libSBRenc/src/ |
resampler.h | 108 FIXP_BQS states[MAXNR_SECTIONS+1][2]; /*! state buffer */ member in struct:__anon4888
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
StateListDrawableTest.java | 24 int[] states = {R.attr.state_pressed}; local 25 stateListDrawable.addState(states, drawable); 28 Drawable drawableForState = shadow.getDrawableForState(states);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
HolographicViewHelper.java | 41 * Generate the pressed/focused states if necessary. 51 StateListDrawable states = new StateListDrawable(); local 52 states.addState(new int[] {android.R.attr.state_pressed}, outlineD); 53 states.addState(new int[] {android.R.attr.state_focused}, outlineD); 54 states.addState(new int[] {}, originalD); 55 v.setImageDrawable(states); 60 * Invalidates the pressed/focused states.
|
/external/chromium_org/third_party/libxml/src/ |
testAutomata.c | 37 xmlAutomataStatePtr states[1000]; local 42 states[i] = NULL; 58 states[0] = xmlAutomataGetInitState(am); 59 if (states[0] == NULL) { 88 if (states[from] == NULL) 89 states[from] = xmlAutomataNewState(am); 97 if (states[to] == NULL) 98 states[to] = xmlAutomataNewState(am); 100 xmlAutomataNewTransition(am, states[from], states[to] [all...] |
/external/tcpdump/ |
print-hsrp.c | 55 /* HSRP states and associated names. */ 56 static const struct tok states[] = { variable in typeref:struct:tok 114 printf("state=%s ", tok2str(states, "Unknown (%d)", hp->hsrp_state));
|
/bionic/libc/upstream-netbsd/lib/libc/regex/ |
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
|
/external/bison/src/ |
state.h | 33 A core represents one state. States are numbered in the NUMBER 35 state 0 and NSTATES is the number of states. (FIXME: This sentence 51 lookahead token alone). When the states are generated, these 56 contains a vector of numbers of the states that transitions can go 57 to. The accessing_symbol fields of those states' cores say what 68 states should explicitly be errors (for implementing %nonassoc). 91 | Numbering states. | 114 state *states[1]; member in struct:__anon5010 119 TRANSITIONS->states[Num]? Can be a token (amongst which the error 123 (Transitions->states[Num]->accessing_symbol [all...] |
state.c | 44 transitions *res = xmalloc (offsetof (transitions, states) + states_size); 46 memcpy (res->states, the_states, states_size); 64 return shifts->states[j]; 114 | States. | 169 transitions_new (s->transitions->num, s->transitions->states); 303 /* Initial capacity of states hash table. */ 308 /* Two states are equal if they have the same core items. */ 349 | Create the states hash table. | 364 | Free the states hash table, not the states. 452 state **states = NULL; variable [all...] |
/external/chromium_org/chrome/browser/extensions/ |
blacklist_unittest.cc | 163 // Test getting different blacklist states from Blacklist. 211 // states, sending fake requests and parsing the responses. 235 Blacklist::BlacklistStateMap states; local 237 Set(a, b, c), base::Bind(&Assign<Blacklist::BlacklistStateMap>, &states)); 244 EXPECT_EQ(BLACKLISTED_CWS_POLICY_VIOLATION, states[a]); 245 EXPECT_EQ(BLACKLISTED_POTENTIALLY_UNWANTED, states[b]); 246 EXPECT_EQ(0U, states.count(c));
|
/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
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
posixfile.py | 62 states = ['open', 'closed'] variable in class:_posixfile_ 70 (self.states[file.closed], file.name, file.mode, \
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
posixfile.py | 62 states = ['open', 'closed'] variable in class:_posixfile_ 70 (self.states[file.closed], file.name, file.mode, \
|
/external/chromium_org/chrome/browser/signin/ |
easy_unlock_screenlock_state_handler_unittest.cc | 344 std::vector<EasyUnlockScreenlockStateHandler::State> states; local 345 states.push_back(EasyUnlockScreenlockStateHandler::STATE_NO_BLUETOOTH); 346 states.push_back(EasyUnlockScreenlockStateHandler::STATE_NO_PHONE); 347 states.push_back(EasyUnlockScreenlockStateHandler::STATE_PHONE_UNSUPPORTED); 348 states.push_back(EasyUnlockScreenlockStateHandler::STATE_PHONE_UNLOCKABLE); 349 states.push_back( 351 states.push_back(EasyUnlockScreenlockStateHandler::STATE_PHONE_LOCKED); 353 for (size_t i = 0; i < states.size(); ++i) { 354 state_handler_->ChangeState(states[i]); 358 << "State: " << states[i] 384 std::vector<EasyUnlockScreenlockStateHandler::State> states; local 510 std::vector<EasyUnlockScreenlockStateHandler::State> states; local 755 std::vector<EasyUnlockScreenlockStateHandler::State> states; local [all...] |
/external/chromium_org/third_party/cython/src/Cython/Plex/ |
Machines.py | 17 states = None # [Node] variable in class:Machine 22 self.states = [] 27 for state in self.states: 36 self.states.append(s) 53 file.write(" Initial states:\n") 56 for s in self.states: 128 states = None # [state] variable in class:FastMachine 138 self.states = [] 141 for old_state in old_machine.states: 146 for old_state in old_machine.states [all...] |
/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 | 32 int[][] states = new int[][] { new int[0], new int[0] }; local 34 ColorStateList csl = new ColorStateList(states, colors); 69 int[][] states = new int[][] { new int[0], new int[0] }; local 71 ColorStateList csl = new ColorStateList(states, colors); 78 int[][] states = new int[][] { new int[0], new int[0] }; local 80 ColorStateList csl = new ColorStateList(states, colors); 100 int[][] states = new int[][] { new int[0], new int[0] }; local 102 ColorStateList csl = new ColorStateList(states, colors); 118 int[][] states = new int[][] { new int[0], new int[0] }; local 120 ColorStateList csl = new ColorStateList(states, colors) 133 int[][] states = new int[][] { new int[0], new int[0] }; local 142 int[][] states = new int[][] { new int[0], new int[0] }; local 154 int[][] states = new int[][] { new int[0], new int[0] }; local [all...] |
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/ |
DFA.java | 54 /** Prevent explosion of DFA states during conversion. The max number 55 * of states per alt in a single decision's DFA. 79 /** A set of all uniquely-numbered DFA states. Maps hash of DFAState 81 * existing DFA states. Map<DFAState,DFAState>. Use Map so 84 * a dup of states array. 90 * states, but the states are not unique. s3 might be same as s1 so 92 * then these states will all be unique as states[i] always points 99 protected Vector<DFAState> states = new Vector<DFAState>() field in class:DFA [all...] |
/external/chromium_org/content/browser/accessibility/ |
accessibility_tree_formatter_win.cc | 28 "states", 81 // Avoid flakiness: these states depend on whether the window is focused 88 base::ListValue* states = new base::ListValue; local 92 states->AppendString(base::UTF16ToUTF8(*it)); 94 dict->Set("states", states);
|
/external/chromium_org/content/renderer/media/ |
webrtc_audio_renderer.cc | 39 // and 'started' states to avoid problems related to incorrect usage which 487 PlayingStates& states = entry->second; local 488 for (PlayingStates::const_iterator it = states.begin(); 489 it != states.end(); ++it) {
|
/external/chromium_org/third_party/icu/source/common/ |
unorm_it.c | 38 * chars and states either use the static buffers 41 * They are parallel arrays with states[] holding the getState() values 45 uint32_t *states; member in struct:UNormIterator 50 * api.limit: one past the last valid character in chars[], but states[limit] is valid 94 uint32_t *states; local 98 states=(uint32_t *)uprv_malloc((capacity+1)*4+capacity*2); 99 if(states==NULL) { 103 chars=(UChar *)(states+(capacity+1)); 114 uprv_memcpy(states+delta+start, uni->states+start, (limit-start+1)*4) [all...] |