Home
last modified time | relevance | path

Searched refs:mTarget (Results 1 – 21 of 21) 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/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.java58 if (mTarget != null) {
61 Log.d(TAG, "Connecting to target: " + mTarget.getAddress());
65 mInputProxy.connect(mTarget);
70 mInputProxy.setPriority(mTarget, BluetoothProfile.PRIORITY_AUTO_CONNECT);
78 private BluetoothDevice mTarget; field in BluetoothInputDeviceConnector
149 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/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/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/inputconsumers/
DOverviewInputConsumer.java45 private final BaseDragLayer mTarget; field in OverviewInputConsumer
61 mTarget = activity.getDragLayer(); in OverviewInputConsumer()
63 mEventReceiver = mTarget::dispatchTouchEvent; in OverviewInputConsumer()
67 mEventReceiver = mTarget::proxyTouchEvent; in OverviewInputConsumer()
68 mTarget.getLocationOnScreen(mLocationOnScreen); in OverviewInputConsumer()
69 mProxyTouch = mTarget.prepareProxyEventStarting(); in OverviewInputConsumer()
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DConfirmFragment.java52 private DocumentInfo mTarget; field in ConfirmFragment
66 mTarget = arg.getParcelable(Shared.EXTRA_DOC); in onCreateDialog()
75 mTarget.displayName); in onCreateDialog()
81 mActions.finishPicking(mTarget.derivedUri); in onCreateDialog()
86 mTarget.authority, mTarget.documentId); in onCreateDialog()
115 outState.putParcelable(Shared.EXTRA_DOC, mTarget); in onSaveInstanceState()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DRemoteFadeOutAnimationListener.java32 private final RemoteAnimationTargetSet mTarget; field in RemoteFadeOutAnimationListener
36 mTarget = new RemoteAnimationTargetSet(targets, MODE_CLOSING); in RemoteFadeOutAnimationListener()
43 prepareTargetsForFirstFrame(mTarget.unfilteredApps, t, MODE_CLOSING); in onAnimationUpdate()
48 for (RemoteAnimationTargetCompat app : mTarget.apps) { in onAnimationUpdate()
/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/fingerprint/
DDeleteFingerprintDialogTest.java49 private FingerprintSettingsFragment mTarget; field in DeleteFingerprintDialogTest
56 mFragment = spy(DeleteFingerprintDialog.newInstance(mFingerprint, mTarget)); in setUp()
66 verify(mTarget).deleteFingerPrint(mFingerprint); in launchDialog_clickPositive_shouldDeleteFingerprint()
76 verify(mTarget, never()).deleteFingerPrint(mFingerprint); in launchDialog_clickNegative_shouldDoNothing()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/ui/
DTestDialogController.java38 private DocumentInfo mTarget; field in TestDialogController
83 mTarget = pickTarget; in confirmAction()
111 Assert.assertEquals(expected, mTarget); in assertOverwriteConfirmed()
116 Assert.assertEquals(expected, mTarget); in assertDocumentTreeConfirmed()
/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/Launcher3/src/com/android/launcher3/anim/
DSpringAnimationBuilder.java34 private final T mTarget; field in SpringAnimationBuilder
72 mTarget = target; in SpringAnimationBuilder()
193 ObjectAnimator animator = ObjectAnimator.ofFloat(mTarget, this, 0, (float) duration); in build()
198 mProperty.setValue(mTarget, mEndValue); in build()
/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/Bluetooth/tests/unit/src/com/android/bluetooth/
DTestUtils.java318 private final Runnable mTarget; field in TestUtils.SyncRunnable
322 mTarget = target; in SyncRunnable()
327 mTarget.run(); in run()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/
DPrivateVolumeSettings.java901 private final PrivateVolumeSettings mTarget; field in PrivateVolumeSettings.ClearCacheObserver
905 mTarget = target; in ClearCacheObserver()
913 mTarget.getActivity().runOnUiThread(new Runnable() { in onRemoveCompleted()
916 mTarget.update(); in onRemoveCompleted()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DPrivateVolumeSettings.java876 private final PrivateVolumeSettings mTarget; field in PrivateVolumeSettings.ClearCacheObserver
880 mTarget = target; in ClearCacheObserver()
888 mTarget.getActivity().runOnUiThread(new Runnable() { in onRemoveCompleted()
891 mTarget.update(); in onRemoveCompleted()