Lines Matching defs:TvInputInfo

66 public final class TvInputInfo implements Parcelable {
68 private static final String TAG = "TvInputInfo";
153 * Create a new instance of the TvInputInfo class, instantiating it from the given Context,
159 * @param label The label of this TvInputInfo. If it is {@code null} or empty, {@code service}
169 public static TvInputInfo createTvInputInfo(Context context, ResolveInfo service,
172 TvInputInfo info = new TvInputInfo.Builder(context, service)
182 * Create a new instance of the TvInputInfo class, instantiating it from the given Context,
188 * @param labelRes The label resource ID of this TvInputInfo. If it is {@code 0},
197 public static TvInputInfo createTvInputInfo(Context context, ResolveInfo service,
200 return new TvInputInfo.Builder(context, service)
209 * Create a new instance of the TvInputInfo class, instantiating it from the given Context,
214 * @param label The label of this TvInputInfo. If it is {@code null} or empty, {@code service}
224 public static TvInputInfo createTvInputInfo(Context context, ResolveInfo service,
227 TvInputInfo info = new TvInputInfo.Builder(context, service)
236 * Create a new instance of the TvInputInfo class, instantiating it from the given Context,
241 * @param labelRes The label resource ID of this TvInputInfo. If it is {@code 0},
250 public static TvInputInfo createTvInputInfo(Context context, ResolveInfo service,
253 return new TvInputInfo.Builder(context, service)
260 private TvInputInfo(ResolveInfo service, String id, int type, boolean isHardwareInput,
541 if (!(o instanceof TvInputInfo)) {
545 TvInputInfo obj = (TvInputInfo) o;
568 return "TvInputInfo{id=" + mId
609 public static final Parcelable.Creator<TvInputInfo> CREATOR =
610 new Parcelable.Creator<TvInputInfo>() {
612 public TvInputInfo createFromParcel(Parcel in) {
613 return new TvInputInfo(in);
617 public TvInputInfo[] newArray(int size) {
618 return new TvInputInfo[size];
622 private TvInputInfo(Parcel in) {
644 * A convenience builder for creating {@link TvInputInfo} objects.
690 * Constructs a new builder for {@link TvInputInfo}.
704 * Constructs a new builder for {@link TvInputInfo}.
801 Log.w(TAG, "TvInputHardwareInfo will not be used to build this TvInputInfo");
831 Log.w(TAG, "mHdmiDeviceInfo will not be used to build this TvInputInfo");
874 * Creates a {@link TvInputInfo} instance with the specified fields. Most of the information
878 * @return TvInputInfo containing information about this TV input.
880 public TvInputInfo build() {
902 return new TvInputInfo(mResolveInfo, id, type, isHardwareInput, mLabel, mLabelResId,
1068 // Notify of the TvInputInfo changes.
1071 TvInputInfo info = tm.getTvInputInfo(inputId);
1107 // Notify of the TvInputInfo changes.
1110 TvInputInfo info = tm.getTvInputInfo(inputId);