/packages/apps/Contacts/tests/src/com/android/contacts/editor/ |
D | ContactEditorUtilsTest.java | 54 private ContactEditorUtils mTarget; field in ContactEditorUtilsTest 69 mTarget = ContactEditorUtils.create(InstrumentationRegistry.getTargetContext()); in setUp() 72 mTarget.cleanupForTest(); in setUp() 82 mTarget.saveDefaultAccount(null); in testSaveDefaultAccount() 83 assertNull(mTarget.getOnlyOrDefaultAccount(Collections.<AccountWithDataSet>emptyList())); in testSaveDefaultAccount() 85 mTarget.saveDefaultAccount(ACCOUNT_1_A); in testSaveDefaultAccount() 86 assertEquals(ACCOUNT_1_A, mTarget.getOnlyOrDefaultAccount(Collections. in testSaveDefaultAccount() 98 assertTrue(mTarget.shouldShowAccountChangedNotification(currentAccounts)); in testShouldShowAccountChangedNotification_0Accounts() 106 mTarget.saveDefaultAccount(ACCOUNT_1_A); in testShouldShowAccountChangedNotification_0Accounts() 109 assertFalse(mTarget.shouldShowAccountChangedNotification(currentAccounts)); in testShouldShowAccountChangedNotification_0Accounts() [all …]
|
/packages/apps/Email/tests/src/com/android/email/ |
D | ThrottleTest.java | 40 private final Throttle mTarget = new Throttle("test", mRunnable, new CallItNowHandler(), field in ThrottleTest 56 mTarget.onEvent(); in testSingleCalls() 75 mTarget.onEvent(); in testSingleCalls() 100 mTarget.onEvent(); in testMultiCalls() 102 mTarget.onEvent(); in testMultiCalls() 104 mTarget.onEvent(); in testMultiCalls() 106 mTarget.onEvent(); in testMultiCalls() 108 mTarget.onEvent(); in testMultiCalls() 111 assertTrue(mTarget.getTimeoutForTest() > 100); in testMultiCalls() 120 assertEquals(100, mTarget.getTimeoutForTest()); [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | PhotoFallbackEffect.java | 57 private RectF mTarget = new RectF(); field in PhotoFallbackEffect 115 mTarget.set(cx - ch / 2, cy - ch / 2, cx + ch / 2, cy + ch / 2); in drawEntry() 117 canvas.drawTexture(entry.texture, mSource, mTarget); in drawEntry() 123 mTarget.set(cx - cw / 2, cy - ch / 2, cx - ch / 2, cy + ch / 2); in drawEntry() 125 canvas.drawTexture(entry.texture, mSource, mTarget); in drawEntry() 128 mTarget.set(cx + ch / 2, cy - ch / 2, cx + cw / 2, cy + ch / 2); in drawEntry() 130 canvas.drawTexture(entry.texture, mSource, mTarget); in drawEntry() 135 mTarget.set(cx - cw / 2, cy - cw / 2, cx + cw / 2, cy + cw / 2); in drawEntry() 137 canvas.drawTexture(entry.texture, mSource, mTarget); in drawEntry() 143 mTarget.set(cx - cw / 2, cy - ch / 2, cx + cw / 2, cy - cw / 2); in drawEntry() [all …]
|
D | SlotView.java | 752 private int mTarget; field in SlotView.IntegerAnimation 763 mTarget = mCurrent = target; in startAnimateTo() 766 if (target == mTarget) return; in startAnimateTo() 769 mTarget = target; in startAnimateTo() 779 return mTarget; in getTarget() 784 mCurrent = Math.round(mFrom + progress * (mTarget - mFrom)); in onCalculate()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/ |
D | BluetoothDevicePairer.java | 221 if (device.equals(mTarget)) { 267 private BluetoothDevice mTarget; field in BluetoothDevicePairer 416 return mTarget; in getTargetDevice() 447 mTarget = device; in startPairing() 505 mTarget = candidate; in updatePairingState() 506 startPairing(mTarget, false); in updatePairingState() 543 unpairDevice(mTarget); in doCancel() 545 mTarget = null; in doCancel() 566 if (mTarget.getBondState() != BluetoothDevice.BOND_BONDED) { in startBonding() 570 mTarget.createBond(); in startBonding() [all …]
|
D | BluetoothInputDeviceConnector.java | 59 if (mTarget != null) { 62 Log.d(TAG, "Connecting to target: " + mTarget.getAddress()); 66 mInputProxy.connect(mTarget); 71 mInputProxy.setPriority(mTarget, BluetoothProfile.PRIORITY_AUTO_CONNECT); 79 private BluetoothDevice mTarget; field in BluetoothInputDeviceConnector 150 mTarget = target; in BluetoothInputDeviceConnector()
|
D | BluetoothA2dpConnector.java | 37 private BluetoothDevice mTarget; field in BluetoothA2dpConnector 51 if (device.equals(mTarget)) { 95 Log.d(TAG, "Connecting to target: " + mTarget.getAddress()); 102 mA2dpProfile.connect(mTarget); 107 mA2dpProfile.setPriority(mTarget, BluetoothProfile.PRIORITY_AUTO_CONNECT); 117 mTarget = target; in BluetoothA2dpConnector()
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | ImageViewDrawableSetter.java | 41 private ImageView mTarget; field in ImageViewDrawableSetter 52 mTarget = target; in ImageViewDrawableSetter() 66 return mTarget; in getTarget() 75 if (mTarget != target) { in setTarget() 76 mTarget = target; in setTarget() 113 mTarget.setImageDrawable(newDrawable); in setCompressedImage() 120 mTarget.setImageDrawable(transition); in setCompressedImage() 144 Resources resources = mTarget.getResources(); in defaultDrawable() 166 final Resources rsrc = mTarget.getResources(); in decodedBitmapDrawable()
|
D | WeakAsyncTask.java | 25 protected WeakReference<WeakTarget> mTarget; field in WeakAsyncTask 28 mTarget = new WeakReference<WeakTarget>(target); in WeakAsyncTask() 34 final WeakTarget target = mTarget.get(); in onPreExecute() 43 final WeakTarget target = mTarget.get(); in doInBackground() 54 final WeakTarget target = mTarget.get(); in onPostExecute()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | FirstFrameAnimatorHelper.java | 37 private View mTarget; field in FirstFrameAnimatorHelper 48 mTarget = target; in FirstFrameAnimatorHelper() 53 mTarget = target; in FirstFrameAnimatorHelper() 110 mTarget.getRootView().invalidate(); in onAnimationUpdate() 123 mTarget.post(new Runnable() { in onAnimationUpdate() 140 "(" + (sGlobalFrameCounter - mStartFrame) + ") " + mTarget + " dirty? " + in print() 141 mTarget.isDirty() + " " + flatFraction + " " + this + " " + animation); in print()
|
D | LauncherViewPropertyAnimator.java | 42 View mTarget; field in LauncherViewPropertyAnimator 58 mTarget = target; in LauncherViewPropertyAnimator() 193 mViewPropertyAnimator = mTarget.animate(); in start() 197 mFirstFrameHelper = new FirstFrameAnimatorHelper(mViewPropertyAnimator, mTarget); in start()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | FirstFrameAnimatorHelper.java | 39 private View mTarget; field in FirstFrameAnimatorHelper 50 mTarget = target; in FirstFrameAnimatorHelper() 55 mTarget = target; in FirstFrameAnimatorHelper() 113 mTarget.getRootView().invalidate(); in onAnimationUpdate() 126 mTarget.post(new Runnable() { in onAnimationUpdate() 143 "(" + (sGlobalFrameCounter - mStartFrame) + ") " + mTarget + " dirty? " + in print() 144 mTarget.isDirty() + " " + flatFraction + " " + this + " " + animation); in print()
|
/packages/apps/Camera2/src/com/android/camera/ui/motion/ |
D | DampedSpring.java | 32 private float mTarget = 0f; field in DampedSpring 75 return mTarget; in getTarget() 85 mTarget = value; in setTarget() 113 float delta = (mTarget - mValue); in update() 133 boolean atTarget = Math.abs(mTarget - mValue) < EPSILON; in isActive() 142 mTarget = mValue;
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
D | HardwareLayerEnabler.java | 14 private final View mTarget; field in HardwareLayerEnabler 17 mTarget = target; in HardwareLayerEnabler() 22 mTarget.setLayerType(View.LAYER_TYPE_HARDWARE, null); in onAnimationStart() 27 mTarget.setLayerType(View.LAYER_TYPE_NONE, null); in onAnimationEnd()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | AbstractActivityController.java | 2950 private final Collection<Conversation> mTarget; 2967 mTarget = ImmutableList.copyOf(target); 2991 Conversation.toString(mTarget), mCurrentConversation); 2997 Conversation.toString(mTarget), mCurrentConversation); 3003 mConversationListCursor.archive(mTarget, mCallback); 3006 mConversationListCursor.delete(mTarget, mCallback); 3013 for (Conversation c : mTarget) { 3017 mConversationListCursor.mute(mTarget, mCallback); 3020 mConversationListCursor.reportSpam(mTarget, mCallback); 3023 mConversationListCursor.reportNotSpam(mTarget, mCallback); [all …]
|
D | ConversationPositionTracker.java | 228 public Conversation getNextConversation(int autoAdvance, Collection<Conversation> mTarget) { in getNextConversation() argument 231 final Conversation next = getNewer ? getNewer(mTarget) : in getNextConversation() 232 (getOlder ? getOlder(mTarget) : null); in getNextConversation()
|
D | FolderSelectionDialog.java | 47 protected Collection<Conversation> mTarget; field in FolderSelectionDialog 89 mTarget = Arrays.asList((Conversation[])args.getParcelableArray(ARG_TARGET_TAG)); in onCreate()
|
D | MultiFoldersSelectionDialog.java | 110 for (final Conversation conversation : mTarget) { in onCreate() 218 getConversationUpdater().assignFolder(mOperations.values(), mTarget, mBatch, in onClick() local
|
D | SingleFolderSelectionDialog.java | 128 .assignFolder(ops, mTarget, mBatch, true /* showUndo */, true /* isMoveTo */); in onListItemClick()
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | AppDataUsagePreference.java | 78 private final AppDataUsagePreference mTarget; field in AppDataUsagePreference.UidDetailTask 84 mTarget = checkNotNull(target); in UidDetailTask() 110 bindView(null, mTarget); in onPreExecute() 120 bindView(result, mTarget); in onPostExecute()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/ |
D | LevenshteinDistance.java | 34 private final Token[] mTarget; field in LevenshteinDistance 56 mTarget = target; in LevenshteinDistance() 66 final Token[] trg = mTarget; in calculate() 107 final int trgLen = mTarget.length; in getTargetOperations()
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
D | ExtTexture.java | 23 private int mTarget; field in ExtTexture 28 mTarget = target; in ExtTexture() 48 return mTarget; in getTarget()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | ShortcutPreference.java | 27 private final Class mTarget; field in ShortcutPreference 34 mTarget = target; in ShortcutPreference() 46 Utils.startWithFragment(getContext(), mTarget.getName(), bundle, null, 0, in performClick()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarServiceUtils.java | 115 private final Runnable mTarget; field in CarServiceUtils.SyncRunnable 119 mTarget = target; in SyncRunnable() 124 mTarget.run(); in run()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
D | PrivateVolumeSettings.java | 885 private final PrivateVolumeSettings mTarget; field in PrivateVolumeSettings.ClearCacheObserver 889 mTarget = target; in ClearCacheObserver() 897 mTarget.getActivity().runOnUiThread(new Runnable() { in onRemoveCompleted() 900 mTarget.update(); in onRemoveCompleted()
|