Searched refs:states (Results 1 - 25 of 43) 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/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.java130 * states.
132 * <p> If none of the devices match any of the given states,
137 * @param states Array of states. States can be one of
142 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 DIBluetoothHeadset.aidl31 List<BluetoothDevice> getDevicesMatchingConnectionStates(in int[] states);
/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/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaServiceStateTracker.java341 String states[] = (String[])ar.result;
348 if (states.length > 9) {
350 if (states[4] != null) {
351 baseStationId = Integer.parseInt(states[4]);
353 if (states[5] != null) {
354 baseStationLatitude = Integer.parseInt(states[5]);
356 if (states[6] != null) {
357 baseStationLongitude = Integer.parseInt(states[6]);
364 if (states[8] != null) {
365 systemId = Integer.parseInt(states[
[all...]
H A DCdmaLteServiceStateTracker.java120 String states[] = (String[])ar.result;
122 log("handlePollStateResultMessage: EVENT_POLL_STATE_GPRS states.length=" +
123 states.length + " states=" + states);
128 if (states.length > 0) {
130 regState = Integer.parseInt(states[0]);
132 // states[3] (if present) is the current radio technology
133 if (states.length >= 4 && states[
[all...]
/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/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmServiceStateTracker.java330 String states[] = (String[])ar.result;
333 if (states.length >= 3) {
335 if (states[1] != null && states[1].length() > 0) {
336 lac = Integer.parseInt(states[1], 16);
338 if (states[2] != null && states[2].length() > 0) {
339 cid = Integer.parseInt(states[2], 16);
578 String states[];
609 states
[all...]
/frameworks/base/core/java/android/view/inputmethod/
H A DInputConnection.java328 * Clear the given meta key pressed states in the given input connection.
330 * @param states The states to be cleared, may be one or more bits as
336 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/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.java1275 && ((mHistoryLastWritten.states^mHistoryCur.states)&mChangedBufferStates) == 0) {
1290 mChangedBufferStates |= mHistoryLastWritten.states^mHistoryCur.states;
1305 // record changes to the battery level and the most interesting states.
1310 || ((mHistoryLastWritten.states^mHistoryCur.states)
1352 // and no states have since the last recorded entry changed and
1357 && ((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);
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
H A DTargetDrawable.java126 int[] states = d.getState();
127 for (int i = 0; i < states.length; i++) {
128 if (states[i] == android.R.attr.state_focused) {
/frameworks/base/core/java/android/os/
H A DBatteryStats.java449 // These states always appear directly in the first int token
474 public int states; field in class:BatteryStats.HistoryItem
499 dest.writeInt(states);
512 states = src.readInt();
550 | (states&DELTA_STATE_MASK);
589 + " states=0x" + Integer.toHexString(states));
603 | (states&(~DELTA_STATE_MASK));
643 states = (firstToken&DELTA_STATE_MASK) | (stateInt&(~DELTA_STATE_MASK));
652 + " states
[all...]

Completed in 580 milliseconds

12