Searched refs:oldState (Results 1 - 16 of 16) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
H A DShiftKeyState.java31 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 DKeyboardShiftState.java37 final int oldState = mState;
39 switch (oldState) {
51 switch (oldState) {
63 Log.d(TAG, "setShifted(" + newShiftState + "): " + toString(oldState) + " > " + this);
64 return mState != oldState;
68 final int oldState = mState;
70 switch (oldState) {
79 switch (oldState) {
87 Log.d(TAG, "setShiftLocked(" + newShiftLockState + "): " + toString(oldState)
92 final int oldState
[all...]
H A DModifierKeyState.java39 final int oldState = mState;
42 Log.d(TAG, mName + ".onPress: " + toString(oldState) + " > " + this);
46 final int oldState = mState;
49 Log.d(TAG, mName + ".onRelease: " + toString(oldState) + " > " + this);
53 final int oldState = mState;
54 if (oldState == PRESSING)
57 Log.d(TAG, mName + ".onOtherKeyPressed: " + toString(oldState) + " > " + this);
/packages/apps/Contacts/tests/src/com/android/contacts/
H A DEntityModifierTests.java776 EntityDelta oldState = new EntityDelta();
787 oldState.addEntry(ValuesDelta.fromAfter(mockNameValues));
790 EntityModifier.migrateStructuredName(context, oldState, newState, kind);
827 EntityDelta oldState = new EntityDelta();
831 oldState.addEntry(ValuesDelta.fromAfter(mockNameValues));
834 EntityModifier.migrateStructuredName(context, oldState, newState, kind);
869 EntityDelta oldState = new EntityDelta();
877 oldState.addEntry(ValuesDelta.fromAfter(mockNameValues));
880 EntityModifier.migrateStructuredName(context, oldState, newState, kind);
895 EntityDelta oldState
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DStateManager.java201 void switchState(ActivityState oldState, argument
203 Log.v(TAG, "switchState " + oldState + ", " + klass);
204 if (oldState != mStack.peek().activityState) {
206 + " is not at the top of the stack: " + oldState + ", "
211 if (mIsResumed) oldState.onPause();
212 oldState.onDestroy();
/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DDockEventReceiver.java85 int oldState = intent.getIntExtra(BluetoothProfile.EXTRA_PREVIOUS_STATE, 0);
100 oldState != BluetoothProfile.STATE_DISCONNECTING) {
H A DLocalBluetoothProfileManager.java216 int oldState = intent.getIntExtra(BluetoothProfile.EXTRA_PREVIOUS_STATE, 0);
218 oldState == BluetoothProfile.STATE_CONNECTING) {
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
H A DDictionaryBackupAgent.java74 public void onBackup(ParcelFileDescriptor oldState, BackupDataOutput data, argument
79 long[] stateChecksums = readOldChecksums(oldState);
103 private long[] readOldChecksums(ParcelFileDescriptor oldState) throws IOException { argument
107 new FileInputStream(oldState.getFileDescriptor()));
/packages/providers/MediaProvider/src/com/android/providers/media/
H A DMtpService.java78 public void onStorageStateChanged(String path, String oldState, String newState) {
80 Log.d(TAG, "onStorageStateChanged " + path + " " + oldState + " -> " + newState);
83 } else if (Environment.MEDIA_MOUNTED.equals(oldState)) {
/packages/apps/Contacts/src/com/android/contacts/model/
H A DEntityModifier.java938 EntityDelta oldState, EntityDelta newState,
941 // Just copying all data in oldState isn't enough, but we can still rely on a lot of
947 migrateStructuredName(context, oldState, newState, kind);
949 List<ValuesDelta> entryList = oldState.getMimeEntries(mimeType);
962 // All the other data inside oldState are silently dropped.
971 migrateStructuredName(context, oldState, newState, kind);
973 migratePostal(oldState, newState, kind);
975 migrateEvent(oldState, newState, kind, null /* default Year */);
977 migrateGenericWithoutTypeColumn(oldState, newState, kind);
979 migrateGenericWithTypeColumn(oldState, newStat
937 migrateStateForNewContact(Context context, EntityDelta oldState, EntityDelta newState, AccountType oldAccountType, AccountType newAccountType) argument
1009 migrateStructuredName( Context context, EntityDelta oldState, EntityDelta newState, DataKind newDataKind) argument
1112 migratePostal(EntityDelta oldState, EntityDelta newState, DataKind newDataKind) argument
1223 migrateEvent(EntityDelta oldState, EntityDelta newState, DataKind newDataKind, Integer defaultYear) argument
1278 migrateGenericWithoutTypeColumn( EntityDelta oldState, EntityDelta newState, DataKind newDataKind) argument
1295 migrateGenericWithTypeColumn( EntityDelta oldState, EntityDelta newState, DataKind newDataKind) argument
[all...]
/packages/apps/Browser/src/com/android/browser/
H A DBrowserBackupAgent.java60 public void onBackup(ParcelFileDescriptor oldState, BackupDataOutput data, argument
68 new FileInputStream(oldState.getFileDescriptor()));
/packages/apps/Settings/src/com/android/settings/deviceinfo/
H A DMemory.java131 public void onStorageStateChanged(String path, String oldState, String newState) {
133 " changed state from " + oldState + " to " + newState);
/packages/apps/Mms/src/com/android/mms/data/
H A DWorkingMessage.java1035 int oldState = mMmsState;
1044 if (mMmsState == FORCE_MMS && ((oldState & ~FORCE_MMS) > 0)) {
1051 if (oldState == 0 && mMmsState != 0) {
1053 } else if (oldState != 0 && mMmsState == 0) {
1058 if (oldState != mMmsState) {
/packages/apps/Contacts/src/com/android/contacts/editor/
H A DContactEditorFragment.java605 * @param oldState Old data being edited.
606 * @param oldAccount Old account associated with oldState.
610 EntityDelta oldState, AccountWithDataSet oldAccount, AccountWithDataSet newAccount) {
624 bindEditorsForNewContact(newAccount, newAccountType, oldState, oldAccountType);
634 final AccountType newAccountType, EntityDelta oldState, AccountType oldAccountType) {
649 if (oldState == null) {
653 EntityModifier.migrateStateForNewContact(mContext, oldState, insert,
609 rebindEditorsForNewContact( EntityDelta oldState, AccountWithDataSet oldAccount, AccountWithDataSet newAccount) argument
633 bindEditorsForNewContact(AccountWithDataSet newAccount, final AccountType newAccountType, EntityDelta oldState, AccountType oldAccountType) argument
/packages/apps/Phone/src/com/android/phone/
H A DBluetoothHandsfree.java895 int oldState = intent.getIntExtra(BluetoothProfile.EXTRA_PREVIOUS_STATE,
914 if (oldState == BluetoothA2dp.STATE_PLAYING &&
/packages/apps/Launcher2/src/com/android/launcher2/
H A DWorkspace.java1595 final State oldState = mState;
1596 final boolean oldStateIsNormal = (oldState == State.NORMAL);
1597 final boolean oldStateIsSmall = (oldState == State.SMALL);

Completed in 308 milliseconds