Home
last modified time | relevance | path

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

12345

/frameworks/support/v4/java/android/support/v4/view/
DMotionEventCompat.java36 public int getSource(MotionEvent event); in getSource() method
82 public int getSource(MotionEvent event) { in getSource() method in MotionEventCompat.BaseMotionEventVersionImpl
133 public int getSource(MotionEvent event) { in getSource() method in MotionEventCompat.GingerbreadMotionEventVersionImpl
134 return MotionEventCompatGingerbread.getSource(event); in getSource()
521 public static int getSource(MotionEvent event) { in getSource() method in MotionEventCompat
522 return IMPL.getSource(event); in getSource()
531 return (getSource(event) & source) == source; in isFromSource()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DStreamingSource.cpp179 sp<AnotherPacketSource> audioTrack = getSource(true /*audio*/); in haveSufficientDataOnAllTracks()
180 sp<AnotherPacketSource> videoTrack = getSource(false /*audio*/); in haveSufficientDataOnAllTracks()
210 sp<AnotherPacketSource> NuPlayer::StreamingSource::getSource(bool audio) { in getSource() function in android::NuPlayer::StreamingSource
215 sp<MediaSource> source = mTSParser->getSource( in getSource()
222 sp<AnotherPacketSource> source = getSource(audio); in getFormat()
240 sp<AnotherPacketSource> source = getSource(audio); in dequeueAccessUnit()
DRTSPSource.cpp143 sp<AnotherPacketSource> source = getSource(audio); in getFormatMeta()
194 sp<AnotherPacketSource> source = getSource(audio); in dequeueAccessUnit()
205 sp<AnotherPacketSource> otherSource = getSource(!audio); in dequeueAccessUnit()
246 sp<AnotherPacketSource> NuPlayer::RTSPSource::getSource(bool audio) { in getSource() function in android::NuPlayer::RTSPSource
248 sp<MediaSource> source = mTSParser->getSource( in getSource()
449 sp<AnotherPacketSource> source = getSource(true /* audio */); in onMessageReceived()
455 source = getSource(false /* video */); in onMessageReceived()
514 sp<AnotherPacketSource> source = getSource(false /* audio */); in onMessageReceived()
519 source = getSource(true /* audio */); in onMessageReceived()
561 sp<AnotherPacketSource> source = getSource(false /* audio */); in onMessageReceived()
[all …]
/frameworks/base/cmds/input/src/com/android/commands/input/
DInput.java81 inputSource = getSource(inputSource, InputDevice.SOURCE_KEYBOARD); in run()
89 inputSource = getSource(inputSource, InputDevice.SOURCE_KEYBOARD); in run()
103 inputSource = getSource(inputSource, InputDevice.SOURCE_TOUCHSCREEN); in run()
110 inputSource = getSource(inputSource, InputDevice.SOURCE_TOUCHSCREEN); in run()
122 inputSource = getSource(inputSource, InputDevice.SOURCE_TRACKBALL); in run()
128 inputSource = getSource(inputSource, InputDevice.SOURCE_TRACKBALL); in run()
175 if (source != e.getSource()) { in sendText()
278 private static final int getSource(int inputSource, int defaultSource) { in getSource() method in Input
/frameworks/base/tools/aapt2/link/
DProductFilter.cpp34 diag->error(DiagMessage(configValue->value->getSource()) in selectProductToKeep()
39 diag->note(DiagMessage(previouslySelectedConfigValue->value->getSource()) in selectProductToKeep()
52 diag->error(DiagMessage(configValue->value->getSource()) in selectProductToKeep()
56 diag->note(DiagMessage(previouslyDefaultConfigValue->value->getSource()) in selectProductToKeep()
DLink.cpp139 context->getDiagnostics()->error(DiagMessage(file->getSource()) in copyFileToArchive()
148 if (util::stringEndsWith<char>(file->getSource().path, ".flat")) { in copyFileToArchive()
151 context->getDiagnostics()->error(DiagMessage(file->getSource()) in copyFileToArchive()
333 const StringPiece srcPath = file->getSource().path; in linkAndVersionXmlFile()
340 mContext->getDiagnostics()->error(DiagMessage(file->getSource()) << "failed to open file"); in linkAndVersionXmlFile()
345 outFileOp->xmlToFlatten = loadBinaryXmlSkipFileExport(file->getSource(), in linkAndVersionXmlFile()
351 file->getSource()); in linkAndVersionXmlFile()
449 mContext->getDiagnostics()->error(DiagMessage(fileRef->getSource()) in flatten()
457 const StringPiece srcPath = file->getSource().path; in flatten()
464 fileDesc.source = fileRef->getSource(); in flatten()
[all …]
DTableMerger.cpp230 mContext->getDiagnostics()->error(DiagMessage(srcValue->value->getSource()) in doMerge()
235 mContext->getDiagnostics()->note(DiagMessage(dstValue->value->getSource()) in doMerge()
288 newFileRef->setSource(fileRef.getSource()); in cloneAndMangleFile()
309 return doMerge(file->getSource(), &table, pkg, in mergeFileImpl()
DReferenceLinker.cpp101 DiagMessage msg(entry.key.getSource()); in visit()
111 DiagMessage msg(entry.key.getSource()); in visit()
279 DiagMessage errorMsg(reference->getSource()); in linkReference()
/frameworks/compile/libbcc/lib/Renderscript/
DRSScript.cpp30 BCCContext &context = pScript.getSource().getContext(); in LinkRuntime()
40 &pScript.getSource().getModule(), &libclcore_source->getModule()); in LinkRuntime()
43 if (!pScript.getSource().merge(*libclcore_source)) { in LinkRuntime()
/frameworks/support/v4/gingerbread/android/support/v4/view/
DMotionEventCompatGingerbread.java25 public static int getSource(MotionEvent event) { in getSource() method in MotionEventCompatGingerbread
26 return event.getSource(); in getSource()
/frameworks/compile/libbcc/lib/Core/
DCompiler.cpp215 transformPasses.run(pScript.getSource().getModule()); in runPasses()
228 codeGenPasses.run(pScript.getSource().getModule()); in runPasses()
236 llvm::Module &module = pScript.getSource().getModule(); in compile()
322 llvm::Module &module = script.getSource().getModule(); in addInternalizeSymbolsPass()
421 if (pScript.getSource().getDebugInfoEnabled()) in addDebugInfoPass()
446 llvm::Module &module = pScript.getSource().getModule(); in screenGlobalFunctions()
474 pPM.run(pScript.getSource().getModule()); in translateGEPs()
/frameworks/base/services/core/java/com/android/server/hdmi/
DDeviceDiscoveryAction.java250 if (current.mLogicalAddress != cmd.getSource()) { in handleReportPhysicalAddress()
252 cmd.getSource()); in handleReportPhysicalAddress()
276 if (current.mLogicalAddress != cmd.getSource()) {
278 cmd.getSource());
299 if (current.mLogicalAddress != cmd.getSource()) {
301 cmd.getSource());
DOneTouchRecordAction.java80 if (mState != STATE_WAITING_FOR_RECORD_STATUS || mRecorderAddress != cmd.getSource()) { in processCommand()
93 if (cmd.getSource() != mRecorderAddress) { in handleRecordStatus()
99 Slog.i(TAG, "Got record status:" + recordStatus + " from " + cmd.getSource()); in handleRecordStatus()
DHdmiCecLocalDeviceTv.java494 int logicalAddress = message.getSource(); in handleActiveSource()
521 if (getActiveSource().logicalAddress != message.getSource()) { in handleInactiveSource()
531 HdmiDeviceInfo inactiveSource = getCecDeviceInfo(message.getSource()); in handleInactiveSource()
591 int address = message.getSource(); in handleReportPhysicalAddress()
618 updateDevicePowerStatus(command.getSource(), newStatus); in handleReportPowerStatus()
761 int source = message.getSource(); in handleSetOsdName()
1109 if (!canStartArcUpdateAction(message.getSource(), true)) { in handleInitiateArc()
1116 if (!isConnectedToArcPort(message.getSource())) { in handleInitiateArc()
1126 message.getSource(), true); in handleInitiateArc()
1160 message.getSource(), false); in handleTerminateArc()
[all …]
DDelayedMessageBuffer.java111 if (message.getSource() != address) { in processMessagesForDevice()
141 && message.getSource() == address) { in processActiveSource()
DHdmiCecLocalDevice.java353 message.getSource(), version); in handleGetCecVersion()
395 mAddress, message.getSource(), mDeviceInfo.getDisplayName()); in handleGiveOsdName()
536 mAddress, message.getSource(), mService.getPowerStatus())); in handleGiveDevicePowerStatus()
543 mAddress, message.getSource(), Constants.MENU_STATE_ACTIVATED)); in handleMenuRequest()
552 if (!mService.invokeVendorCommandListenersOnReceived(mDeviceType, message.getSource(), in handleVendorCommand()
565 if (!mService.invokeVendorCommandListenersOnReceived(mDeviceType, message.getSource(), in handleVendorCommandWithId()
570 message.getSource() != Constants.ADDR_UNREGISTERED) { in handleVendorCommandWithId()
/frameworks/compile/libbcc/include/bcc/
DScript.h53 inline Source &getSource() in getSource() function
55 inline const Source &getSource() const in getSource() function
/frameworks/base/core/java/android/view/
DInputEventConsistencyVerifier.java180 } else if ((motionEvent.getSource() & InputDevice.SOURCE_CLASS_TRACKBALL) != 0) { in onInputEvent()
207 final int source = event.getSource(); in onKeyEvent()
268 final int source = event.getSource(); in onTrackballEvent()
343 final int source = event.getSource(); in onTouchEvent()
472 final int source = event.getSource(); in onGenericMotionEvent()
594 final int source = keyEvent.getSource(); in onUnhandledEvent()
604 } else if ((motionEvent.getSource() & InputDevice.SOURCE_CLASS_TRACKBALL) != 0) { in onUnhandledEvent()
DInputEvent.java75 public abstract int getSource(); in getSource() method in InputEvent
94 return (getSource() & source) == source; in isFromSource()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DMotionEventInjector.java142 mSourceOfInjectedGesture = events.get(0).getSource(); in injectEventsMainThread()
176 event.getDeviceId(), event.getEdgeFlags(), event.getSource(), in injectEventsMainThread()
188 mOpenGesturesInProgress.put(event.getSource(), true); in sendMotionEventToNext()
192 mOpenGesturesInProgress.put(event.getSource(), false); in sendMotionEventToNext()
/frameworks/base/tools/aapt2/compile/
DPseudolocaleGenerator.cpp112 localizedString->setSource(string->getSource()); in pseudolocalizeStyledString()
143 localized->setSource(array->getSource()); in visit()
161 localized->setSource(plural->getSource()); in visit()
174 localized->setSource(string->getSource()); in visit()
/frameworks/base/location/java/android/location/
DCountry.java124 public final int getSource() { in getSource() method in Country
169 return mCountryIso.equals(c.getCountryIso()) && mSource == c.getSource(); in equals()
/frameworks/base/tools/aapt2/
DResourceTable.cpp339 diag->error(DiagMessage(value->getSource()) in addResourceImpl()
352 diag->error(DiagMessage(value->getSource()) in addResourceImpl()
366 diag->error(DiagMessage(value->getSource()) in addResourceImpl()
380 diag->error(DiagMessage(value->getSource()) in addResourceImpl()
401 diag->error(DiagMessage(value->getSource()) in addResourceImpl()
404 diag->error(DiagMessage(configValue->value->getSource()) in addResourceImpl()
/frameworks/support/v4/java/android/support/v4/view/accessibility/
DAccessibilityRecordCompat.java38 public AccessibilityNodeInfoCompat getSource(Object record); in getSource() method
143 public AccessibilityNodeInfoCompat getSource(Object record) { in getSource() method in AccessibilityRecordCompat.AccessibilityRecordStubImpl
335 public AccessibilityNodeInfoCompat getSource(Object record) { in getSource() method in AccessibilityRecordCompat.AccessibilityRecordIcsImpl
337 AccessibilityRecordCompatIcs.getSource(record)); in getSource()
606 public AccessibilityNodeInfoCompat getSource() { in getSource() method in AccessibilityRecordCompat
607 return IMPL.getSource(mRecord); in getSource()
/frameworks/base/services/core/java/com/android/server/location/
DComprehensiveCountryDetector.java320 "(source: " + detectedCountry.getSource() in runAfterDetection()
328 || detectedCountry.getSource() > Country.COUNTRY_SOURCE_LOCATION) in runAfterDetection()
339 || detectedCountry.getSource() >= Country.COUNTRY_SOURCE_LOCATION) { in runAfterDetection()

12345