Lines Matching refs:mCommand
195 private int mCommand = 0; field in Cea708CCParser
279 mCommand = data[pos] & 0xff; in parseServiceBlockData()
281 if (mCommand == Const.CODE_C0_EXT1) { in parseServiceBlockData()
283 Log.d(TAG, String.format("parseServiceBlockData EXT1 %x", mCommand)); in parseServiceBlockData()
286 } else if (mCommand >= Const.CODE_C0_RANGE_START in parseServiceBlockData()
287 && mCommand <= Const.CODE_C0_RANGE_END) { in parseServiceBlockData()
289 Log.d(TAG, String.format("parseServiceBlockData C0 %x", mCommand)); in parseServiceBlockData()
292 } else if (mCommand >= Const.CODE_C1_RANGE_START in parseServiceBlockData()
293 && mCommand <= Const.CODE_C1_RANGE_END) { in parseServiceBlockData()
295 Log.d(TAG, String.format("parseServiceBlockData C1 %x", mCommand)); in parseServiceBlockData()
298 } else if (mCommand >= Const.CODE_G0_RANGE_START in parseServiceBlockData()
299 && mCommand <= Const.CODE_G0_RANGE_END) { in parseServiceBlockData()
301 Log.d(TAG, String.format("parseServiceBlockData G0 %x", mCommand)); in parseServiceBlockData()
304 } else if (mCommand >= Const.CODE_G1_RANGE_START in parseServiceBlockData()
305 && mCommand <= Const.CODE_G1_RANGE_END) { in parseServiceBlockData()
307 Log.d(TAG, String.format("parseServiceBlockData G1 %x", mCommand)); in parseServiceBlockData()
317 if (mCommand >= Const.CODE_C0_SKIP2_RANGE_START in parseC0()
318 && mCommand <= Const.CODE_C0_SKIP2_RANGE_END) { in parseC0()
319 if (mCommand == Const.CODE_C0_P16) { in parseC0()
334 } else if (mCommand >= Const.CODE_C0_SKIP1_RANGE_START in parseC0()
335 && mCommand <= Const.CODE_C0_SKIP1_RANGE_END) { in parseC0()
343 switch (mCommand) { in parseC0()
347 emitCaptionEvent(new CaptionEvent(CAPTION_EMIT_TYPE_CONTROL, (char) mCommand)); in parseC0()
350 emitCaptionEvent(new CaptionEvent(CAPTION_EMIT_TYPE_CONTROL, (char) mCommand)); in parseC0()
353 emitCaptionEvent(new CaptionEvent(CAPTION_EMIT_TYPE_CONTROL, (char) mCommand)); in parseC0()
359 emitCaptionEvent(new CaptionEvent(CAPTION_EMIT_TYPE_CONTROL, (char) mCommand)); in parseC0()
371 switch (mCommand) { in parseC1()
381 int windowId = mCommand - Const.CODE_C1_CW0; in parseC1()
586 int windowId = mCommand - Const.CODE_C1_DF0; in parseC1()
627 if (mCommand == Const.CODE_G0_MUSICNOTE) { in parseG0()
632 mBuffer.append((char) mCommand); in parseG0()
641 mBuffer.append((char) mCommand); in parseG1()
648 mCommand = data[pos] & 0xff; in parseExt1()
650 if (mCommand >= Const.CODE_C2_RANGE_START in parseExt1()
651 && mCommand <= Const.CODE_C2_RANGE_END) { in parseExt1()
653 } else if (mCommand >= Const.CODE_C3_RANGE_START in parseExt1()
654 && mCommand <= Const.CODE_C3_RANGE_END) { in parseExt1()
656 } else if (mCommand >= Const.CODE_G2_RANGE_START in parseExt1()
657 && mCommand <= Const.CODE_G2_RANGE_END) { in parseExt1()
659 } else if (mCommand >= Const.CODE_G3_RANGE_START in parseExt1()
660 && mCommand <= Const.CODE_G3_RANGE_END) { in parseExt1()
670 if (mCommand >= Const.CODE_C2_SKIP0_RANGE_START in parseC2()
671 && mCommand <= Const.CODE_C2_SKIP0_RANGE_END) { in parseC2()
673 } else if (mCommand >= Const.CODE_C2_SKIP1_RANGE_START in parseC2()
674 && mCommand <= Const.CODE_C2_SKIP1_RANGE_END) { in parseC2()
676 } else if (mCommand >= Const.CODE_C2_SKIP2_RANGE_START in parseC2()
677 && mCommand <= Const.CODE_C2_SKIP2_RANGE_END) { in parseC2()
679 } else if (mCommand >= Const.CODE_C2_SKIP3_RANGE_START in parseC2()
680 && mCommand <= Const.CODE_C2_SKIP3_RANGE_END) { in parseC2()
690 if (mCommand >= Const.CODE_C3_SKIP4_RANGE_START in parseC3()
691 && mCommand <= Const.CODE_C3_SKIP4_RANGE_END) { in parseC3()
693 } else if (mCommand >= Const.CODE_C3_SKIP5_RANGE_START in parseC3()
694 && mCommand <= Const.CODE_C3_SKIP5_RANGE_END) { in parseC3()
703 switch (mCommand) { in parseG2()
723 if (mCommand == Const.CODE_G3_CC) { in parseG3()