/frameworks/base/graphics/java/android/graphics/drawable/ |
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/include/androidfw/ |
H A D | InputTransport.h | 350 // Touch state per device and source, only for sources of class pointer. 419 void rewriteMessage(const TouchState& state, InputMessage* msg);
|
H A D | VelocityTracker.h | 70 // Resets the velocity tracker state. 73 // Resets the velocity tracker state for specific pointers. 210 // Current state estimate for a particular pointer. 223 void initState(State& state, nsecs_t eventTime, float xpos, float ypos) const; 224 void updateState(State& state, nsecs_t eventTime, float xpos, float ypos) const; 225 void populateEstimator(const State& state, VelocityTracker::Estimator* outEstimator) const;
|
/frameworks/base/include/storage/ |
H A D | IObbActionListener.h | 32 virtual void onObbResult(const String16& filename, const int32_t nonce, const int32_t state) = 0;
|
/frameworks/base/keystore/java/android/security/ |
H A D | KeyStore.java | 64 public State state() { method in class:KeyStore
|
/frameworks/base/keystore/tests/src/android/security/ |
H A D | AndroidKeyPairGeneratorTest.java | 65 assertEquals(android.security.KeyStore.State.UNINITIALIZED, mAndroidKeyStore.state()); 69 assertEquals(android.security.KeyStore.State.UNLOCKED, mAndroidKeyStore.state());
|
H A D | AndroidKeyStoreTest.java | 468 assertEquals(android.security.KeyStore.State.UNINITIALIZED, mAndroidKeyStore.state()); 472 assertEquals(android.security.KeyStore.State.UNLOCKED, mAndroidKeyStore.state());
|
H A D | KeyStoreTest.java | 117 if (mKeyStore.state() != KeyStore.State.UNINITIALIZED) { 120 assertEquals("KeyStore should be in an uninitialized state", 121 KeyStore.State.UNINITIALIZED, mKeyStore.state()); 132 assertEquals(KeyStore.State.UNINITIALIZED, mKeyStore.state()); 137 assertEquals(KeyStore.State.UNLOCKED, mKeyStore.state()); 205 assertEquals(KeyStore.State.UNLOCKED, mKeyStore.state()); 208 assertEquals(KeyStore.State.LOCKED, mKeyStore.state()); 213 assertEquals(KeyStore.State.UNLOCKED, mKeyStore.state());
|
/frameworks/base/libs/androidfw/ |
H A D | BackupHelpers.cpp | 1093 const FileState state = readSnapshot.valueAt(i); 1095 if (name != filenames[i] || states[i].modTime_sec != state.modTime_sec 1096 || states[i].modTime_nsec != state.modTime_nsec || states[i].mode != state.mode 1097 || states[i].size != state.size || states[i].crc32 != states[i].crc32) { 1098 fprintf(stderr, "state %d expected={%d/%d, 0x%08x, %04o, 0x%08x, %3d} '%s'\n" 1102 state.modTime_sec, state.modTime_nsec, state.mode, state [all...] |
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,
|
H A D | Font.h | 65 * Creates a new font associated with the specified font state. 67 static Font* create(FontRenderer* state, uint32_t fontId, float fontSize, 91 Font(FontRenderer* state, uint32_t fontId, float fontSize, int flags, uint32_t 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...] |
H A D | AudioSystem.java | 346 // phone state, match audio_mode??? 379 public static native int setDeviceConnectionState(int device, int state, String device_address); argument 381 public static native int setPhoneState(int state); argument
|
H A D | AudioTrack.java | 72 /** indicates AudioTrack state is stopped */ 74 /** indicates AudioTrack state is paused */ 76 /** indicates AudioTrack state is playing */ 148 * Indicates the state of the AudioTrack instance. 152 * Indicates the play state of the AudioTrack instance. 156 * Lock to make sure mPlayState updates are reflecting the actual state of the object. 584 * Returns the state of the AudioTrack instance. This is useful after the 597 * Returns the playback state of the AudioTrack instance. 863 * Sets the initialization state of the instance. To be used in an AudioTrack subclass 864 * constructor to set a subclass-specific post-initialization state 867 setState(int state) argument [all...] |
H A D | IAudioService.aidl | 53 void setStreamSolo(int streamType, boolean state, IBinder cb); 55 void setStreamMute(int streamType, boolean state, IBinder cb); 59 void setMasterMute(boolean state, int flags, IBinder cb); 152 void setWiredDeviceConnectionState(int device, int state, String name); 153 int setBluetoothA2dpDeviceConnectionState(in BluetoothDevice device, int state);
|
H A D | IRemoteControlDisplay.aidl | 43 void setPlaybackState(int generationId, int state, long stateChangeTimeMs);
|