Home
last modified time | relevance | path

Searched refs:mTarget (Results 1 – 25 of 25) sorted by relevance

/packages/apps/Contacts/tests/src/com/android/contacts/editor/
DContactEditorUtilsTest.java54 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/
DThrottleTest.java40 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/
DPhotoFallbackEffect.java57 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 …]
DSlotView.java752 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/
DBluetoothDevicePairer.java221 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 …]
DBluetoothInputDeviceConnector.java59 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()
DBluetoothA2dpConnector.java37 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/
DImageViewDrawableSetter.java41 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()
DWeakAsyncTask.java25 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/
DFirstFrameAnimatorHelper.java37 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()
DLauncherViewPropertyAnimator.java42 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/
DFirstFrameAnimatorHelper.java39 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/
DDampedSpring.java32 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/
DHardwareLayerEnabler.java14 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/
DAbstractActivityController.java2950 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 …]
DConversationPositionTracker.java228 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()
DFolderSelectionDialog.java47 protected Collection<Conversation> mTarget; field in FolderSelectionDialog
89 mTarget = Arrays.asList((Conversation[])args.getParcelableArray(ARG_TARGET_TAG)); in onCreate()
DMultiFoldersSelectionDialog.java110 for (final Conversation conversation : mTarget) { in onCreate()
218 getConversationUpdater().assignFolder(mOperations.values(), mTarget, mBatch, in onClick() local
DSingleFolderSelectionDialog.java128 .assignFolder(ops, mTarget, mBatch, true /* showUndo */, true /* isMoveTo */); in onListItemClick()
/packages/apps/Settings/src/com/android/settings/datausage/
DAppDataUsagePreference.java78 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/
DLevenshteinDistance.java34 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/
DExtTexture.java23 private int mTarget; field in ExtTexture
28 mTarget = target; in ExtTexture()
48 return mTarget; in getTarget()
/packages/apps/Settings/src/com/android/settings/applications/
DShortcutPreference.java27 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/
DCarServiceUtils.java115 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/
DPrivateVolumeSettings.java885 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()