Searched refs:tv (Results 26 - 50 of 116) sorted by relevance

12345

/frameworks/base/media/mca/filterfw/native/core/
H A Dtime_util.cpp31 struct timeval tv; local
33 gettimeofday(&tv, 0);
35 basesec = tv.tv_sec;
37 nowtime = (uint64_t)(tv.tv_sec - basesec) * (uint64_t)1000000 +
38 (uint64_t)tv.tv_usec;
/frameworks/base/media/mca/filterpacks/native/base/
H A Dtime_util.cpp29 struct timeval tv; local
31 gettimeofday(&tv, 0);
33 basesec = tv.tv_sec;
35 nowtime = (uint64_t)(tv.tv_sec - basesec) * (uint64_t)1000000 +
36 (uint64_t)tv.tv_usec;
/frameworks/base/media/java/android/media/tv/
H A DITvInputClient.aidl17 package android.media.tv;
20 import android.media.tv.ITvInputSession;
22 import android.media.tv.TvTrackInfo;
H A DITvInputManagerCallback.aidl17 package android.media.tv;
H A DITvInputManager.aidl17 package android.media.tv;
21 import android.media.tv.ITvInputClient;
22 import android.media.tv.ITvInputHardware;
23 import android.media.tv.ITvInputHardwareCallback;
24 import android.media.tv.ITvInputManagerCallback;
25 import android.media.tv.TvContentRatingSystemInfo;
26 import android.media.tv.TvInputHardwareInfo;
27 import android.media.tv.TvInputInfo;
28 import android.media.tv.TvStreamConfig;
29 import android.media.tv
[all...]
H A DITvInputSession.aidl17 package android.media.tv;
20 import android.media.tv.TvTrackInfo;
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
H A DEffectsTest.java181 TextView tv = new TextView(mContext);
182 tv.setText("Effect "+ position);
183 addView(tv, new LinearLayout.LayoutParams(
185 tv = new TextView(mContext);
186 tv.setText(" type: "+ effectUuidToString(mDescriptors[position].type));
187 addView(tv, new LinearLayout.LayoutParams(
189 tv = new TextView(mContext);
190 tv.setText(" uuid: "+ mDescriptors[position].uuid.toString());
191 addView(tv, new LinearLayout.LayoutParams(
193 tv
[all...]
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/
H A DLayoutInsetsTest.java32 TextView tv = new TextView(context);
33 tv.setTextSize(32);
34 tv.setText("A");
35 c = tv;
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DSystemAudioActionFromAvr.java51 if (mTargetAudioStatus == tv().isSystemAudioActivated()) {
55 if (tv().isProhibitMode()) {
H A DSystemAudioStatusAction.java69 tv().setAudioStatus(false, Constants.UNKNOWN_VOLUME);
71 int uiCommand = tv().isSystemAudioActivated()
99 tv().setAudioStatus(mute, volume);
101 if (!(tv().isSystemAudioActivated() ^ mute)) {
H A DHotplugDetectionAction.java118 if (tv().isSystemAudioActivated()) {
151 BitSet currentInfos = infoListToBitSet(tv().getDeviceInfoList(false), audioOnly);
225 tv().removeCecDevice(removedAddress);
229 HdmiDeviceInfo info = tv().getCecDeviceInfo(address);
231 tv().handleRemoveActiveRoutingPath(info.getPhysicalAddress());
263 tv().setSystemAudioMode(false, true);
264 if (tv().isArcEstabilished()) {
H A DRoutingControlAction.java122 tv().updateActiveInput(mCurrentRoutingPath, mNotifyInputChange);
131 return tv().getPowerStatus();
157 HdmiDeviceInfo device = tv().getDeviceInfoByPath(mCurrentRoutingPath);
168 tv().updateActiveInput(mCurrentRoutingPath, mNotifyInputChange);
174 tv().updateActiveInput(mCurrentRoutingPath, mNotifyInputChange);
192 tv().updateActiveInput(mCurrentRoutingPath, mNotifyInputChange);
H A DHdmiControlService.java53 import android.media.tv.TvInputManager;
54 import android.media.tv.TvInputManager.TvInputCallback;
457 mCecController.setOption(OPTION_CEC_AUTO_WAKEUP, toInt(tv().getAutoWakeup()));
508 tv().setAutoWakeup(enabled);
514 tv().setAutoDeviceOff(enabled);
752 return tv() == null ? null : tv().getCecDeviceInfo(logicalAddress);
1186 HdmiCecLocalDeviceTv tv = tv();
1187 if (tv
1901 private HdmiCecLocalDeviceTv tv() { method in class:HdmiControlService
[all...]
H A DOneTouchRecordAction.java66 tv().announceOneTouchRecordResult(
98 tv().announceOneTouchRecordResult(mRecorderAddress, recordStatus);
125 tv().announceOneTouchRecordResult(mRecorderAddress,
H A DNewDeviceAction.java167 if (!tv().isInDeviceList(mDeviceLogicalAddress, mDevicePhysicalAddress)) {
177 tv().getPortId(mDevicePhysicalAddress),
179 tv().addCecDevice(deviceInfo);
182 tv().processDelayedMessages(mDeviceLogicalAddress);
186 tv().onNewAvrAdded(deviceInfo);
H A DSystemAudioAction.java116 if (tv().getActiveSource().isValid()) {
117 return tv().getActiveSource().physicalAddress;
119 int param = tv().getActivePath();
136 tv().setSystemAudioMode(mode, true);
177 addAndStartAction(new SystemAudioStatusAction(tv(), mAvrLogicalAddress, mCallback));
H A DTimerRecordingAction.java77 tv().announceTimerRecordingResult(mRecorderAddress,
86 tv().announceTimerRecordingResult(mRecorderAddress,
117 tv().announceTimerRecordingResult(mRecorderAddress, bytesToInt(timerStatusData));
141 tv().announceTimerRecordingResult(mRecorderAddress,
167 tv().announceTimerRecordingResult(mRecorderAddress,
/frameworks/wilhelm/tests/sandbox/
H A Dgetch.c37 struct timeval tv = { 0L, 0L }; local
41 return select(1, &fds, NULL, NULL, &tv);
/frameworks/base/services/core/jni/
H A Dcom_android_server_AlarmManagerService.cpp62 virtual int setTime(struct timeval *tv) = 0;
76 int setTime(struct timeval *tv);
88 int setTime(struct timeval *tv);
114 int AlarmImplAlarmDriver::setTime(struct timeval *tv) argument
119 ts.tv_sec = tv->tv_sec;
120 ts.tv_nsec = tv->tv_usec * 1000;
160 int AlarmImplTimerFd::setTime(struct timeval *tv) argument
167 res = settimeofday(tv, NULL);
179 gmtime_res = gmtime_r(&tv->tv_sec, &tm);
235 struct timeval tv; local
[all...]
/frameworks/base/core/jni/android/opengl/
H A Dpoly_clip.cpp66 float t, tu, tv; local
73 for (v= &p->vert[0], i=p->n; i>0; i--, u=v, tu=tv, v++) {
75 /* tv is negative if vertex v is in */
76 tv = sign*COORD(v, index) - v->sw*k;
77 if ((tu <= 0.0f) ^ (tv <= 0.0f)) {
79 t = tu/(tu-tv);
88 if (tv<=0.0f) /* vertex v is in, copy it to q */
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DRecentsView.java165 TaskView tv = (TaskView) stackView.getChildAt(j);
166 Task task = tv.getTask();
167 if (tv.isFocusedTask()) {
168 onTaskViewClicked(stackView, tv, stack, task, false);
194 TaskView tv = stackView.getChildViewForTask(task);
195 onTaskViewClicked(stackView, tv, stack, task, false);
404 public void onTaskViewClicked(final TaskStackView stackView, final TaskView tv, argument
417 if (tv == null) {
426 sourceView = tv.mThumbnailView;
437 if (tv !
[all...]
H A DTaskStackViewTouchHandler.java98 TaskView tv = (TaskView) mSv.getChildAt(i);
99 if (tv.getVisibility() == View.VISIBLE) {
100 if (mSv.isTransformedTouchPointInView(x, y, tv)) {
101 return tv;
371 TaskView tv = (TaskView) v;
373 tv.setClipViewInStack(false);
375 tv.setTouchEnabled(false);
390 TaskView tv = (TaskView) v;
392 tv.setClipViewInStack(true);
394 tv
[all...]
/frameworks/base/include/androidfw/
H A DTypeWrappers.h62 iterator(const TypeVariant* tv, uint32_t index) argument
63 : mTypeVariant(tv), mIndex(index) {}
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DQSDualTileLabel.java109 final TextView tv = new TextView(mContext);
110 tv.setPadding(0, 0, 0, 0);
111 tv.setGravity(Gravity.CENTER_VERTICAL);
112 tv.setSingleLine(true);
113 tv.setClickable(false);
114 tv.setBackground(null);
115 return tv;
/frameworks/base/core/tests/coretests/src/android/widget/focus/
H A DListWithFooterViewAndNewLabels.java99 TextView tv = (TextView) inflater.inflate(
102 tv.setText(label);
103 return tv;

Completed in 491 milliseconds

12345