Home
last modified time | relevance | path

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

12345678910>>...13

/frameworks/base/core/tests/coretests/src/android/widget/
DEditorCursorDragTest.java259 TextView tv = mActivity.findViewById(R.id.textview); in testEditor_onTouchEvent_quickTapAfterDrag() local
260 Editor editor = tv.getEditorForTesting(); in testEditor_onTouchEvent_quickTapAfterDrag()
264 MotionEvent event1 = downEvent(tv, event1Time, event1Time, 5f, 10f); in testEditor_onTouchEvent_quickTapAfterDrag()
270 MotionEvent event2 = moveEvent(tv, event1Time, event2Time, 50f, 10f); in testEditor_onTouchEvent_quickTapAfterDrag()
276 MotionEvent event3 = moveEvent(tv, event1Time, event3Time, 100f, 10f); in testEditor_onTouchEvent_quickTapAfterDrag()
282 MotionEvent event4 = upEvent(tv, event1Time, event4Time, 100f, 10f); in testEditor_onTouchEvent_quickTapAfterDrag()
289 MotionEvent event5 = downEvent(tv, event5Time, event5Time, 90f, 10f); in testEditor_onTouchEvent_quickTapAfterDrag()
295 MotionEvent event6 = upEvent(tv, event5Time, event6Time, 90f, 10f); in testEditor_onTouchEvent_quickTapAfterDrag()
302 MotionEvent event7 = downEvent(tv, event7Time, event7Time, 90f, 10f); in testEditor_onTouchEvent_quickTapAfterDrag()
314 TextView tv = mActivity.findViewById(R.id.textview); in testEditor_onTouchEvent_mouseDrag() local
[all …]
/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.java54 import android.hardware.tv.cec.V1_0.OptionKey;
55 import android.hardware.tv.cec.V1_0.SendMessageResult;
57 import android.media.tv.TvInputManager;
58 import android.media.tv.TvInputManager.TvInputCallback;
626 mCecController.setOption(OptionKey.WAKEUP, tv().getAutoWakeup()); in onInitializeCecComplete()
696 tv().setAutoWakeup(enabled); in onChange()
711 tv().setSystemAudioControlFeatureEnabled(enabled); in onChange()
876 tv().setSelectRequestBuffer(mSelectRequestBuffer); in notifyAddressAllocated()
1064 return tv() == null ? null : tv().getCecDeviceInfo(logicalAddress); in getDeviceInfo()
1294 || !tv().isSystemAudioActivated() in setAudioStatus()
[all …]
/frameworks/base/media/jni/
Dandroid_media_tv_Tuner.h40 using ::android::hardware::tv::tuner::V1_0::DemuxFilterEvent;
41 using ::android::hardware::tv::tuner::V1_0::DemuxFilterStatus;
42 using ::android::hardware::tv::tuner::V1_0::DemuxFilterType;
43 using ::android::hardware::tv::tuner::V1_0::DemuxPid;
44 using ::android::hardware::tv::tuner::V1_0::DvrType;
45 using ::android::hardware::tv::tuner::V1_0::FrontendEventType;
46 using ::android::hardware::tv::tuner::V1_0::FrontendId;
47 using ::android::hardware::tv::tuner::V1_0::FrontendInfo;
48 using ::android::hardware::tv::tuner::V1_0::FrontendScanMessage;
49 using ::android::hardware::tv::tuner::V1_0::FrontendScanMessageType;
[all …]
/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/tunerresourcemanager/
DITunerResourceManager.aidl17 package android.media.tv.tunerresourcemanager;
19 import android.media.tv.tunerresourcemanager.CasSessionRequest;
20 import android.media.tv.tunerresourcemanager.IResourcesReclaimListener;
21 import android.media.tv.tunerresourcemanager.ResourceClientProfile;
22 import android.media.tv.tunerresourcemanager.TunerDemuxRequest;
23 import android.media.tv.tunerresourcemanager.TunerDescramblerRequest;
24 import android.media.tv.tunerresourcemanager.TunerFrontendInfo;
25 import android.media.tv.tunerresourcemanager.TunerFrontendRequest;
26 import android.media.tv.tunerresourcemanager.TunerLnbRequest;
/frameworks/opt/tv/tvsystem/api/
Dsystem-current.txt2 package com.android.libraries.tv.tvsystem.wifi {
10 …field @NonNull public static final android.os.Parcelable.Creator<com.android.libraries.tv.tvsystem…
15 …ctor public SoftApConfiguration.Builder(@NonNull com.android.libraries.tv.tvsystem.wifi.SoftApConf…
16 method @NonNull public com.android.libraries.tv.tvsystem.wifi.SoftApConfiguration build();
17 …method @NonNull public com.android.libraries.tv.tvsystem.wifi.SoftApConfiguration.Builder setBssid…
18 …method @NonNull public com.android.libraries.tv.tvsystem.wifi.SoftApConfiguration.Builder setSsid(…
19 …method @NonNull public com.android.libraries.tv.tvsystem.wifi.SoftApConfiguration.Builder setWpa2P…
24 …_WIZARD}) public void startLocalOnlyHotspot(@NonNull com.android.libraries.tv.tvsystem.wifi.SoftAp…
Dcurrent.txt2 package com.android.libraries.tv.tvsystem.display {
5 …ctor public DeviceProductInfo(String, String, String, Integer, com.android.libraries.tv.tvsystem.d…
6 …method public com.android.libraries.tv.tvsystem.display.DeviceProductInfo.ManufactureDate getManuf…
21 …method public static com.android.libraries.tv.tvsystem.display.DeviceProductInfo getDeviceProductI…
31 package com.android.libraries.tv.tvsystem.pm {
40 package com.android.libraries.tv.tvsystem.user {
52 …public final class TvUserManager implements com.android.libraries.tv.tvsystem.user.ITvUserManager {
/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.cpp91 struct timeval tv; in main() local
92 tv.tv_sec = 10 * 60; in main()
93 tv.tv_usec = 0; in main()
94 if (setsockopt(s, SOL_SOCKET, SO_RCVTIMEO, &tv, sizeof(tv)) == -1) { in main()
/frameworks/opt/tv/tvsystem/
DAndroid.bp16 name: "com.android.libraries.tv.tvsystem",
19 "com.android.libraries.tv.tvsystem",
20 "com.android.libraries.tv.tvsystem.display",
21 "com.android.libraries.tv.tvsystem.pm",
22 "com.android.libraries.tv.tvsystem.user",
23 "com.android.libraries.tv.tvsystem.wifi"
/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/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/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/base/core/jni/
Dandroid_os_SystemClock.cpp66 struct timeval tv; in android_os_SystemClock_currentTimeMicro() local
68 gettimeofday(&tv, NULL); in android_os_SystemClock_currentTimeMicro()
69 return tv.tv_sec * 1000000LL + tv.tv_usec; in android_os_SystemClock_currentTimeMicro()
/frameworks/base/media/java/android/media/tv/tuner/
DTuner.java17 package android.media.tv.tuner;
28 import android.hardware.tv.tuner.V1_0.Constants;
29 import android.media.tv.TvInputService;
30 import android.media.tv.tuner.dvr.DvrPlayback;
31 import android.media.tv.tuner.dvr.DvrRecorder;
32 import android.media.tv.tuner.dvr.OnPlaybackStatusChangedListener;
33 import android.media.tv.tuner.dvr.OnRecordStatusChangedListener;
34 import android.media.tv.tuner.filter.Filter;
35 import android.media.tv.tuner.filter.Filter.Subtype;
36 import android.media.tv.tuner.filter.Filter.Type;
[all …]
/frameworks/base/media/java/android/media/tv/tuner/filter/
DTimeFilter.java17 package android.media.tv.tuner.filter;
20 import android.media.tv.tuner.Tuner;
21 import android.media.tv.tuner.Tuner.Result;
22 import android.media.tv.tuner.TunerUtils;

12345678910>>...13