Searched refs:states (Results 1 - 25 of 49) sorted by relevance

12

/frameworks/base/core/java/android/util/
H A DStateSet.java25 * one or more of those states.
57 * prohibited (if negative) {@link android.view.View} states.
58 * @param stateSet an array of {@link android.view.View} states
76 // We use negative values to indicate must-NOT-match states.
84 // We've reached the end of states to match.
89 // Continue checking other must-not-match states.
96 // Continue checking other other must-match states.
105 // We've reached the end of states to match and we didn't
117 * prohibited (if negative) {@link android.view.View} states.
133 // We use negative values to indicate must-NOT-match states
143 trimStateSet(int[] states, int newSize) argument
153 dump(int[] states) argument
[all...]
/frameworks/opt/colorpicker/src/com/android/colorpicker/
H A DColorStateDrawable.java40 protected boolean onStateChange(int[] states) { argument
42 for (int state : states) {
55 return super.onStateChange(states);
/frameworks/base/core/java/android/bluetooth/
H A DIBluetoothA2dp.aidl31 List<BluetoothDevice> getDevicesMatchingConnectionStates(in int[] states);
H A DIBluetoothPan.aidl33 List<BluetoothDevice> getDevicesMatchingConnectionStates(in int[] states);
H A DBluetoothProfile.java140 * states.
142 * <p> If none of the devices match any of the given states,
147 * @param states Array of states. States can be one of
152 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states); argument
H A DIBluetoothHealth.aidl40 List<BluetoothDevice> getHealthDevicesMatchingConnectionStates(in int[] states);
H A DIBluetoothInputDevice.aidl31 List<BluetoothDevice> getDevicesMatchingConnectionStates(in int[] states);
H A DBluetoothManager.java145 * states.
147 * <p> If none of the devices match any of the given states,
158 * @param states Array of states. States can be one of
164 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int profile, int[] states) { argument
177 devices = iGatt.getDevicesMatchingConnectionStates(states);
H A DIBluetoothHeadset.aidl31 List<BluetoothDevice> getDevicesMatchingConnectionStates(in int[] states);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaServiceStateTracker.java336 String states[] = (String[])ar.result;
343 if (states.length > 9) {
345 if (states[4] != null) {
346 baseStationId = Integer.parseInt(states[4]);
348 if (states[5] != null) {
349 baseStationLatitude = Integer.parseInt(states[5]);
351 if (states[6] != null) {
352 baseStationLongitude = Integer.parseInt(states[6]);
359 if (states[8] != null) {
360 systemId = Integer.parseInt(states[
[all...]
H A DCdmaLteServiceStateTracker.java101 String states[] = (String[])ar.result;
103 log("handlePollStateResultMessage: EVENT_POLL_STATE_GPRS states.length=" +
104 states.length + " states=" + states);
109 if (states.length > 0) {
111 regState = Integer.parseInt(states[0]);
113 // states[3] (if present) is the current radio technology
114 if (states.length >= 4 && states[
[all...]
/frameworks/base/core/java/android/text/method/
H A DKeyListener.java82 * Remove the given shift states from the edited text.
84 public void clearMetaKeyState(View view, Editable content, int states); argument
H A DMetaKeyKeyListener.java67 * // Use the combined meta states from the event and the key listener.
110 // so as not to conflict with any meta key states publicly defined by KeyEvent.
358 public void clearMetaKeyState(View view, Editable content, int states) { argument
359 clearMetaKeyState(content, states);
362 public static void clearMetaKeyState(Editable content, int states) { argument
363 if ((states&META_SHIFT_ON) != 0) content.removeSpan(CAP);
364 if ((states&META_ALT_ON) != 0) content.removeSpan(ALT);
365 if ((states&META_SYM_ON) != 0) content.removeSpan(SYM);
366 if ((states&META_SELECTING) != 0) content.removeSpan(SELECTING);
/frameworks/base/core/java/android/app/
H A DActivityGroup.java33 private static final String STATES_KEY = "android:states";
53 Bundle states = savedInstanceState != null
55 mLocalActivityManager.dispatchCreate(states);
/frameworks/base/libs/androidfw/
H A DBackupHelpers.cpp975 FileState states[4];
979 states[0].modTime_sec = 0xfedcba98;
980 states[0].modTime_nsec = 0xdeadbeef;
981 states[0].mode = 0777; // decimal 511, hex 0x000001ff
982 states[0].size = 0xababbcbc;
983 states[0].crc32 = 0x12345678;
984 states[0].nameLen = -12;
985 r.s = states[0];
989 states[1].modTime_sec = 0x93400031;
990 states[
[all...]
/frameworks/base/core/java/android/view/inputmethod/
H A DInputConnection.java668 * Clear the given meta key pressed states in the given input
671 * <p>This can be used by the IME to clear the meta key states set
675 * @param states The states to be cleared, may be one or more bits as
680 public boolean clearMetaKeyStates(int states); argument
H A DInputConnectionWrapper.java117 public boolean clearMetaKeyStates(int states) { argument
118 return mTarget.clearMetaKeyStates(states);
/frameworks/native/libs/utils/
H A DBufferedTextOutput.cpp84 Vector<sp<BufferedTextOutput::BufferState> > states; member in struct:android::BufferedTextOutput::ThreadState
266 while (ts->states.size() <= (size_t)mIndex) ts->states.add(NULL);
267 BufferState* bs = ts->states[mIndex].get();
270 ts->states.editItemAt(mIndex) = new BufferState(mIndex);
271 bs = ts->states[mIndex].get();
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmServiceStateTracker.java327 String states[] = (String[])ar.result;
330 if (states.length >= 3) {
332 if (states[1] != null && states[1].length() > 0) {
333 lac = Integer.parseInt(states[1], 16);
335 if (states[2] != null && states[2].length() > 0) {
336 cid = Integer.parseInt(states[2], 16);
577 String states[];
608 states
[all...]
/frameworks/base/core/java/android/content/res/
H A DColorStateList.java53 * states that a view must either be in or not be in and the color specifies the color associated
55 * An item with no state spec is considered to match any set of states and is generally useful as
76 * states to colors.
78 public ColorStateList(int[][] states, int[] colors) { argument
79 mStateSpecs = states;
82 if (states.length > 0) {
85 for (int i = 0; i < states.length; i++) {
86 if (states[i].length == 0) {
155 * Creates a new ColorStateList that has the same states and
264 * Return the color associated with the given set of {@link android.view.View} states
[all...]
/frameworks/base/graphics/java/android/graphics/drawable/
H A DStateListDrawable.java101 if (DEBUG) android.util.Log.i(TAG, "onStateChange " + this + " states "
157 int[] states = new int[numAttrs];
164 states[j++] = attrs.getAttributeBooleanValue(i, false)
169 states = StateSet.trimStateSet(states, j);
186 mStateListState.addStateSet(states, dr);
197 * Gets the number of states contained in this drawable.
199 * @return The number of states contained in this drawable.
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dblock_switch.c34 IIRFilter(const Word16 in, const Word32 coeff[], Word32 states[]);
339 static Word16 IIRFilter(const Word16 in, const Word32 coeff[], Word32 states[]) argument
345 accu3 = accu1 - states[0];
346 accu2 = fixmul( coeff[0], states[1] );
349 states[0] = accu1;
350 states[1] = out;
/frameworks/base/core/java/com/android/internal/view/
H A DIInputContext.aidl68 void clearMetaKeyStates(int states);
/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsImpl.java1402 && ((mHistoryLastWritten.states^mHistoryCur.states)&mChangedBufferStates) == 0) {
1417 mChangedBufferStates |= mHistoryLastWritten.states^mHistoryCur.states;
1432 // record changes to the battery level and the most interesting states.
1437 || ((mHistoryLastWritten.states^mHistoryCur.states)
1479 // and no states have since the last recorded entry changed and
1484 && ((mHistoryEnd.states^mHistoryCur.states)
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DEditableInputConnection.java99 public boolean clearMetaKeyStates(int states) { argument
105 kl.clearMetaKeyState(mTextView, content, states);

Completed in 3001 milliseconds

12