/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
H A D | ShiftKeyState.java | 31 int oldState = mState; 32 if (oldState == PRESSING) { 34 } else if (oldState == PRESSING_ON_SHIFTED) { 38 Log.d(TAG, mName + ".onOtherKeyPressed: " + toString(oldState) + " > " + this); 42 int oldState = mState; 45 Log.d(TAG, mName + ".onPressOnShifted: " + toString(oldState) + " > " + this);
|
H A D | AlphabetShiftState.java | 35 final int oldState = mState; 37 switch (oldState) { 49 switch (oldState) { 61 Log.d(TAG, "setShifted(" + newShiftState + "): " + toString(oldState) + " > " + this); 65 final int oldState = mState; 67 switch (oldState) { 79 Log.d(TAG, "setShiftLocked(" + newShiftLockState + "): " + toString(oldState) 84 final int oldState = mState; 87 Log.d(TAG, "setAutomaticShifted: " + toString(oldState) + " > " + this);
|
H A D | ModifierKeyState.java | 37 final int oldState = mState; 40 Log.d(TAG, mName + ".onPress: " + toString(oldState) + " > " + this); 44 final int oldState = mState; 47 Log.d(TAG, mName + ".onRelease: " + toString(oldState) + " > " + this); 51 final int oldState = mState; 52 if (oldState == PRESSING) 55 Log.d(TAG, mName + ".onOtherKeyPressed: " + toString(oldState) + " > " + this);
|
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/ |
H A D | RawContactModifierTests.java | 782 RawContactDelta oldState = new RawContactDelta(); 793 oldState.addEntry(ValuesDelta.fromAfter(mockNameValues)); 796 RawContactModifier.migrateStructuredName(context, oldState, newState, kind); 833 RawContactDelta oldState = new RawContactDelta(); 837 oldState.addEntry(ValuesDelta.fromAfter(mockNameValues)); 840 RawContactModifier.migrateStructuredName(context, oldState, newState, kind); 875 RawContactDelta oldState = new RawContactDelta(); 883 oldState.addEntry(ValuesDelta.fromAfter(mockNameValues)); 886 RawContactModifier.migrateStructuredName(context, oldState, newState, kind); 901 RawContactDelta oldState [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
H A D | StateManager.java | 225 public void switchState(ActivityState oldState, argument 227 Log.v(TAG, "switchState " + oldState + ", " + klass); 228 if (oldState != mStack.peek().activityState) { 230 + " is not at the top of the stack: " + oldState + ", " 237 oldState.transitionOnNextPause(oldState.getClass(), klass, 240 if (mIsResumed) oldState.onPause(); 241 oldState.onDestroy();
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
H A D | BondStateMachine.java | 255 int oldState = BluetoothDevice.BOND_NONE; 257 oldState = devProp.getBondState(); 259 if (oldState == newState) return; 265 intent.putExtra(BluetoothDevice.EXTRA_PREVIOUS_BOND_STATE, oldState); 270 infoLog("Bond State Change Intent:" + device + " OldState: " + oldState
|
H A D | AdapterState.java | 367 int oldState = adapterProperties.getState(); 369 infoLog("Bluetooth adapter state changed: " + oldState + "-> " + newState); 370 adapterService.updateAdapterState(oldState, newState);
|
H A D | AdapterProperties.java | 382 private void updateProfileConnectionState(int profile, int newState, int oldState) { argument 400 // decrement numDevices but maintain oldState if it is Connected or 413 } else if (numDev == 1 && oldState == currHashState) { 415 } else if (numDev > 1 && oldState == currHashState) {
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
H A D | DockEventReceiver.java | 88 int oldState = intent.getIntExtra(BluetoothProfile.EXTRA_PREVIOUS_STATE, 0); 103 oldState != BluetoothProfile.STATE_DISCONNECTING) {
|
H A D | LocalBluetoothProfileManager.java | 234 int oldState = intent.getIntExtra(BluetoothProfile.EXTRA_PREVIOUS_STATE, 0); 236 oldState == BluetoothProfile.STATE_CONNECTING) {
|
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/ |
H A D | DictionaryBackupAgent.java | 78 public void onBackup(ParcelFileDescriptor oldState, BackupDataOutput data, argument 83 long[] stateChecksums = readOldChecksums(oldState); 107 private long[] readOldChecksums(ParcelFileDescriptor oldState) throws IOException { argument 111 new FileInputStream(oldState.getFileDescriptor()));
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
H A D | MtpService.java | 97 public void onStorageStateChanged(String path, String oldState, String newState) { 99 Log.d(TAG, "onStorageStateChanged " + path + " " + oldState + " -> " + newState); 102 } else if (Environment.MEDIA_MOUNTED.equals(oldState)) {
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/ |
H A D | RawContactModifier.java | 970 RawContactDelta oldState, RawContactDelta newState, 973 // Just copying all data in oldState isn't enough, but we can still rely on a lot of 979 migrateStructuredName(context, oldState, newState, kind); 981 List<ValuesDelta> entryList = oldState.getMimeEntries(mimeType); 994 // All the other data inside oldState are silently dropped. 1003 migrateStructuredName(context, oldState, newState, kind); 1005 migratePostal(oldState, newState, kind); 1007 migrateEvent(oldState, newState, kind, null /* default Year */); 1009 migrateGenericWithoutTypeColumn(oldState, newState, kind); 1011 migrateGenericWithTypeColumn(oldState, newStat 969 migrateStateForNewContact(Context context, RawContactDelta oldState, RawContactDelta newState, AccountType oldAccountType, AccountType newAccountType) argument 1041 migrateStructuredName( Context context, RawContactDelta oldState, RawContactDelta newState, DataKind newDataKind) argument 1145 migratePostal(RawContactDelta oldState, RawContactDelta newState, DataKind newDataKind) argument 1256 migrateEvent(RawContactDelta oldState, RawContactDelta newState, DataKind newDataKind, Integer defaultYear) argument 1312 migrateGenericWithoutTypeColumn( RawContactDelta oldState, RawContactDelta newState, DataKind newDataKind) argument 1329 migrateGenericWithTypeColumn( RawContactDelta oldState, RawContactDelta newState, DataKind newDataKind) argument [all...] |
/packages/apps/Browser/src/com/android/browser/ |
H A D | BrowserBackupAgent.java | 60 public void onBackup(ParcelFileDescriptor oldState, BackupDataOutput data, argument 68 new FileInputStream(oldState.getFileDescriptor()));
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
H A D | Memory.java | 141 public void onStorageStateChanged(String path, String oldState, String newState) { 143 " changed state from " + oldState + " to " + newState);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | LauncherBackupHelper.java | 168 * @param oldState notes from the last backup 174 public void performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, argument 178 Journal in = readJournal(oldState); 948 * @param oldState the read-0only file descriptor pointing to the old journal 951 private Journal readJournal(ParcelFileDescriptor oldState) { argument 953 if (oldState == null) { 956 FileInputStream inStream = new FileInputStream(oldState.getFileDescriptor());
|
H A D | Workspace.java | 2130 final State oldState = mState; 2131 final boolean oldStateIsNormal = (oldState == State.NORMAL); 2132 final boolean oldStateIsSpringLoaded = (oldState == State.SPRING_LOADED); 2133 final boolean oldStateIsSmall = (oldState == State.SMALL); 2134 final boolean oldStateIsOverview = (oldState == State.OVERVIEW);
|
/packages/apps/Mms/src/com/android/mms/data/ |
H A D | WorkingMessage.java | 1138 int oldState = mMmsState; 1147 if (mMmsState == FORCE_MMS && ((oldState & ~FORCE_MMS) > 0)) { 1154 if (oldState == 0 && mMmsState != 0) { 1156 } else if (oldState != 0 && mMmsState == 0) { 1161 if (oldState != mMmsState) {
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
H A D | ContactEditorFragment.java | 687 * @param oldState Old data being edited. 688 * @param oldAccount Old account associated with oldState. 692 RawContactDelta oldState, AccountWithDataSet oldAccount, 709 bindEditorsForNewContact(newAccount, newAccountType, oldState, oldAccountType); 722 final AccountType newAccountType, RawContactDelta oldState, 735 if (oldState == null) { 739 RawContactModifier.migrateStateForNewContact(mContext, oldState, insert, 691 rebindEditorsForNewContact( RawContactDelta oldState, AccountWithDataSet oldAccount, AccountWithDataSet newAccount) argument 721 bindEditorsForNewContact(AccountWithDataSet newAccount, final AccountType newAccountType, RawContactDelta oldState, AccountType oldAccountType) argument
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
H A D | ConversationViewFragment.java | 1307 final int oldState = oldCursor.getStateHashCode(); 1308 final boolean changed = newCursor.getStateHashCode() != oldState; 1322 final boolean sameExceptNewLast = newCursor.getStateHashCode(1) == oldState;
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
H A D | ConversationCursor.java | 552 final int oldState = mDrawState; 554 if (oldState != newState) {
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | Workspace.java | 1579 final State oldState = mState; 1580 final boolean oldStateIsNormal = (oldState == State.NORMAL); 1581 final boolean oldStateIsSpringLoaded = (oldState == State.SPRING_LOADED); 1582 final boolean oldStateIsSmall = (oldState == State.SMALL);
|