/frameworks/base/core/tests/coretests/src/android/os/storage/ |
H A D | StorageManagerBaseTest.java | 171 public void onObbStateChange(String path, int state) { argument 172 Log.i(LOG_TAG, "Storage state changing to: " + state); 176 mState = state; 184 * Tells whether we are done or not (system told us the OBB has changed state) 186 * @return true if the system has told us this OBB's state has changed, false otherwise 193 * The last state of the OBB, according to the system 195 * @return A {@link String} representation of the state of the OBB 197 public int state() { method in class:StorageManagerBaseTest.ObbListener 301 * @param expectedState The expected state resultin [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | AnimationDrawable.java | 356 private AnimationDrawable(AnimationState state, Resources res) { argument 357 AnimationState as = new AnimationState(state, this, res); 360 if (state != null) {
|
H A D | BitmapDrawable.java | 345 final BitmapState state = mBitmapState; 346 if (state.mTileModeX != xmode || state.mTileModeY != ymode) { 347 state.mTileModeX = xmode; 348 state.mTileModeY = ymode; 349 state.mRebuildShader = true; 369 final BitmapState state = mBitmapState; 370 if (state.mRebuildShader) { 371 Shader.TileMode tmx = state.mTileModeX; 372 Shader.TileMode tmy = state 548 BitmapDrawable(BitmapState state, Resources res) argument [all...] |
H A D | ClipDrawable.java | 176 protected boolean onStateChange(int[] state) { argument 177 return mClipState.mDrawable.setState(state); 297 private ClipDrawable(ClipState state, Resources res) { argument 298 mClipState = new ClipState(state, this, res);
|
H A D | ColorDrawable.java | 60 private ColorDrawable(ColorState state) { argument 61 mState = new ColorState(state); 183 ColorState(ColorState state) { argument 184 if (state != null) { 185 mBaseColor = state.mBaseColor; 186 mUseColor = state.mUseColor; 187 mChangingConfigurations = state.mChangingConfigurations;
|
H A D | Drawable.java | 71 * in which state it is to be drawn, such as "focused", "selected", etc. 72 * Some drawables may modify their imagery based on the selected state. 100 * drawables based on its state. 427 * Indicates whether this view will change its appearance based on state. 429 * their state and call setState. 431 * @return True if this view changes its appearance based on state, false 447 * <p>If the new state you are supplying causes the appearance of the 453 * until a new state array is given to it, so you must not modify this 458 * @return Returns true if this change in state has caused the appearance 471 * Describes the current state, a 641 onStateChange(int[] state) argument [all...] |
H A D | DrawableContainer.java | 195 protected boolean onStateChange(int[] state) { argument 197 return mLastDrawable.setState(state); 200 return mCurrDrawable.setState(state); 708 protected void setConstantState(DrawableContainerState state) argument 710 mDrawableContainerState = state;
|
H A D | GradientDrawable.java | 126 private boolean mRectIsDirty; // internal state 1108 public GradientState(GradientState state) { argument 1109 mChangingConfigurations = state.mChangingConfigurations; 1110 mShape = state.mShape; 1111 mGradient = state.mGradient; 1112 mOrientation = state.mOrientation; 1113 if (state.mColors != null) { 1114 mColors = state.mColors.clone(); 1116 if (state.mPositions != null) { 1117 mPositions = state 1264 GradientDrawable(GradientState state) argument 1271 initializeWithState(GradientState state) argument [all...] |
H A D | InsetDrawable.java | 212 protected boolean onStateChange(int[] state) { argument 213 boolean changed = mInsetState.mDrawable.setState(state); 312 private InsetDrawable(InsetState state, Resources res) { argument 313 mInsetState = new InsetState(state, this, res);
|
H A D | LayerDrawable.java | 72 * constant state. 75 * @param state The constant drawable state. 77 LayerDrawable(Drawable[] layers, LayerState state) { argument 78 this(state, null); 98 LayerDrawable(LayerState state, Resources res) { argument 99 LayerState as = createConstantState(state, res); 106 LayerState createConstantState(LayerState state, Resources res) { argument 107 return new LayerState(state, this, res); 445 protected boolean onStateChange(int[] state) { argument [all...] |
H A D | LevelListDrawable.java | 69 // in case the new state matches our current state... 212 private LevelListDrawable(LevelListState state, Resources res) { argument 213 LevelListState as = new LevelListState(state, this, res);
|
H A D | MipmapDrawable.java | 306 private MipmapDrawable(MipmapContainerState state, Resources res) { argument 307 MipmapContainerState as = new MipmapContainerState(state, this, res);
|
H A D | NinePatchDrawable.java | 123 private void setNinePatchState(NinePatchState state, Resources res) { argument 124 mNinePatchState = state; 125 mNinePatch = state.mNinePatch; 126 mPadding = state.mPadding; 128 : state.mTargetDensity; 130 if (state.mDither != DEFAULT_DITHER) { 133 setDither(state.mDither); 422 NinePatchState(NinePatchState state) { argument 423 mNinePatch = new NinePatch(state.mNinePatch); 425 mPadding = state 448 NinePatchDrawable(NinePatchState state, Resources res) argument [all...] |
H A D | RotateDrawable.java | 56 * <p>Create a new rotating drawable with an empty state.</p> 63 * <p>Create a new rotating drawable with the specified state. A copy of 64 * this state is used as the internal state for the newly created 67 * @param rotateState the state for this drawable 157 protected boolean onStateChange(int[] state) { argument 158 boolean changed = mState.mDrawable.setState(state); 289 * <p>Represents the state of a rotation for a given drawable. The same
|
H A D | ScaleDrawable.java | 195 protected boolean onStateChange(int[] state) { argument 196 boolean changed = mScaleState.mDrawable.setState(state); 312 private ScaleDrawable(ScaleState state, Resources res) { argument 313 mScaleState = new ScaleState(state, this, res);
|
H A D | ShapeDrawable.java | 78 private ShapeDrawable(ShapeState state) { argument 79 mShapeState = new ShapeState(state);
|
H A D | StateListDrawable.java | 35 * Each state Drawable is defined in a nested <code><item></code> element. For more 88 // in case the new state matches our current state... 209 * Gets the state set at an index. 211 * @param index The index of the state set. 212 * @return The state set at the index. 235 * Gets the index of the drawable with the provided state set. 237 * @param stateSet the state set to look up 238 * @return the index of the provided state set, or -1 if not found 323 private StateListDrawable(StateListState state, Resource argument [all...] |
H A D | TransitionDrawable.java | 59 * The current state of the transition. One of {@link #TRANSITION_STARTING}, 91 private TransitionDrawable(TransitionState state, Resources res) { argument 92 super(state, res); 95 private TransitionDrawable(TransitionState state, Drawable[] layers) { argument 96 super(layers, state); 100 LayerState createConstantState(LayerState state, Resources res) { argument 101 return new TransitionState((TransitionState) state, this, res);
|
/frameworks/base/keystore/java/android/security/ |
H A D | KeyStore.java | 64 public State state() { method in class:KeyStore
|
/frameworks/base/libs/androidfw/ |
H A D | InputTransport.cpp | 52 // Maximum time to predict forward from the last known state, to avoid predicting too 575 // Update the touch state history to incorporate the new input message. 647 void InputConsumer::rewriteMessage(const TouchState& state, InputMessage* msg) { argument 650 if (state.lastResample.idBits.hasBit(id)) { 652 const PointerCoords& resampleCoords = state.lastResample.getPointerById(id); 677 ALOGD("Not resampled, no touch state for device.");
|
H A D | VelocityTracker.cpp | 229 ALOGD("VelocityTracker: stopped for %0.3f ms, clearing state.", 716 State& state = mPointerState[id]; local 719 updateState(state, eventTime, position.x, position.y); 721 initState(state, eventTime, position.x, position.y); 733 const State& state = mPointerState[id]; local 734 populateEstimator(state, outEstimator); 741 void IntegratingVelocityTrackerStrategy::initState(State& state, argument 743 state.updateTime = eventTime; 744 state.degree = 0; 746 state 754 updateState(State& state, nsecs_t eventTime, float xpos, float ypos) const argument 796 populateEstimator(const State& state, VelocityTracker::Estimator* outEstimator) const argument [all...] |
/frameworks/base/libs/hwui/font/ |
H A D | Font.cpp | 36 Font::Font(FontRenderer* state, uint32_t fontId, float fontSize, argument 39 mState(state), mFontId(fontId), mFontSize(fontSize), 421 Font* Font::create(FontRenderer* state, uint32_t fontId, float fontSize, argument 424 Vector<Font*> &activeFonts = state->mActiveFonts; 436 Font* newFont = new Font(state, fontId, fontSize, flags, italicStyle,
|
/frameworks/base/libs/storage/ |
H A D | IObbActionListener.cpp | 33 virtual void onObbResult(const String16& filename, const int32_t nonce, const int32_t state) { } argument 48 int32_t state = data.readInt32(); local 49 onObbResult(filename, nonce, state);
|
/frameworks/base/media/java/android/media/ |
H A D | AudioManager.java | 126 * @hide Broadcast intent when the master mute state changes. 191 * @hide The new master volume mute state for the master mute changed intent. 874 * @param state The required solo state: true for solo ON, false for solo OFF 876 public void setStreamSolo(int streamType, boolean state) { argument 879 service.setStreamSolo(streamType, state, mICallBack); 903 * @param state The required mute state: true for mute ON, false for mute OFF 905 public void setStreamMute(int streamType, boolean state) { argument 908 service.setStreamMute(streamType, state, mICallBac 934 setMasterMute(boolean state) argument 943 setMasterMute(boolean state, int flags) argument 2426 setWiredDeviceConnectionState(int device, int state, String name) argument 2443 setBluetoothA2dpDeviceConnectionState(BluetoothDevice device, int state) argument [all...] |
H A D | AudioService.java | 93 * will update our internal state, but in a separate thread will set the system 95 * will update the state and broadcast a change and in a separate thread later 364 // SCO audio state is not active 368 // SCO audio state is active or starting due to a local request to start a virtual call 373 // SCO audio state is active due to an action in BT handsfree (either voice recognition or 380 // Current connection state indicated by bluetooth headset 492 // state on streams affected by ringer mode. 528 // Register for phone state monitoring 1107 * Sets the stream state's index, and posts a message to set system volume. 1154 public void setStreamSolo(int streamType, boolean state, IBinde argument 1163 setStreamMute(int streamType, boolean state, IBinder cb) argument 1175 setMasterMute(boolean state, int flags, IBinder cb) argument 1994 requestScoState(int state) argument 2143 broadcastScoConnectionState(int state) argument 2575 setWiredDeviceConnectionState(int device, int state, String name) argument 2587 setBluetoothA2dpDeviceConnectionState(BluetoothDevice device, int state) argument 2901 mute(IBinder cb, boolean state) argument 2933 mute(boolean state) argument 3028 getDeathHandler(IBinder cb, boolean state) argument 3528 onSetA2dpConnectionState(BluetoothDevice btDevice, int state) argument 3618 checkSendBecomingNoisyIntent(int device, int state) argument 3646 sendDeviceConnectionIntent(int device, int state, String name) argument 3699 onSetWiredDeviceConnectionState(int device, int state, String name) argument [all...] |