Home
last modified time | relevance | path

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

/packages/apps/Contacts/tests/src/com/android/contacts/editor/
DContactEditorUtilsTest.java40 private ContactEditorUtils mTarget; field in ContactEditorUtilsTest
67 mTarget = new ContactEditorUtils(getContext(), mAccountTypes); in setUp()
70 mTarget.cleanupForTest(); in setUp()
87 types = mTarget.getWritableAccountTypeStrings(); in testGetWritableAccountTypeStrings()
93 types = mTarget.getWritableAccountTypeStrings(); in testGetWritableAccountTypeStrings()
99 types = mTarget.getWritableAccountTypeStrings(); in testGetWritableAccountTypeStrings()
106 types = mTarget.getWritableAccountTypeStrings(); in testGetWritableAccountTypeStrings()
123 assertEquals(0, mTarget.getSavedAccounts().size()); in testSaveDefaultAndAllAccounts()
127 mTarget.saveDefaultAndAllAccounts(null); in testSaveDefaultAndAllAccounts()
128 assertNull(mTarget.getDefaultAccount()); in testSaveDefaultAndAllAccounts()
[all …]
/packages/apps/Email/tests/src/com/android/email/
DThrottleTest.java38 private final Throttle mTarget = new Throttle("test", mRunnable, new CallItNowHandler(), field in ThrottleTest
54 mTarget.onEvent(); in testSingleCalls()
73 mTarget.onEvent(); in testSingleCalls()
98 mTarget.onEvent(); in testMultiCalls()
100 mTarget.onEvent(); in testMultiCalls()
102 mTarget.onEvent(); in testMultiCalls()
104 mTarget.onEvent(); in testMultiCalls()
106 mTarget.onEvent(); in testMultiCalls()
109 assertTrue(mTarget.getTimeoutForTest() > 100); in testMultiCalls()
118 assertEquals(100, mTarget.getTimeoutForTest());
[all …]
DNotificationControllerTest.java31 private NotificationController mTarget; field in NotificationControllerTest
49 mTarget = new NotificationControllerForTest(mProviderContext); in setUp()
/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/Browser/src/com/android/browser/
DUrlBarAutoShowManager.java38 private BrowserWebView mTarget; field in UrlBarAutoShowManager
58 if (mTarget == v) return; in setTarget()
60 if (mTarget != null) { in setTarget()
61 mTarget.setOnTouchListener(null); in setTarget()
62 mTarget.setOnScrollChangedListener(null); in setTarget()
64 mTarget = v; in setTarget()
65 if (mTarget != null) { in setTarget()
66 mTarget.setOnTouchListener(this); in setTarget()
67 mTarget.setOnScrollChangedListener(this); in setTarget()
/packages/apps/Contacts/src/com/android/contacts/util/
DImageViewDrawableSetter.java43 private ImageView mTarget; field in ImageViewDrawableSetter
54 mTarget = target; in ImageViewDrawableSetter()
68 return mTarget; in getTarget()
77 if (mTarget != target) { in setTarget()
78 mTarget = target; in setTarget()
112 mTarget.setImageDrawable(newDrawable); in setCompressedImage()
119 mTarget.setImageDrawable(transition); in setCompressedImage()
143 Resources resources = mTarget.getResources(); in defaultDrawable()
161 Resources rsrc = mTarget.getResources(); in decodedBitmapDrawable()
/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()
108 mTarget.getRootView().invalidate(); in onAnimationUpdate()
121 mTarget.post(new Runnable() { in onAnimationUpdate()
138 "(" + (sGlobalFrameCounter - mStartFrame) + ") " + mTarget + " dirty? " + in print()
139 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.java37 private View mTarget; field in FirstFrameAnimatorHelper
48 mTarget = target; in FirstFrameAnimatorHelper()
53 mTarget = target; in FirstFrameAnimatorHelper()
109 mTarget.getRootView().invalidate(); in onAnimationUpdate()
122 mTarget.post(new Runnable() { in onAnimationUpdate()
139 "(" + (sGlobalFrameCounter - mStartFrame) + ") " + mTarget + " dirty? " + in print()
140 mTarget.isDirty() + " " + flatFraction + " " + this + " " + animation); in print()
DFolderAutoScrollHelper.java29 private final ScrollView mTarget; field in FolderAutoScrollHelper
34 mTarget = target; in FolderAutoScrollHelper()
46 mTarget.scrollBy(deltaX, deltaY); in scrollTargetBy()
57 return mTarget.canScrollVertically(direction); in canTargetScrollVertically()
DLauncherViewPropertyAnimator.java43 View mTarget; field in LauncherViewPropertyAnimator
59 mTarget = target; in LauncherViewPropertyAnimator()
194 mViewPropertyAnimator = mTarget.animate(); in start()
198 mFirstFrameHelper = new FirstFrameAnimatorHelper(mViewPropertyAnimator, mTarget); in start()
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/
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/UnifiedEmail/src/com/android/mail/ui/
DAbstractActivityController.java2755 private final Collection<Conversation> mTarget; field in AbstractActivityController.ConversationAction
2770 mTarget = ImmutableList.copyOf(target); in ConversationAction()
2789 Conversation.toString(mTarget), mCurrentConversation); in performAction()
2795 Conversation.toString(mTarget), mCurrentConversation); in performAction()
2801 mConversationListCursor.archive(mTarget); in performAction()
2804 mConversationListCursor.delete(mTarget); in performAction()
2811 for (Conversation c : mTarget) { in performAction()
2815 mConversationListCursor.mute(mTarget); in performAction()
2818 mConversationListCursor.reportSpam(mTarget); in performAction()
2821 mConversationListCursor.reportNotSpam(mTarget); in performAction()
[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.java46 protected final Collection<Conversation> mTarget; field in FolderSelectionDialog
89 mTarget = target; in FolderSelectionDialog()
DMultiFoldersSelectionDialog.java83 for (final Conversation conversation : mTarget) { in updateAdapterInBackground()
161 mUpdater.assignFolder(mOperations.values(), mTarget, mBatch, in onClick() local
DSingleFolderSelectionDialog.java101 mUpdater.assignFolder(ops, mTarget, mBatch, true /* showUndo */, true /* isMoveTo */); in onListItemClick()
/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/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/Mms/src/com/android/mms/dom/events/
DEventImpl.java35 private EventTarget mTarget; field in EventImpl
63 return mTarget; in getTarget()
113 mTarget = target; in setTarget()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DMemory.java371 private final Memory mTarget;
375 mTarget = target;
383 mTarget.onCacheCleared();
/packages/apps/Settings/src/com/android/settings/
DDataUsageSummary.java2149 private final View mTarget; field in DataUsageSummary.UidDetailTask
2154 mTarget = checkNotNull(target); in UidDetailTask()
2188 bindView(null, mTarget); in onPreExecute()
2198 bindView(result, mTarget); in onPostExecute()