/frameworks/base/core/java/android/util/ |
D | StateSet.java | 143 public static int[] trimStateSet(int[] states, int newSize) { in trimStateSet() argument 144 if (states.length == newSize) { in trimStateSet() 145 return states; in trimStateSet() 149 System.arraycopy(states, 0, trimmedStates, 0, newSize); in trimStateSet() 153 public static String dump(int[] states) { in dump() argument 156 int count = states.length; in dump() 159 switch (states[i]) { in dump()
|
/frameworks/base/libs/androidfw/ |
D | BackupHelpers.cpp | 975 FileState states[4]; in backup_helper_test_four() local 979 states[0].modTime_sec = 0xfedcba98; in backup_helper_test_four() 980 states[0].modTime_nsec = 0xdeadbeef; in backup_helper_test_four() 981 states[0].mode = 0777; // decimal 511, hex 0x000001ff in backup_helper_test_four() 982 states[0].size = 0xababbcbc; in backup_helper_test_four() 983 states[0].crc32 = 0x12345678; in backup_helper_test_four() 984 states[0].nameLen = -12; in backup_helper_test_four() 985 r.s = states[0]; in backup_helper_test_four() 989 states[1].modTime_sec = 0x93400031; in backup_helper_test_four() 990 states[1].modTime_nsec = 0xdeadbeef; in backup_helper_test_four() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
D | CdmaServiceStateTracker.java | 341 String states[] = (String[])ar.result; in handleMessage() local 348 if (states.length > 9) { in handleMessage() 350 if (states[4] != null) { in handleMessage() 351 baseStationId = Integer.parseInt(states[4]); in handleMessage() 353 if (states[5] != null) { in handleMessage() 354 baseStationLatitude = Integer.parseInt(states[5]); in handleMessage() 356 if (states[6] != null) { in handleMessage() 357 baseStationLongitude = Integer.parseInt(states[6]); in handleMessage() 364 if (states[8] != null) { in handleMessage() 365 systemId = Integer.parseInt(states[8]); in handleMessage() [all …]
|
D | CdmaLteServiceStateTracker.java | 120 String states[] = (String[])ar.result; in handlePollStateResultMessage() local 123 states.length + " states=" + states); in handlePollStateResultMessage() 128 if (states.length > 0) { in handlePollStateResultMessage() 130 regState = Integer.parseInt(states[0]); in handlePollStateResultMessage() 133 if (states.length >= 4 && states[3] != null) { in handlePollStateResultMessage() 134 type = Integer.parseInt(states[3]); in handlePollStateResultMessage() 140 if (states.length >= 10) { in handlePollStateResultMessage() 174 tac = Integer.decode(states[6]); in handlePollStateResultMessage() 177 states[6] + " e=" + e); in handlePollStateResultMessage() 181 pci = Integer.decode(states[7]); in handlePollStateResultMessage() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
D | GsmServiceStateTracker.java | 330 String states[] = (String[])ar.result; in handleMessage() local 333 if (states.length >= 3) { in handleMessage() 335 if (states[1] != null && states[1].length() > 0) { in handleMessage() 336 lac = Integer.parseInt(states[1], 16); in handleMessage() 338 if (states[2] != null && states[2].length() > 0) { in handleMessage() 339 cid = Integer.parseInt(states[2], 16); in handleMessage() 578 String states[]; in handlePollStateResult() local 609 states = (String[])ar.result; in handlePollStateResult() 615 if (states.length > 0) { in handlePollStateResult() 617 regState = Integer.parseInt(states[0]); in handlePollStateResult() [all …]
|
/frameworks/native/libs/utils/ |
D | BufferedTextOutput.cpp | 84 Vector<sp<BufferedTextOutput::BufferState> > states; member 266 while (ts->states.size() <= (size_t)mIndex) ts->states.add(NULL); in getBuffer() 267 BufferState* bs = ts->states[mIndex].get(); in getBuffer() 270 ts->states.editItemAt(mIndex) = new BufferState(mIndex); in getBuffer() 271 bs = ts->states[mIndex].get(); in getBuffer()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsImpl.java | 1275 && ((mHistoryLastWritten.states^mHistoryCur.states)&mChangedBufferStates) == 0) { in addHistoryBufferLocked() 1290 mChangedBufferStates |= mHistoryLastWritten.states^mHistoryCur.states; in addHistoryBufferLocked() 1310 || ((mHistoryLastWritten.states^mHistoryCur.states) in addHistoryBufferLocked() 1357 && ((mHistoryEnd.states^mHistoryCur.states)&mChangedStates) == 0) { in addHistoryRecordLocked() 1369 mChangedStates |= mHistoryEnd.states^mHistoryCur.states; in addHistoryRecordLocked() 1390 || ((mHistoryEnd.states^mHistoryCur.states) in addHistoryRecordLocked() 1529 mHistoryCur.states |= HistoryItem.STATE_WAKE_LOCK_FLAG; in noteStartWakeLocked() 1531 + Integer.toHexString(mHistoryCur.states)); in noteStartWakeLocked() 1549 mHistoryCur.states &= ~HistoryItem.STATE_WAKE_LOCK_FLAG; in noteStopWakeLocked() 1551 + Integer.toHexString(mHistoryCur.states)); in noteStopWakeLocked() [all …]
|
/frameworks/base/core/java/android/content/res/ |
D | ColorStateList.java | 78 public ColorStateList(int[][] states, int[] colors) { in ColorStateList() argument 79 mStateSpecs = states; in ColorStateList() 82 if (states.length > 0) { in ColorStateList() 85 for (int i = 0; i < states.length; i++) { in ColorStateList() 86 if (states[i].length == 0) { in ColorStateList()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | StateListDrawable.java | 157 int[] states = new int[numAttrs]; in inflate() local 164 states[j++] = attrs.getAttributeBooleanValue(i, false) in inflate() 169 states = StateSet.trimStateSet(states, j); in inflate() 186 mStateListState.addStateSet(states, dr); in inflate()
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
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[]) in IIRFilter() argument 345 accu3 = accu1 - states[0]; in IIRFilter() 346 accu2 = fixmul( coeff[0], states[1] ); in IIRFilter() 349 states[0] = accu1; in IIRFilter() 350 states[1] = out; in IIRFilter()
|
/frameworks/base/core/java/android/text/method/ |
D | MetaKeyKeyListener.java | 358 public void clearMetaKeyState(View view, Editable content, int states) { in clearMetaKeyState() argument 359 clearMetaKeyState(content, states); in clearMetaKeyState() 362 public static void clearMetaKeyState(Editable content, int states) { in clearMetaKeyState() argument 363 if ((states&META_SHIFT_ON) != 0) content.removeSpan(CAP); in clearMetaKeyState() 364 if ((states&META_ALT_ON) != 0) content.removeSpan(ALT); in clearMetaKeyState() 365 if ((states&META_SYM_ON) != 0) content.removeSpan(SYM); in clearMetaKeyState() 366 if ((states&META_SELECTING) != 0) content.removeSpan(SELECTING); in clearMetaKeyState()
|
D | KeyListener.java | 84 public void clearMetaKeyState(View view, Editable content, int states); in clearMetaKeyState() argument
|
/frameworks/base/core/java/android/os/ |
D | BatteryStats.java | 476 public int states; field in BatteryStats.HistoryItem 501 dest.writeInt(states); in writeToParcel() 514 states = src.readInt(); in readFromParcel() 552 | (states&DELTA_STATE_MASK); in writeDelta() 591 + " states=0x" + Integer.toHexString(states)); in writeDelta() 605 | (states&(~DELTA_STATE_MASK)); in buildStateInt() 645 states = (firstToken&DELTA_STATE_MASK) | (stateInt&(~DELTA_STATE_MASK)); in readDelta() 654 + " states=0x" + Integer.toHexString(states)); in readDelta() 656 states = (firstToken&DELTA_STATE_MASK) | (states&(~DELTA_STATE_MASK)); in readDelta() 669 states = 0; in clear() [all …]
|
/frameworks/base/core/java/android/app/ |
D | ActivityGroup.java | 53 Bundle states = savedInstanceState != null in onCreate() local 55 mLocalActivityManager.dispatchCreate(states); in onCreate()
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | InputConnectionWrapper.java | 117 public boolean clearMetaKeyStates(int states) { in clearMetaKeyStates() argument 118 return mTarget.clearMetaKeyStates(states); in clearMetaKeyStates()
|
D | InputConnection.java | 336 public boolean clearMetaKeyStates(int states); in clearMetaKeyStates() argument
|
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/ |
D | TargetDrawable.java | 126 int[] states = d.getState(); in isActive() local 127 for (int i = 0; i < states.length; i++) { in isActive() 128 if (states[i] == android.R.attr.state_focused) { in isActive()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | Keyboard.java | 479 int[] states = KEY_STATE_NORMAL; in getCurrentDrawableState() local 483 states = KEY_STATE_PRESSED_ON; in getCurrentDrawableState() 485 states = KEY_STATE_NORMAL_ON; in getCurrentDrawableState() 490 states = KEY_STATE_PRESSED_OFF; in getCurrentDrawableState() 492 states = KEY_STATE_NORMAL_OFF; in getCurrentDrawableState() 496 states = KEY_STATE_PRESSED; in getCurrentDrawableState() 500 return states; in getCurrentDrawableState()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | EditableInputConnection.java | 99 public boolean clearMetaKeyStates(int states) { in clearMetaKeyStates() argument 105 kl.clearMetaKeyState(mTextView, content, states); in clearMetaKeyStates()
|
/frameworks/base/core/java/android/bluetooth/ |
D | IBluetoothPan.aidl | 33 List<BluetoothDevice> getDevicesMatchingConnectionStates(in int[] states); in getDevicesMatchingConnectionStates() argument
|
D | IBluetoothA2dp.aidl | 31 List<BluetoothDevice> getDevicesMatchingConnectionStates(in int[] states); in getDevicesMatchingConnectionStates() argument
|
D | BluetoothProfile.java | 142 public List<BluetoothDevice> getDevicesMatchingConnectionStates(int[] states); in getDevicesMatchingConnectionStates() argument
|
D | IBluetoothInputDevice.aidl | 31 List<BluetoothDevice> getDevicesMatchingConnectionStates(in int[] states); in getDevicesMatchingConnectionStates() argument
|
D | IBluetoothHealth.aidl | 40 List<BluetoothDevice> getHealthDevicesMatchingConnectionStates(in int[] states); in getHealthDevicesMatchingConnectionStates() argument
|
/frameworks/base/docs/html/training/basics/activity-lifecycle/ |
D | starting.jd | 17 <li><a href="#lifecycle-states">Understand the Lifecycle Callbacks</a></li> 50 <h2 id="lifecycle-states">Understand the Lifecycle Callbacks</h2> 116 transitions between different states that are illustrated in figure 1. However, only three of 117 these states can be static. That is, the activity can exist in one of only three states for an 133 <p>The other states (Created and Started) are transient and the system quickly moves from them to 228 in quick succession. Your activity never resides in the Created or Started states. Technically, the 236 activity's lifecycle when used to resume the activity from the Paused or Stopped states.</p>
|