/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
H A D | CameraStateHolder.java | 84 * @param states Expected states. 88 public boolean waitForStates(final int states) { argument 89 Log.v(TAG, "waitForStates - states = " + Integer.toBinaryString(states)); 93 return (states | getState()) == states; 102 * @param states States to avoid. 106 public boolean waitToAvoidStates(final int states) { argument 107 Log.v(TAG, "waitToAvoidStates - states [all...] |
/frameworks/base/core/java/android/util/ |
H A D | StateSet.java | 25 * 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/ex/camera2/public/src/com/android/ex/camera2/utils/ |
H A D | StateWaiter.java | 34 * requested type arrives. Unobserved states are states that have occurred since 60 * <p>All {@code state}/{@code states} arguments used in other methods must be 63 * @param stateNames an array of string names, used to mark the range of the valid states 104 * Wait until the one of the desired {@code states} is observed, checking all 107 * <p>Any intermediate state transitions that are not in {@code states} are ignored.</p> 111 * @param states Set of desired states to observe a transition to. 117 * @throws TimeoutRuntimeException if none of the states is observed before timeout. 120 public int waitForAnyOfStates(Collection<Integer> states, fina argument 180 appendStateNames(StringBuilder s, Collection<Integer> states) argument 212 checkStateCollectionInRange(Collection<Integer> states) argument [all...] |
/frameworks/opt/colorpicker/src/com/android/colorpicker/ |
H A D | ColorStateDrawable.java | 40 protected boolean onStateChange(int[] states) { argument 42 for (int state : states) { 55 return super.onStateChange(states);
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | IBluetoothAvrcpController.aidl | 28 List<BluetoothDevice> getDevicesMatchingConnectionStates(in int[] states);
|
H A D | IBluetoothA2dpSink.aidl | 31 List<BluetoothDevice> getDevicesMatchingConnectionStates(in int[] states);
|
H A D | IBluetoothPan.aidl | 33 List<BluetoothDevice> getDevicesMatchingConnectionStates(in int[] states);
|
H A D | BluetoothProfile.java | 164 * states. 166 * <p> If none of the devices match any of the given states, 171 * @param states Array of states. States can be one of 176 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states); argument
|
H A D | IBluetoothA2dp.aidl | 31 List<BluetoothDevice> getDevicesMatchingConnectionStates(in int[] states);
|
H A D | IBluetoothMap.aidl | 33 List<BluetoothDevice> getDevicesMatchingConnectionStates(in int[] states);
|
H A D | IBluetoothHealth.aidl | 40 List<BluetoothDevice> getHealthDevicesMatchingConnectionStates(in int[] states);
|
H A D | IBluetoothInputDevice.aidl | 31 List<BluetoothDevice> getDevicesMatchingConnectionStates(in int[] states);
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | TintManager.java | 230 final int[][] states = new int[7][]; 235 states[i] = new int[] { -android.R.attr.state_enabled }; 239 states[i] = new int[] { android.R.attr.state_focused }; 243 states[i] = new int[] { android.R.attr.state_activated }; 247 states[i] = new int[] { android.R.attr.state_pressed }; 251 states[i] = new int[] { android.R.attr.state_checked }; 255 states[i] = new int[] { android.R.attr.state_selected }; 260 states[i] = new int[0]; 264 mDefaultColorStateList = new ColorStateList(states, colors); 271 final int[][] states [all...] |
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/ |
H A D | BlockingStateCallback.java | 35 * requested type arrives. Unobserved states are states that have occurred since 98 * Total number of reachable states 152 * Wait until the one of the desired states is observed, checking all 157 * @param states Set of desired states to observe a transition to. 161 * @throws TimeoutRuntimeException if none of the states is observed before timeout. 164 public int waitForAnyOfStates(Collection<Integer> states, final long timeout) { argument 171 appendStates(s, states); 184 if (states 219 appendStates(StringBuilder s, Collection<Integer> states) argument [all...] |
/frameworks/base/core/java/android/text/method/ |
H A D | KeyListener.java | 82 * Remove the given shift states from the edited text. 84 public void clearMetaKeyState(View view, Editable content, int states); argument
|
/frameworks/base/core/java/android/app/ |
H A D | ActivityGroup.java | 33 private static final String STATES_KEY = "android:states"; 53 Bundle states = savedInstanceState != null 55 mLocalActivityManager.dispatchCreate(states);
|
/frameworks/base/libs/androidfw/ |
H A D | BackupHelpers.cpp | 978 FileState states[4]; 982 states[0].modTime_sec = 0xfedcba98; 983 states[0].modTime_nsec = 0xdeadbeef; 984 states[0].mode = 0777; // decimal 511, hex 0x000001ff 985 states[0].size = 0xababbcbc; 986 states[0].crc32 = 0x12345678; 987 states[0].nameLen = -12; 988 r.s = states[0]; 992 states[1].modTime_sec = 0x93400031; 993 states[ [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
H A D | CdmaServiceStateTracker.java | 363 String states[] = (String[])ar.result; 370 if (states.length > 9) { 372 if (states[4] != null) { 373 baseStationId = Integer.parseInt(states[4]); 375 if (states[5] != null) { 376 baseStationLatitude = Integer.parseInt(states[5]); 378 if (states[6] != null) { 379 baseStationLongitude = Integer.parseInt(states[6]); 386 if (states[8] != null) { 387 systemId = Integer.parseInt(states[ [all...] |
H A D | CdmaLteServiceStateTracker.java | 141 String states[] = (String[])ar.result; 143 log("handlePollStateResultMessage: EVENT_POLL_STATE_GPRS states.length=" + 144 states.length + " states=" + states); 149 if (states.length > 0) { 151 regState = Integer.parseInt(states[0]); 153 // states[3] (if present) is the current radio technology 154 if (states.length >= 4 && states[ [all...] |
/frameworks/base/core/java/android/view/inputmethod/ |
H A D | InputConnection.java | 682 * Clear the given meta key pressed states in the given input 685 * <p>This can be used by the IME to clear the meta key states set 689 * @param states The states to be cleared, may be one or more bits as 694 public boolean clearMetaKeyStates(int states); argument
|
H A D | InputConnectionWrapper.java | 117 public boolean clearMetaKeyStates(int states) { argument 118 return mTarget.clearMetaKeyStates(states);
|
/frameworks/native/libs/binder/ |
H A D | BufferedTextOutput.cpp | 84 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 D | GsmServiceStateTracker.java | 348 String states[] = (String[])ar.result; 351 if (states.length >= 3) { 353 if (states[1] != null && states[1].length() > 0) { 354 lac = Integer.parseInt(states[1], 16); 356 if (states[2] != null && states[2].length() > 0) { 357 cid = Integer.parseInt(states[2], 16); 662 String states[]; 693 states [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | StateListDrawable.java | 106 if (DEBUG) android.util.Log.i(TAG, "onStateChange " + this + " states " 159 int[] states = new int[numAttrs]; 166 states[j++] = attrs.getAttributeBooleanValue(i, false) 171 states = StateSet.trimStateSet(states, j); 188 mStateListState.addStateSet(states, dr); 199 * Gets the number of states contained in this drawable. 201 * @return The number of states contained in this drawable. 272 // we're accessing potentially unused states.
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
H A D | block_switch.c | 34 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;
|