/packages/apps/Calendar/src/com/android/calendar/ |
MultiStateButton.java | 29 * or clicked, the state transitions automatically. 42 //The current state for this button, ranging from 0 to maxState-1 73 /* When clicked, toggle the state */ 87 * set the current state to the maximum allowed if it's greater than the new max. 101 * Attempts to set the state. Returns true if successful, false otherwise. 103 public boolean setState(int state){ 104 if(state >= mMaxStates || state < 0) { 106 Log.w("Cal", "MultiStateButton state set to value greater than maxState or < 0"); 109 mState = state; [all...] |
/packages/apps/Settings/src/com/android/settings/ |
PointerSpeedPreference.java | 60 protected void showDialog(Bundle state) { 61 super.showDialog(state); 150 // Save the dialog state 155 // Restore the old state when the activity or dialog is being paused 161 protected void onRestoreInstanceState(Parcelable state) { 162 if (state == null || !state.getClass().equals(SavedState.class)) { 163 // Didn't save state for us in onSaveInstanceState 164 super.onRestoreInstanceState(state); 168 SavedState myState = (SavedState) state; [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/properties/ |
AndroidPropertyPage.java | 128 ProjectState state = Sdk.getProjectState(mProject); local 136 if (state == null || newTarget != state.getTarget()) { 142 if (state == null || mIsLibrary.getSelection() != state.isLibrary()) { 178 ProjectState state = Sdk.getProjectState(mProject); local 181 mPropertiesWorkingCopy = state.getProperties().makeWorkingCopy(); 184 IAndroidTarget target = state.getTarget(); 189 mIsLibrary.setSelection(state.isLibrary()); 190 mLibraryDependencies.setContent(state, mPropertiesWorkingCopy) [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/ |
eap.c | 2 * EAP peer state machines (RFC 4137) 14 * This file implements the Peer State Machine as defined in RFC 4137. The used 15 * states and state transitions match mostly with the RFC. However, there are 51 static const char * eap_sm_method_state_txt(EapMethodState state); 104 * @sm: Pointer to EAP state machine allocated with eap_peer_sm_init() 129 * This state initializes state machine variables when the machine is 161 * state machine uses eapNoResp first, it may end up not sending a real 162 * reply correctly. This occurred when the workaround in FAIL state set 174 * This state is reached whenever service from the lower layer is interrupte [all...] |
/external/wpa_supplicant_8/src/eap_peer/ |
eap.c | 2 * EAP peer state machines (RFC 4137) 14 * This file implements the Peer State Machine as defined in RFC 4137. The used 15 * states and state transitions match mostly with the RFC. However, there are 52 static const char * eap_sm_method_state_txt(EapMethodState state); 105 * @sm: Pointer to EAP state machine allocated with eap_peer_sm_init() 130 * This state initializes state machine variables when the machine is 162 * state machine uses eapNoResp first, it may end up not sending a real 163 * reply correctly. This occurred when the workaround in FAIL state set 175 * This state is reached whenever service from the lower layer is interrupte [all...] |
/external/antlr/src/org/antlr/runtime/ |
DFA.java | 32 * Any state that has a semantic predicate edge is special; those states 72 if ( debug ) System.err.println("DFA "+decisionNumber+" state "+s+" LA(1)="+(char)input.LA(1)+"("+input.LA(1)+ 78 " state "+s+" is special state "+specialState); 83 " returns from special state "+specialState+" to "+s); 93 if ( debug ) System.err.println("accept; predict "+accept[s]+" from state "+s); 99 int snext = transition[s][c-min[s]]; // move to next state 104 // state. 105 if ( eot[s]>=0 ) { // EOT Transition to accept state? 129 if ( c==(char)Token.EOF && eof[s]>=0 ) { // EOF Transition to accept state [all...] |
/external/libnfc-nxp/src/ |
phFriNfc_MifStdFormat.c | 119 * authentication state and change the block number if required 180 /* Authentication state */ 234 /* Set the state */ 235 NdefSmtCrdFmt->State = PH_FRINFC_MFSTD_FMT_AUTH_SECT; 238 /* Set the authenticate state */ 254 switch(NdefSmtCrdFmt->State) 301 switch(NdefSmtCrdFmt->State) 338 NDEFMsgTLV[16] = {0x03, 0x00, 0xFE, 0x00, 0x00, 0x00, /* NDEF message TLV (INITIALISED state) */ 349 /* Depending on the different state, fill the send buffer */ 350 switch(NdefSmtCrdFmt->State) [all...] |
phLibNfc_llcp.c | 119 /* State checking */ 195 /* State checking */ 232 // DEBUG: Reset at least the state 233 gpphLibContext->llcp_cntx.sLlcpContext.state = 0; 239 /* Update state */ 343 /* Update the current state */ 367 /* State checking */ 397 /* State checking */ 429 /* State checking */ 454 /* State checking * [all...] |
/external/webkit/Source/WebCore/html/parser/ |
HTMLTokenizer.h | 45 enum State { 136 State state() const { return m_state; } function in class:WebCore::HTMLTokenizer 137 void setState(State state) { m_state = state; } 139 // Updates the tokenizer's state according to the given tag name. This is 141 // state. This method is useful for approximating HTML tokenization. To 267 inline bool emitAndResumeIn(SegmentedString&, State); 268 inline bool emitAndReconsumeIn(SegmentedString&, State); [all...] |
/external/webkit/Source/WebCore/platform/graphics/skia/ |
PlatformContextSkia.h | 53 // This class holds the platform-specific state for GraphicsContext. We put 57 // stuff, which needs some amount of our wrappers and state around SkCanvas). 63 // This class then keeps track of all the current Skia state. WebKit expects 64 // that the graphics state that is pushed and popped by save() and restore() 67 // responsible for managing the painting state which is store in separate 69 // state to be pushed and popped along with the bitmap. 115 // State setting functions. 197 // Used when restoring and the state has an image clip. Only shows the pixels in 206 struct State; 211 // States stack. Enables local drawing state change with save()/restore( [all...] |
/frameworks/base/libs/utils/ |
CallStack.cpp | 52 stack_crawl_state_t* state = (stack_crawl_state_t*)arg; local 53 if (state->count) { 56 if (state->ignore) { 57 state->ignore--; 59 state->addrs[0] = ip; 60 state->addrs++; 61 state->count--; 71 stack_crawl_state_t state; local 72 state.count = size; 73 state.ignore = ignore [all...] |
/frameworks/support/v13/java/android/support/v13/app/ |
FragmentStatePagerAdapter.java | 35 * saving and restoring of fragment's state. 40 * state of that fragment. This allows the pager to hold on to much less 96 // from its saved state, where the fragment manager has already 175 Bundle state = null; local 177 state = new Bundle(); 180 state.putParcelableArray("states", fss); 185 if (state == null) { 186 state = new Bundle(); 189 mFragmentManager.putFragment(state, key, f); 192 return state; [all...] |
/system/core/sh/ |
main.c | 96 * exception occurs. When an exception occurs the variable "state" 105 volatile int state; local 111 state = 0; 123 state = 3; 139 if (state == 0 || iflag == 0 || ! rootshell) 153 if (state == 1) 155 else if (state == 2) 157 else if (state == 3) 176 state = 1; 179 state = 2 [all...] |
/external/v8/src/ |
frames.cc | 114 // Compute the state of the calling frame before restoring 116 // frame code that computes the caller state to access the top 118 StackFrame::State state; local 119 StackFrame::Type type = frame_->GetCallerState(&state); 127 frame_ = SingletonFor(type, &state); 138 StackFrame::State state; local 139 StackFrame::Type type = frame_->GetCallerState(&state); 140 frame_ = SingletonFor(type, &state); 145 StackFrame::State state; local 313 StackFrame::State state; local [all...] |
/external/chromium/build/mac/ |
strip_save_dsym | 99 # state 0 is when nothing UUID-related has been seen yet. State 1 is 102 # LC_UUID command. State 5 is the terminal state for a successful LC_UUID 103 # read. State 6 is the error state. 104 state = 0 107 if state == 0: 109 state = 1 110 elif state == 1 [all...] |
/external/quake/quake/src/WinQuake/ |
cl_input.cpp | 41 state bit 0 is the current state of the key 42 state bit 1 is edge triggered on the up to down transition 43 state bit 2 is edge triggered on the down to up transition 82 if (b->state & 1) 84 b->state |= 1 + 2; // down + impulse down 98 b->state = 4; // impulse up 111 if (!(b->state & 1)) 113 b->state &= ~1; // now up 114 b->state |= 4; // impulse u [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/ |
eap_ikev2.c | 25 enum { MSG, FRAG_ACK, WAIT_FRAG_ACK, DONE, FAIL } state; member in struct:eap_ikev2_data 60 static const char * eap_ikev2_state_txt(int state) 62 switch (state) { 79 static void eap_ikev2_state(struct eap_ikev2_data *data, int state) 82 eap_ikev2_state_txt(data->state), 83 eap_ikev2_state_txt(state)); 84 data->state = state; 95 data->state = MSG; 97 data->ikev2.state = SA_INIT [all...] |
eap_pax.c | 31 enum { PAX_STD_1, PAX_STD_3, SUCCESS, FAILURE } state; member in struct:eap_pax_data 57 data->state = PAX_STD_1; 87 data->state = FAILURE; 97 data->state = FAILURE; 138 data->state = FAILURE; 174 switch (data->state) { 180 wpa_printf(MSG_DEBUG, "EAP-PAX: Unknown state %d in buildReq", 181 data->state); 214 if (data->state == PAX_STD_1 && 221 if (data->state == PAX_STD_3 & [all...] |
/external/wpa_supplicant_8/src/eap_server/ |
eap_server_ikev2.c | 25 enum { MSG, FRAG_ACK, WAIT_FRAG_ACK, DONE, FAIL } state; member in struct:eap_ikev2_data 60 static const char * eap_ikev2_state_txt(int state) 62 switch (state) { 79 static void eap_ikev2_state(struct eap_ikev2_data *data, int state) 82 eap_ikev2_state_txt(data->state), 83 eap_ikev2_state_txt(state)); 84 data->state = state; 95 data->state = MSG; 98 data->ikev2.state = SA_INIT [all...] |
eap_server_pax.c | 32 enum { PAX_STD_1, PAX_STD_3, SUCCESS, FAILURE } state; member in struct:eap_pax_data 58 data->state = PAX_STD_1; 88 data->state = FAILURE; 98 data->state = FAILURE; 139 data->state = FAILURE; 175 switch (data->state) { 181 wpa_printf(MSG_DEBUG, "EAP-PAX: Unknown state %d in buildReq", 182 data->state); 215 if (data->state == PAX_STD_1 && 222 if (data->state == PAX_STD_3 & [all...] |
/external/bison/tests/ |
regression.at | 215 state 0 219 'a' shift, and go to state 1 223 expr go to state 2 224 @2 go to state 3 227 state 1 233 @1 go to state 4 236 state 2 240 $end shift, and go to state 5 243 state 3 247 'c' shift, and go to state [all...] |
/external/guava/javadoc/com/google/common/util/concurrent/ |
ForwardingService.html | 136 <TD><CODE><A HREF="../../../../../com/google/common/base/Service.State.html" title="enum in com.google.common.base">Service.State</A></CODE></TD> 179 Returns <code>true</code> if this service is <A HREF="../../../../../com/google/common/base/Service.State.html#RUNNING"><CODE>running</CODE></A>.</TD> 183 <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/util/concurrent/Future.html?is-external=true" title="class or interface in java.util.concurrent">Future</A><<A HREF="../../../../../com/google/common/base/Service.State.html" title="enum in com.google.common.base">Service.State</A>></CODE></FONT></TD> 187 If the service state is <A HREF="../../../../../com/google/common/base/Service.State.html#NEW"><CODE>Service.State.NEW</CODE></A>, this initiates service startup 192 <CODE> <A HREF="../../../../../com/google/common/base/Service.State.html" title="enum in com.google.common.base">Service.State</A></CODE></FONT></TD [all...] |
/external/libxml2/ |
xmlregexp.c | 245 xmlRegStatePtr state; member in struct:_xmlAutomata 288 xmlRegStatePtr state;/* the current state */ member in struct:_xmlRegExecRollback 290 int nextbranch; /* the next transition to explore in that state */ 291 int *counts; /* save the automata state if it has some */ 309 xmlRegStatePtr state;/* the current state */ member in struct:_xmlRegExecCtxt 310 int transno; /* the current transition on that state */ 321 * The state of the automata if any 338 int errStateNo; /* the error state number * 551 xmlRegStatePtr state; local 1846 xmlRegStatePtr state, tmp; local 1910 xmlRegStatePtr state; local 2610 xmlRegStatePtr state; local 3279 xmlRegStatePtr state = exec->state; local 3643 int state = exec->index; local 3917 xmlRegStatePtr state = exec->state; local 4172 int target, i, state; local 4211 xmlRegStatePtr state; local [all...] |
/external/chromium/net/ftp/ |
ftp_network_transaction_unittest.cc | 35 enum State { 63 switch (state()) { 93 NOTREACHED() << "State not handled " << state(); 98 void InjectFailure(State state, State next_state, const char* response) { 100 DCHECK_NE(NONE, state); 102 DCHECK_NE(state, next_state); 103 failure_injection_state_ = state; 108 State state() const { function in class:net::FtpSocketDataProvider [all...] |
/external/wpa_supplicant/ |
eap.c | 2 * EAP peer state machines (RFC 4137) 14 * This file implements the Peer State Machine as defined in RFC 4137. The used 15 * states and state transitions match mostly with the RFC. However, there are 49 static const char * eap_sm_method_state_txt(EapMethodState state); 101 * This state initializes state machine variables when the machine is 132 * state machine uses eapNoResp first, it may end up not sending a real 133 * reply correctly. This occurred when the workaround in FAIL state set 144 * This state is reached whenever service from the lower layer is interrupted 156 * The state machine spends most of its time here, waiting for something t [all...] |