/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | KeyButtonRipple.java | 160 protected boolean onStateChange(int[] state) { argument 162 for (int i = 0; i < state.length; i++) { 163 if (state[i] == android.R.attr.state_pressed) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tv/ |
H A D | TvStatusBar.java | 62 public void disable(int state, boolean animate) { argument 91 public void setWindowState(int window, int state) { argument
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
H A D | NetworkControllerBaseTest.java | 195 public void updateCallState(int state) { argument 197 mPhoneStateListener.onCallStateChanged(state, "0123456789");
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | WiredAccessoryManager.java | 176 * Compare the existing headset state with the new state and pass along accordingly. Note 198 Log.e(TAG, "No state change."); 202 // reject all suspect transitions: only accept state changes from: 263 int state; 266 state = 1; 268 state = 0; 290 Slog.v(TAG, "device "+headsetName+((state == 1) ? " connected" : " disconnected")); 293 mAudioManager.setWiredDeviceConnectionState(outDevice, state, headsetName); 296 mAudioManager.setWiredDeviceConnectionState(inDevice, state, headsetNam 417 updateStateLocked(String devPath, String name, int state) argument [all...] |
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | OverlayDisplayAdapter.java | 208 int densityDpi, boolean secure, int state, 218 mState = state; 241 public void setStateLocked(int state) { argument 242 mState = state; 267 mInfo.state = mState; 312 long presentationDeadlineNanos, int state) { 317 mDensityDpi, mSecure, state, surfaceTexture, mNumber); 336 public void onStateChanged(int state) { argument 339 mDevice.setStateLocked(state); 354 // Try to dump the window state 206 OverlayDisplayDevice(IBinder displayToken, String name, int width, int height, float refreshRate, long presentationDeadlineNanos, int densityDpi, boolean secure, int state, SurfaceTexture surfaceTexture, int number) argument 311 onWindowCreated(SurfaceTexture surfaceTexture, float refreshRate, long presentationDeadlineNanos, int state) argument [all...] |
H A D | OverlayDisplayWindow.java | 285 mListener.onStateChanged(mDefaultDisplayInfo.state); 306 mDefaultDisplayInfo.presentationDeadlineNanos, mDefaultDisplayInfo.state); 376 float refreshRate, long presentationDeadlineNanos, int state); 378 public void onStateChanged(int state); argument 375 onWindowCreated(SurfaceTexture surfaceTexture, float refreshRate, long presentationDeadlineNanos, int state) argument
|
H A D | VirtualDisplayAdapter.java | 224 public Runnable requestDisplayStateLocked(int state) { argument 225 if (state != mDisplayState) { 226 mDisplayState = state; 227 if (state == Display.STATE_OFF) { 327 mInfo.state = mSurface != null ? Display.STATE_ON : Display.STATE_OFF;
|
/frameworks/base/services/core/java/com/android/server/media/ |
H A D | RemoteDisplayProviderProxy.java | 52 // Connection state 58 // Logical state 273 private void onDisplayStateChanged(Connection connection, RemoteDisplayState state) { argument 276 Slog.d(TAG, this + ": State changed, state=" + state); 278 setDisplayState(state); 294 private void setDisplayState(RemoteDisplayState state) { argument 295 if (!Objects.equals(mDisplayState, state)) { 296 mDisplayState = state; 321 void onDisplayStateChanged(RemoteDisplayProviderProxy provider, RemoteDisplayState state); argument 405 postStateChanged(final RemoteDisplayState state) argument 435 onStateChanged(RemoteDisplayState state) argument [all...] |
/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | DowntimeConditionProvider.java | 243 private Condition createCondition(DowntimeInfo downtime, int state) { argument 261 return new Condition(id, summary, line1, formatted, 0, state, Condition.FLAG_RELEVANT_NOW);
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
H A D | SoundTriggerHelper.java | 140 // Get the current call state synchronously for the first recognition. 142 // Register for call state changes when the first call to start recognition occurs. 275 // Also clear the internal state once the recognition has been stopped. 282 * Stops all recognitions active currently and clears the internal state. 342 public void onServiceStateChange(int state) { argument 343 if (DBG) Slog.d(TAG, "onServiceStateChange, state: " + state); 345 onServiceStateChangedLocked(SoundTrigger.SERVICE_STATE_DISABLED == state); 390 // This is handled via service state changes instead. 527 // Unregister from call state change 544 onCallStateChanged(int state, String arg1) argument [all...] |
/frameworks/base/telecomm/java/android/telecom/ |
H A D | Conference.java | 107 * Gets the state of the conference call. See {@link Connection} for valid values. 109 * @return A constant representing the state the conference call is currently in. 174 * @return The audio state of the conference, describing how its audio is currently 176 * does not directly know about its audio state. 238 * @param state The new call audio state. 240 public void onAudioStateChanged(AudioState state) {} argument 250 * Sets state to be on hold. 257 * Sets state to be active. 264 * Sets state t 457 setAudioState(AudioState state) argument [all...] |
H A D | ParcelableCall.java | 60 int state, 80 mState = state; 106 /** The current state of the call. */ 113 * when call state is {@link CallState#DISCONNECTED}. 134 /** The time that the call switched to the active state. */ 219 * The video state. 220 * @return The video state of the call. 242 int state = source.readInt(); 267 state, 58 ParcelableCall( String id, int state, DisconnectCause disconnectCause, List<String> cannedSmsResponses, int capabilities, int properties, long connectTimeMillis, Uri handle, int handlePresentation, String callerDisplayName, int callerDisplayNamePresentation, GatewayInfo gatewayInfo, PhoneAccountHandle accountHandle, IVideoProvider videoCallProvider, String parentCallId, List<String> childCallIds, StatusHints statusHints, int videoState, List<String> conferenceableCallIds, Bundle extras) argument
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
H A D | SceneManager.java | 448 public Renderable getRenderableQuad(String name, RenderState state) { argument 453 quad.setRenderState(state);
|
/frameworks/native/opengl/libs/EGL/ |
H A D | egl_display.h | 114 DisplayImpl() : dpy(EGL_NO_DISPLAY), state(NOT_INITIALIZED) { } 116 EGLint state; member in struct:android::egl_display_t::DisplayImpl 153 // EGLDisplay is entering or leaving a long-term idle state.
|
/frameworks/native/opengl/libs/GLES_trace/src/ |
H A D | gltrace_context.cpp | 132 GLTraceContext::GLTraceContext(int id, int version, GLTraceState *state, argument 139 mState(state),
|
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
H A D | ICalendar.java | 431 ParserState state = new ParserState(); 432 state.index = 0; 441 current = parseLine(line, state, current); 466 private static Component parseLine(String line, ParserState state, argument 469 state.line = line; 470 int len = state.line.length(); 474 for (state.index = 0; state.index < len; ++state.index) { 475 c = line.charAt(state 525 extractValue(ParserState state) argument 541 extractParameter(ParserState state) argument [all...] |
/frameworks/opt/net/voip/src/java/android/net/sip/ |
H A D | SipSession.java | 73 * Converts the state to string. 75 public static String toString(int state) { argument 76 switch (state) { 299 * Gets the session state. The value returned must be one of the states in 302 * @return the session state 357 * registration. The method is only valid to call when the session state is 376 * session state is in {@link State#READY_TO_CALL}. 391 * the session state is in {@link State#READY_TO_CALL}. 411 * method is only valid to call when the session state is in 429 * incoming call. The method is only valid to call when the session state i [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | CallTracker.java | 106 log("getHoConnection: compare state hoConn= " + hoConn.toString()); 107 if (hoConn.getStateBeforeHandover() == Call.stateFromDCState(dc.state)) { 115 protected void notifySrvccState(Call.SrvccState state, ArrayList<Connection> c) { argument 116 if (state == Call.SrvccState.STARTED && c != null) { 119 } else if (state != Call.SrvccState.COMPLETED) {
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/ |
H A D | SimulatedGsmCallState.java | 51 CallInfo (boolean isMT, State state, boolean isMpty, String number) { argument 53 mState = state; 93 ret.state = DriverCall.stateFromCLCC(mState.value()); 217 /** If a call is DIALING or ALERTING, progress it to the next state */ 688 Rlog.d("GSM", "SC< dial fail (invalid call state)"); 692 Rlog.d("GSM", "SC< dial fail (invalid call state)"); 704 Rlog.d("GSM", "SC< dial fail (invalid call state)"); 713 Rlog.d("GSM", "SC< dial fail (invalid call state)"); 783 Rlog.e("ModelInterpreter", "Invalid state"); 788 Rlog.e("ModelInterpreter", "Invalid state"); [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
H A D | IccCardApplicationStatus.java | 132 public AppState AppStateFromRILInt(int state) { argument 135 switch(state) { 144 loge("AppStateFromRILInt: bad state: " + state + " use APPSTATE_UNKNOWN"); 186 public PinState PinStateFromRILInt(int state) { argument 188 switch(state) { 209 loge("PinStateFromRILInt: bad pin state: " + state + " use PINSTATE_UNKNOWN");
|
H A D | UiccCarrierPrivilegeRules.java | 242 int state = mState.get(); 243 if (state == STATE_LOADING) { 246 } else if (state == STATE_ERROR) { 542 * Updates the state and notifies the UiccCard that the rules have finished loading. 573 * Converts state into human readable format. 575 private String getStateString(int state) { argument 576 switch (state) {
|
/frameworks/rs/driver/ |
H A D | rsdShader.cpp | 50 StateBasedKey *state = mStateBasedShaders.itemAt(i); local 51 if (state->mShaderID) { 52 glDeleteShader(state->mShaderID); 54 delete state; 81 for (uint32_t ct = 0; ct < mRSProgram->mHal.state.texturesCount; ct ++) { 83 if (mRSProgram->mHal.state.textureTargets[ct] == RS_TEXTURE_2D) { 84 Allocation *a = mRSProgram->mHal.state.textures[ct]; 85 if (a && a->mHal.state.surfaceTextureID) { 103 StateBasedKey *state = getExistingState(); local 104 if (state ! [all...] |
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | PagerTitleStrip.java | 495 public void onPageScrollStateChanged(int state) { argument 496 mScrollState = state;
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/ |
H A D | ListMenuPresenter.java | 215 Bundle state = new Bundle(); 216 saveHierarchyState(state); 217 return state; 221 public void onRestoreInstanceState(Parcelable state) { argument 222 restoreHierarchyState((Bundle) state);
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | GridLayoutManagerTest.java | 272 RecyclerView.State state = new RecyclerView.State(); 273 state.mItemCount = 1000; 274 glm.onAnchorReady(state, glm.mAnchorInfo); 278 glm.onAnchorReady(state, glm.mAnchorInfo); 282 glm.onAnchorReady(state, glm.mAnchorInfo); 286 glm.onAnchorReady(state, glm.mAnchorInfo); 391 public void onBeforeLayout(RecyclerView.Recycler recycler, RecyclerView.State state) { 392 if (!state.isPreLayout()) { 398 public void onAfterLayout(RecyclerView.Recycler recycler, RecyclerView.State state) { 399 if (!state 604 onLayoutChildren(RecyclerView.Recycler recycler, RecyclerView.State state) argument 688 onBeforeLayout(RecyclerView.Recycler recycler, RecyclerView.State state) argument 691 onAfterLayout(RecyclerView.Recycler recycler, RecyclerView.State state) argument [all...] |