Home
last modified time | relevance | path

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

12345678

/frameworks/base/core/java/android/view/animation/
DScaleAnimation.java70 TypedValue tv = a.peekValue( in ScaleAnimation() local
73 if (tv != null) { in ScaleAnimation()
74 if (tv.type == TypedValue.TYPE_FLOAT) { in ScaleAnimation()
76 mFromX = tv.getFloat(); in ScaleAnimation()
78 mFromXType = tv.type; in ScaleAnimation()
79 mFromXData = tv.data; in ScaleAnimation()
82 tv = a.peekValue( in ScaleAnimation()
85 if (tv != null) { in ScaleAnimation()
86 if (tv.type == TypedValue.TYPE_FLOAT) { in ScaleAnimation()
88 mToX = tv.getFloat(); in ScaleAnimation()
[all …]
/frameworks/base/core/tests/coretests/src/android/text/util/
DLinkifyTest.java69 TextView tv; in testNothing() local
71 tv = new TextView(createUsEnglishContext()); in testNothing()
72 tv.setText("Hey, foo@google.com, call 415-555-1212."); in testNothing()
74 assertFalse(tv.getMovementMethod() instanceof LinkMovementMethod); in testNothing()
75 assertTrue(tv.getUrls().length == 0); in testNothing()
80 TextView tv; in testNormal() local
82 tv = new TextView(createUsEnglishContext()); in testNormal()
83 tv.setAutoLinkMask(Linkify.ALL); in testNormal()
84 tv.setText("Hey, foo@google.com, call +1-415-555-1212."); in testNormal()
86 assertTrue(tv.getMovementMethod() instanceof LinkMovementMethod); in testNormal()
[all …]
/frameworks/base/services/core/java/com/android/server/hdmi/
DActiveSourceHandler.java64 HdmiCecLocalDeviceTv tv = mSource; in process() local
67 tv.startNewDeviceAction(newActive, deviceType); in process()
70 if (!tv.isProhibitMode()) { in process()
71 ActiveSource old = ActiveSource.of(tv.getActiveSource()); in process()
72 tv.updateActiveSource(newActive); in process()
75 tv.setPrevPortId(tv.getActivePortId()); in process()
77 tv.updateActiveInput(newActive.physicalAddress, notifyInputChange); in process()
83 ActiveSource current = tv.getActiveSource(); in process()
88 tv.updateActiveSource(current); in process()
91 tv.startRoutingControl(newActive.physicalAddress, current.physicalAddress, true, in process()
DSystemAudioAutoInitiationAction.java19 import android.hardware.tv.cec.V1_0.SendMessageResult;
82 boolean targetSystemAudioMode = tv().isSystemAudioControlFeatureEnabled(); in handleSystemAudioModeStatusMessage()
86 new SystemAudioActionFromTv(tv(), mAvrAddress, targetSystemAudioMode, null)); in handleSystemAudioModeStatusMessage()
90 tv().setSystemAudioMode(targetSystemAudioMode); in handleSystemAudioModeStatusMessage()
116 addAndStartAction(new SystemAudioActionFromTv(tv(), mAvrAddress, in handleSystemAudioModeStatusTimeout()
117 tv().isSystemAudioControlFeatureEnabled(), null)); in handleSystemAudioModeStatusTimeout()
122 return !(tv().hasAction(SystemAudioActionFromTv.class) in canChangeSystemAudio()
123 || tv().hasAction(SystemAudioActionFromAvr.class)); in canChangeSystemAudio()
DSelectRequestBuffer.java55 protected HdmiCecLocalDeviceTv tv() { in tv() method in SelectRequestBuffer.SelectRequest
56 return mService.tv(); in tv()
64 if (tv() == null) { in isLocalDeviceReady()
98 tv().deviceSelect(mId, mCallback); in process()
112 HdmiCecLocalDeviceTv tv = tv(); in process() local
113 if (tv != null) { in process()
114 tv.doManualPortSwitching(mId, mCallback); in process()
DHotplugDetectionAction.java118 if (tv().isSystemAudioActivated()) { in pollDevices()
151 BitSet currentInfos = infoListToBitSet(tv().getDeviceInfoList(false), audioOnly); in checkHotplug()
159 HdmiDeviceInfo avr = tv().getAvrDeviceInfo(); in checkHotplug()
160 if (avr != null && tv().isConnected(avr.getPortId())) { in checkHotplug()
228 tv().removeCecDevice(removedAddress); in removeDevice()
232 HdmiDeviceInfo info = tv().getCecDeviceInfo(address); in mayChangeRoutingPath()
234 tv().handleRemoveActiveRoutingPath(info.getPhysicalAddress()); in mayChangeRoutingPath()
265 tv().setSystemAudioMode(false); in mayDisableSystemAudioAndARC()
266 if (tv().isArcEstablished()) { in mayDisableSystemAudioAndARC()
267 tv().enableAudioReturnChannel(false); in mayDisableSystemAudioAndARC()
DRoutingControlAction.java131 HdmiCecLocalDeviceTv tv = tv(); in updateActiveInput() local
132 tv.setPrevPortId(tv.getActivePortId()); in updateActiveInput()
133 tv.updateActiveInput(mCurrentRoutingPath, mNotifyInputChange); in updateActiveInput()
137 return tv().getPowerStatus(); in getTvPowerStatus()
163 HdmiDeviceInfo device = tv().getDeviceInfoByPath(mCurrentRoutingPath); in handleTimerEvent()
DHdmiControlService.java52 import android.hardware.tv.cec.V1_0.OptionKey;
53 import android.hardware.tv.cec.V1_0.SendMessageResult;
55 import android.media.tv.TvInputManager;
56 import android.media.tv.TvInputManager.TvInputCallback;
561 mCecController.setOption(OptionKey.WAKEUP, tv().getAutoWakeup()); in onInitializeCecComplete()
616 tv().setAutoWakeup(enabled); in onChange()
631 tv().setSystemAudioControlFeatureEnabled(enabled); in onChange()
783 tv().setSelectRequestBuffer(mSelectRequestBuffer); in notifyAddressAllocated()
963 return tv() == null ? null : tv().getCecDeviceInfo(logicalAddress); in getDeviceInfo()
1165 if (!isTvDeviceEnabled() || !tv().isSystemAudioActivated()) { in setAudioStatus()
[all …]
DTimerRecordingAction.java25 import android.hardware.tv.cec.V1_0.SendMessageResult;
76 tv().announceTimerRecordingResult(mRecorderAddress, in sendTimerMessage()
85 tv().announceTimerRecordingResult(mRecorderAddress, in sendTimerMessage()
116 tv().announceTimerRecordingResult(mRecorderAddress, bytesToInt(timerStatusData)); in handleTimerStatus()
140 tv().announceTimerRecordingResult(mRecorderAddress, in handleFeatureAbort()
166 tv().announceTimerRecordingResult(mRecorderAddress, in handleTimerEvent()
DSystemAudioAction.java23 import android.hardware.tv.cec.V1_0.SendMessageResult;
116 if (tv().getActiveSource().isValid()) { in getSystemAudioModeRequestParam()
117 return tv().getActiveSource().physicalAddress; in getSystemAudioModeRequestParam()
119 int param = tv().getActivePath(); in getSystemAudioModeRequestParam()
136 tv().setSystemAudioMode(mode); in setSystemAudioMode()
177 addAndStartAction(new SystemAudioStatusAction(tv(), mAvrLogicalAddress, mCallback)); in startAudioStatusAction()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DTaskStackView.java290 TaskView tv = taskViews.get(i); in TaskStackView()
291 tv.startNoUserInteractionAnimation(); in TaskStackView()
407 TaskView tv = taskViews.get(i); in getChildViewForTask() local
408 if (tv.getTask() == t) { in getChildViewForTask()
409 return tv; in getChildViewForTask()
556 TaskView tv = taskViews.get(i); in bindVisibleTaskViews() local
557 Task task = tv.getTask(); in bindVisibleTaskViews()
574 mTmpTaskViewMap.put(task.key, tv); in bindVisibleTaskViews()
576 if (mTouchExplorationEnabled && Utilities.isDescendentAccessibilityFocused(tv)) { in bindVisibleTaskViews()
580 mViewPool.returnViewToPool(tv); in bindVisibleTaskViews()
[all …]
DTaskStackAnimationHelper.java161 TaskView tv = taskViews.get(i); in prepareForEnterAnimation() local
162 Task task = tv.getTask(); in prepareForEnterAnimation()
170 tv.onPrepareLaunchTargetForEnterAnimation(); in prepareForEnterAnimation()
180 mStackView.updateTaskViewToTransform(tv, mTmpTransform, in prepareForEnterAnimation()
187 mStackView.updateTaskViewToTransform(tv, mTmpTransform, in prepareForEnterAnimation()
198 mStackView.updateTaskViewToTransform(tv, mTmpTransform, AnimationProps.IMMEDIATE); in prepareForEnterAnimation()
205 mStackView.updateTaskViewToTransform(tv, mTmpTransform, AnimationProps.IMMEDIATE); in prepareForEnterAnimation()
251 final TaskView tv = taskViews.get(i); in startEnterAnimation() local
252 Task task = tv.getTask(); in startEnterAnimation()
261 tv.onStartLaunchTargetEnterAnimation(mTmpTransform, in startEnterAnimation()
[all …]
DTaskStackViewTouchHandler.java199 TaskView tv = taskViews.get(i); in cancelNonDismissTaskAnimations() local
201 if (mSv.isIgnoredTask(tv.getTask())) { in cancelNonDismissTaskAnimations()
205 tv.cancelTransformAnimation(); in cancelNonDismissTaskAnimations()
206 mSv.getStackAlgorithm().addUnfocusedTaskOverride(tv, mTargetStackScroll); in cancelNonDismissTaskAnimations()
440 TaskView tv = findViewAtPoint((int) ev.getX(), (int) ev.getY()); in getChildAtPosition() local
441 if (tv != null && canChildBeDismissed(tv)) { in getChildAtPosition()
442 return tv; in getChildAtPosition()
450 TaskView tv = (TaskView) v; in canChildBeDismissed() local
451 Task task = tv.getTask(); in canChildBeDismissed()
467 TaskView tv = (TaskView) v; in onBeginDrag() local
[all …]
DTaskViewTransform.java68 public void fillIn(TaskView tv) { in fillIn() argument
69 translationZ = tv.getTranslationZ(); in fillIn()
70 scale = tv.getScaleX(); in fillIn()
71 alpha = tv.getAlpha(); in fillIn()
73 dimAlpha = tv.getDimAlpha(); in fillIn()
74 viewOutlineAlpha = tv.getViewBounds().getAlpha(); in fillIn()
75 rect.set(tv.getLeft(), tv.getTop(), tv.getRight(), tv.getBottom()); in fillIn()
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
DEffectsTest.java181 TextView tv = new TextView(mContext); in set() local
182 tv.setText("Effect "+ position); in set()
183 addView(tv, new LinearLayout.LayoutParams( in set()
185 tv = new TextView(mContext); in set()
186 tv.setText(" type: "+ effectUuidToString(mDescriptors[position].type)); in set()
187 addView(tv, new LinearLayout.LayoutParams( in set()
189 tv = new TextView(mContext); in set()
190 tv.setText(" uuid: "+ mDescriptors[position].uuid.toString()); in set()
191 addView(tv, new LinearLayout.LayoutParams( in set()
193 tv = new TextView(mContext); in set()
[all …]
/frameworks/base/media/java/android/media/tv/
DITvInputManager.aidl17 package android.media.tv;
23 import android.media.tv.DvbDeviceInfo;
24 import android.media.tv.ITvInputClient;
25 import android.media.tv.ITvInputHardware;
26 import android.media.tv.ITvInputHardwareCallback;
27 import android.media.tv.ITvInputManagerCallback;
28 import android.media.tv.TvContentRatingSystemInfo;
29 import android.media.tv.TvInputHardwareInfo;
30 import android.media.tv.TvInputInfo;
31 import android.media.tv.TvStreamConfig;
[all …]
DITvInputService.aidl17 package android.media.tv;
20 import android.media.tv.ITvInputServiceCallback;
21 import android.media.tv.ITvInputSessionCallback;
22 import android.media.tv.TvInputHardwareInfo;
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/
DTemplateLayoutTest.java53 TextView tv = new TextView(mContext); in testAddView() local
54 tv.setId(R.id.test_view_id); in testAddView()
55 layout.addView(tv); in testAddView()
57 assertSame("The view added should be the same text view", tv, view); in testAddView()
75 TextView tv = new TextView(mContext); in testTemplate() local
76 tv.setId(R.id.test_view_id); in testTemplate()
77 layout.addView(tv); in testTemplate()
82 assertSame("The view added should be the same text view", tv, contentView); in testTemplate()
/frameworks/native/cmds/bugreportz/
Dmain.cpp97 struct timeval tv; in main() local
98 tv.tv_sec = 10 * 60; in main()
99 tv.tv_usec = 0; in main()
100 if (setsockopt(s, SOL_SOCKET, SO_RCVTIMEO, &tv, sizeof(tv)) == -1) { in main()
/frameworks/base/packages/EasterEgg/src/com/android/egg/quares/
DQuaresActivity.kt183 val tv: View in loadPuzzle() constant
195 tv = PixelButton(this) in loadPuzzle()
196 tv.isChecked = q.getUserMark(x, y) != 0 in loadPuzzle()
197 tv.setOnClickListener { in loadPuzzle()
198 q.setUserMark(x, y, if (tv.isChecked) 0xFF else 0) in loadPuzzle()
209 tv = View(this) in loadPuzzle()
210 tv.visibility = GONE in loadPuzzle()
212 tv = ClueView(this) in loadPuzzle()
214 tv.textRotation = 90f in loadPuzzle()
217 tv.showText = false in loadPuzzle()
[all …]
/frameworks/native/cmds/bugreport/
Dbugreport.cpp66 struct timeval tv; in main() local
67 tv.tv_sec = 3 * 60; in main()
68 tv.tv_usec = 0; in main()
69 if (setsockopt(s, SOL_SOCKET, SO_RCVTIMEO, &tv, sizeof(tv)) == -1) { in main()
/frameworks/base/media/mca/filterfw/native/core/
Dtime_util.cpp31 struct timeval tv; in getTimeUs() local
33 gettimeofday(&tv, 0); in getTimeUs()
35 basesec = tv.tv_sec; in getTimeUs()
37 nowtime = (uint64_t)(tv.tv_sec - basesec) * (uint64_t)1000000 + in getTimeUs()
38 (uint64_t)tv.tv_usec; in getTimeUs()
/frameworks/base/media/mca/filterpacks/native/base/
Dtime_util.cpp31 struct timeval tv; in getTimeUs() local
33 gettimeofday(&tv, 0); in getTimeUs()
35 basesec = tv.tv_sec; in getTimeUs()
37 nowtime = (uint64_t)(tv.tv_sec - basesec) * (uint64_t)1000000 + in getTimeUs()
38 (uint64_t)tv.tv_usec; in getTimeUs()
/frameworks/base/core/jni/
Dandroid_os_SystemClock.cpp76 struct timeval tv; in android_os_SystemClock_currentTimeMicro() local
78 gettimeofday(&tv, NULL); in android_os_SystemClock_currentTimeMicro()
79 return tv.tv_sec * 1000000LL + tv.tv_usec; in android_os_SystemClock_currentTimeMicro()
/frameworks/base/services/core/jni/
Dcom_android_server_AlarmManagerService.cpp84 int setTime(struct timeval *tv);
134 int AlarmImpl::setTime(struct timeval *tv) in setTime() argument
136 if (settimeofday(tv, NULL) == -1) { in setTime()
148 if (!gmtime_r(&tv->tv_sec, &tm)) { in setTime()
209 struct timeval tv; in android_server_AlarmManagerService_setKernelTime() local
210 tv.tv_sec = (millis / 1000LL); in android_server_AlarmManagerService_setKernelTime()
211 tv.tv_usec = ((millis % 1000LL) * 1000LL); in android_server_AlarmManagerService_setKernelTime()
213 ALOGD("Setting time of day to sec=%ld", tv.tv_sec); in android_server_AlarmManagerService_setKernelTime()
215 int ret = impl->setTime(&tv); in android_server_AlarmManagerService_setKernelTime()
217 ALOGW("Unable to set rtc to %ld: %s", tv.tv_sec, strerror(errno)); in android_server_AlarmManagerService_setKernelTime()

12345678