Home
last modified time | relevance | path

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

1234

/frameworks/base/core/java/android/view/inputmethod/
DInputConnectionWrapper.java27 private InputConnection mTarget; field in InputConnectionWrapper
44 mTarget = target; in InputConnectionWrapper()
58 if (mTarget != null && !mMutable) { in setTarget()
61 mTarget = target; in setTarget()
78 return mTarget.getTextBeforeCursor(n, flags); in getTextBeforeCursor()
86 return mTarget.getTextAfterCursor(n, flags); in getTextAfterCursor()
94 return mTarget.getSelectedText(flags); in getSelectedText()
102 return mTarget.getCursorCapsMode(reqModes); in getCursorCapsMode()
110 return mTarget.getExtractedText(request, flags); in getExtractedText()
118 return mTarget.deleteSurroundingTextInCodePoints(beforeLength, afterLength); in deleteSurroundingTextInCodePoints()
[all …]
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
DParallaxFloatEffectTest.java45 @Mock ParallaxTarget mTarget; field in ParallaxFloatEffectTest
75 mEffect.target(mTarget); in testOneVariable()
80 verify(mTarget, times(1)).update(0f); in testOneVariable()
81 Mockito.reset(mTarget); in testOneVariable()
86 verify(mTarget, times(1)).update(0.25f); in testOneVariable()
87 Mockito.reset(mTarget); in testOneVariable()
92 verify(mTarget, times(1)).update(.5f); in testOneVariable()
93 Mockito.reset(mTarget); in testOneVariable()
98 verify(mTarget, times(1)).update(0.75f); in testOneVariable()
99 Mockito.reset(mTarget); in testOneVariable()
[all …]
DParallaxIntEffectTest.java42 @Mock ParallaxTarget mTarget; field in ParallaxIntEffectTest
72 mEffect.target(mTarget); in testOneVariable()
77 verify(mTarget, times(1)).update(0f); in testOneVariable()
78 Mockito.reset(mTarget); in testOneVariable()
83 verify(mTarget, times(1)).update(0.25f); in testOneVariable()
84 Mockito.reset(mTarget); in testOneVariable()
89 verify(mTarget, times(1)).update(.5f); in testOneVariable()
90 Mockito.reset(mTarget); in testOneVariable()
95 verify(mTarget, times(1)).update(0.75f); in testOneVariable()
96 Mockito.reset(mTarget); in testOneVariable()
[all …]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DTextureSource.java28 private int mTarget; field in TextureSource
55 return mTarget; in getTarget()
59 GLES20.glBindTexture(mTarget, mTexId); in bind()
65 GLToolbox.allocateTexturePixels(mTexId, mTarget, width, height); in allocate()
71 GLToolbox.setTexturePixels(mTexId, mTarget, pixels, width, height); in allocateWithPixels()
77 GLToolbox.setTexturePixels(mTexId, mTarget, bitmap); in allocateWithBitmapPixels()
82 GLES20.glBindTexture(mTarget, mTexId); in generateMipmaps()
83 GLES20.glTexParameteri(mTarget, in generateMipmaps()
86 GLES20.glGenerateMipmap(mTarget); in generateMipmaps()
87 GLES20.glBindTexture(mTarget, 0); in generateMipmaps()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DBoundsAnimationControllerTests.java192 private TestBoundsAnimationTarget mTarget; field in BoundsAnimationControllerTests.BoundsAnimationDriver
203 mTarget = target; in BoundsAnimationDriver()
214 mTarget.initialize(from); in start()
217 assertTrue(mTarget.mAwaitingAnimationStart); in start()
218 assertTrue(!mTarget.mAnimationStarted); in start()
232 assertTrue(!mTarget.mAwaitingAnimationStart); in start()
233 assertTrue(mTarget.mAnimationStarted); in start()
247 mTarget.mAnimationStarted = false; in restart()
250 startImpl(mTarget.mStackBounds, to); in restart()
259 assertTrue(mTarget.mAnimationStarted); in restart()
[all …]
/frameworks/base/core/tests/coretests/src/android/os/
DFileUtilsTest.java48 private File mTarget; field in FileUtilsTest
58 mTarget = getContext().getFilesDir(); in setUp()
59 FileUtils.deleteContents(mTarget); in setUp()
65 FileUtils.deleteContents(mTarget); in tearDown()
249 assertNameEquals("test.jpg", FileUtils.buildUniqueFile(mTarget, "image/jpeg", "test")); in testBuildUniqueFile_normal()
250 assertNameEquals("test.jpg", FileUtils.buildUniqueFile(mTarget, "image/jpeg", "test.jpg")); in testBuildUniqueFile_normal()
251 … assertNameEquals("test.jpeg", FileUtils.buildUniqueFile(mTarget, "image/jpeg", "test.jpeg")); in testBuildUniqueFile_normal()
252 … assertNameEquals("TEst.JPeg", FileUtils.buildUniqueFile(mTarget, "image/jpeg", "TEst.JPeg")); in testBuildUniqueFile_normal()
254 FileUtils.buildUniqueFile(mTarget, "image/jpeg", "test.png.jpg")); in testBuildUniqueFile_normal()
256 FileUtils.buildUniqueFile(mTarget, "image/jpeg", "test.png")); in testBuildUniqueFile_normal()
[all …]
/frameworks/base/core/java/android/os/
DMessenger.java33 private final IMessenger mTarget; field in Messenger
44 mTarget = target.getIMessenger(); in Messenger()
57 mTarget.send(message); in send()
67 return mTarget.asBinder(); in getBinder()
79 return mTarget.asBinder().equals(((Messenger)otherObj) in equals()
80 .mTarget.asBinder()); in equals()
87 return mTarget.asBinder().hashCode(); in hashCode()
95 out.writeStrongBinder(mTarget.asBinder()); in writeToParcel()
120 out.writeStrongBinder(messenger != null ? messenger.mTarget.asBinder() in writeMessengerOrNullToParcel()
146 mTarget = IMessenger.Stub.asInterface(target); in Messenger()
DFileBridge.java61 private FileDescriptor mTarget; field in FileBridge
81 IoUtils.closeQuietly(mTarget); in forceClose()
88 mTarget = target; in setTargetFile()
110 IoBridge.write(mTarget, temp, 0, n); in run()
116 Os.fsync(mTarget); in run()
121 Os.fsync(mTarget); in run()
122 Os.close(mTarget); in run()
DShellCommand.java38 private Binder mTarget; field in ShellCommand
60 mTarget = target; in init()
93 if (DEBUG) Slog.d(TAG, "Starting command " + mCmd + " on " + mTarget); in exec()
97 if (DEBUG) Slog.d(TAG, "Executed command " + mCmd + " on " + mTarget); in exec()
113 if (DEBUG) Slog.d(TAG, "Flushing output streams on " + mTarget); in exec()
120 if (DEBUG) Slog.d(TAG, "Sending command result on " + mTarget); in exec()
123 if (DEBUG) Slog.d(TAG, "Finished command " + mCmd + " on " + mTarget); in exec()
292 mTarget.doDump(mOut, getOutPrintWriter(), newArgs); in handleDefaultCommands()
/frameworks/base/core/java/android/content/
DIntentSender.java58 private final IIntentSender mTarget; field in IntentSender
191 int res = ActivityManager.getService().sendIntentSender(mTarget, mWhitelistToken, in sendIntent()
212 .getPackageForIntentSender(mTarget); in getTargetPackage()
231 .getPackageForIntentSender(mTarget); in getCreatorPackage()
250 .getUidForIntentSender(mTarget); in getCreatorUid()
271 .getUidForIntentSender(mTarget); in getCreatorUserHandle()
287 return mTarget.asBinder().equals(((IntentSender)otherObj) in equals()
288 .mTarget.asBinder()); in equals()
295 return mTarget.asBinder().hashCode(); in hashCode()
304 sb.append(mTarget != null ? mTarget.asBinder() : null); in toString()
[all …]
/frameworks/support/v7/palette/src/main/java/android/support/v7/graphics/
DTarget.java286 private final Target mTarget; field in Target.Builder
292 mTarget = new Target(); in Builder()
299 mTarget = new Target(target); in Builder()
306 mTarget.mSaturationTargets[INDEX_MIN] = value; in setMinimumSaturation()
314 mTarget.mSaturationTargets[INDEX_TARGET] = value; in setTargetSaturation()
322 mTarget.mSaturationTargets[INDEX_MAX] = value; in setMaximumSaturation()
330 mTarget.mLightnessTargets[INDEX_MIN] = value; in setMinimumLightness()
338 mTarget.mLightnessTargets[INDEX_TARGET] = value; in setTargetLightness()
346 mTarget.mLightnessTargets[INDEX_MAX] = value; in setMaximumLightness()
362 mTarget.mWeights[INDEX_WEIGHT_SAT] = weight; in setSaturationWeight()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPhoneStateIntentReceiver.java52 private Handler mTarget; field in PhoneStateIntentReceiver
75 mTarget = h; in setTarget()
169 if (mTarget != null && getNotifySignalStrength()) { in onReceive()
170 Message message = Message.obtain(mTarget, mAsuEventWhat); in onReceive()
171 mTarget.sendMessage(message); in onReceive()
180 if (mTarget != null && getNotifyPhoneCallState()) { in onReceive()
181 Message message = Message.obtain(mTarget, in onReceive()
183 mTarget.sendMessage(message); in onReceive()
188 if (mTarget != null && getNotifyServiceState()) { in onReceive()
189 Message message = Message.obtain(mTarget, in onReceive()
[all …]
/frameworks/base/core/java/com/android/internal/graphics/palette/
DTarget.java304 private final Target mTarget; field in Target.Builder
310 mTarget = new Target(); in Builder()
317 mTarget = new Target(target); in Builder()
324 mTarget.mSaturationTargets[INDEX_MIN] = value; in setMinimumSaturation()
332 mTarget.mSaturationTargets[INDEX_TARGET] = value; in setTargetSaturation()
340 mTarget.mSaturationTargets[INDEX_MAX] = value; in setMaximumSaturation()
348 mTarget.mLightnessTargets[INDEX_MIN] = value; in setMinimumLightness()
356 mTarget.mLightnessTargets[INDEX_TARGET] = value; in setTargetLightness()
364 mTarget.mLightnessTargets[INDEX_MAX] = value; in setMaximumLightness()
380 mTarget.mWeights[INDEX_WEIGHT_SAT] = weight; in setSaturationWeight()
[all …]
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
DStatement.java49 private final AbstractAsset mTarget; field in Statement
55 mTarget = target; in Statement()
72 return mTarget; in getTarget()
111 if (!mTarget.equals(statement.mTarget)) { in equals()
123 int result = mTarget.hashCode(); in hashCode()
135 statement.append(mTarget); in toString()
/frameworks/base/core/java/android/app/
DPendingIntent.java95 private final IIntentSender mTarget; field in PendingIntent
661 return new IntentSender(mTarget, mWhitelistToken); in getIntentSender()
670 ActivityManager.getService().cancelIntentSender(mTarget); in cancel()
875 mTarget, mWhitelistToken, code, intent, resolvedType, in send()
895 .getPackageForIntentSender(mTarget); in getTargetPackage()
923 .getPackageForIntentSender(mTarget); in getCreatorPackage()
950 .getUidForIntentSender(mTarget); in getCreatorUid()
980 .getUidForIntentSender(mTarget); in getCreatorUserHandle()
994 .isIntentSenderTargetedToPackage(mTarget); in isTargetedToPackage()
1007 .isIntentSenderAnActivity(mTarget); in isActivity()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DBoundsAnimationController.java133 private final BoundsAnimationTarget mTarget; field in BoundsAnimationController.BoundsAnimator
172 mTarget = target; in BoundsAnimator()
197 if (DEBUG) Slog.d(TAG, "onAnimationStart: mTarget=" + mTarget in onAnimationStart()
212 mTarget.onAnimationStart(mSchedulePipModeChangedState == in onAnimationStart()
226 mTarget.onAnimationStart(true /* schedulePipModeChangedCallback */, in onAnimationStart()
233 mTarget.setPinnedStackSize(mFrom, mTmpRect); in onAnimationStart()
268 if (DEBUG) Slog.d(TAG, "animateUpdate: mTarget=" + mTarget + " mBounds=" in onAnimationUpdate()
275 if (!mTarget.setPinnedStackSize(mTmpRect, mTmpTaskBounds)) { in onAnimationUpdate()
295 if (DEBUG) Slog.d(TAG, "onAnimationEnd: mTarget=" + mTarget in onAnimationEnd()
315 if (DEBUG) Slog.d(TAG, "onAnimationEnd: mTarget=" + mTarget in onAnimationEnd()
[all …]
/frameworks/base/services/core/java/com/android/server/hdmi/
DDeviceSelectAction.java61 private final HdmiDeviceInfo mTarget; field in DeviceSelectAction
78 mTarget = target; in DeviceSelectAction()
84 return mTarget.getLogicalAddress(); in getTargetAddress()
162 sendUserControlPressedAndReleased(mTarget.getLogicalAddress(), in turnOnDevice()
164 sendUserControlPressedAndReleased(mTarget.getLogicalAddress(), in turnOnDevice()
174 tv().setActivePath(mTarget.getPhysicalAddress()); in sendSetStreamPath()
176 getSourceAddress(), mTarget.getPhysicalAddress())); in sendSetStreamPath()
/frameworks/av/media/libaaudio/src/utility/
DLinearRamp.h34 mTarget.store(1.0f); in LinearRamp()
50 mTarget.store(target); in setTarget()
54 return mTarget.load(); in getTarget()
88 std::atomic<float> mTarget; variable
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/
DInverseBinding.java44 private final BindingTarget mTarget; field in InverseBinding
53 mTarget = target; in InverseBinding()
71 mTarget = target; in InverseBinding()
99 return mTarget.getResolvedType().isViewDataBinding(); in isOnBinder()
104 Scope.enter(mTarget); in setGetterCall()
106 ModelClass viewType = mTarget.getResolvedType(); in setGetterCall()
114 mTarget.getResolvedType()); in setGetterCall()
127 return mTarget; in getTarget()
/frameworks/support/core-ui/java/android/support/v4/widget/
DListViewAutoScrollHelper.java27 private final ListView mTarget; field in ListViewAutoScrollHelper
32 mTarget = target; in ListViewAutoScrollHelper()
37 ListViewCompat.scrollListBy(mTarget, deltaY); in scrollTargetBy()
48 final ListView target = mTarget; in canTargetScrollVertically()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/
DRetargetFilter.java36 private int mTarget = -1; field in RetargetFilter
45 mTarget = FrameFormat.readTargetString(mTargetString); in setupPorts()
55 retargeted.setTarget(mTarget); in getOutputFormat()
65 Frame output = context.getFrameManager().duplicateFrameToTarget(input, mTarget); in process()
/frameworks/compile/libbcc/lib/
DCompilerConfig.cpp53 : mTriple(pTriple), mFullPrecision(true), mTarget(nullptr) { in CompilerConfig()
86 mTarget = llvm::TargetRegistry::lookupTarget(mTriple, error); in initializeTarget()
87 if (mTarget != nullptr) { in initializeTarget()
97 if (mTarget != nullptr) { in initializeArch()
98 mArchType = llvm::Triple::getArchTypeForLLVMName(mTarget->getName()); in initializeArch()
229 ALOGE("Unsupported architecture type: %s", mTarget->getName()); in initializeArch()
DCompiler.cpp161 Compiler::Compiler() : mTarget(nullptr), mEnableOpt(true) { in Compiler()
165 Compiler::Compiler(const CompilerConfig &pConfig) : mTarget(nullptr), in Compiler()
194 return ((mTarget != nullptr) ? kErrSwitchTargetMachine : in config()
199 delete mTarget; in config()
200 mTarget = new_target; in config()
215 delete mTarget; in ~Compiler()
230 createTargetTransformInfoWrapperPass(mTarget->getTargetIRAnalysis())); in runPasses()
237 if (mTarget->getOptLevel() != llvm::CodeGenOpt::None) { in runPasses()
243 if (mTarget->getOptLevel() == llvm::CodeGenOpt::None) { in runPasses()
290 if (mTarget->addPassesToEmitMC(codeGenPasses, mc_context, pResult, in runPasses()
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DAutoScrollHelper.java142 private final View mTarget; field in AutoScrollHelper
209 mTarget = target; in AutoScrollHelper()
467 HORIZONTAL, event.getX(), v.getWidth(), mTarget.getWidth()); in onTouch()
469 VERTICAL, event.getY(), v.getHeight(), mTarget.getHeight()); in onTouch()
511 mTarget.postOnAnimationDelayed(mRunnable, mActivationDelay); in startAnimating()
679 mTarget.onTouchEvent(cancel); in cancelTargetTouch()
713 mTarget.postOnAnimation(this); in run()
872 private final AbsListView mTarget; field in AutoScrollHelper.AbsListViewAutoScroller
877 mTarget = target; in AbsListViewAutoScroller()
882 mTarget.scrollListBy(deltaY); in scrollTargetBy()
[all …]
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
DAHandlerReflector.h28 : mTarget(target) { in AHandlerReflector()
33 sp<T> target = mTarget.promote(); in onMessageReceived()
40 wp<T> mTarget;

1234