コード例 #1
0
ファイル: TSFocusManager.cs プロジェクト: wonrst/TizenFX
        private void A1_FocusGroupChanged(object sender, FocusManager.FocusGroupChangedEventArgs e)
        {
            View v1 = e.CurrentView;

            e.CurrentView = v1;

            bool b1 = e.ForwardDirection;

            e.ForwardDirection = b1;
        }
コード例 #2
0
ファイル: TSFocusManager.cs プロジェクト: wonrst/TizenFX
        public void FocusManagerFocusGroupChanged()
        {
            tlog.Debug(tag, $"FocusManagerFocusGroupChanged START");
            FocusManager a1 = FocusManager.Instance;

            a1.FocusGroupChanged += A1_FocusGroupChanged;
            a1.FocusGroupChanged -= A1_FocusGroupChanged;
            object o1 = new object();

            FocusManager.FocusGroupChangedEventArgs e = new FocusManager.FocusGroupChangedEventArgs();
            A1_FocusGroupChanged(o1, e);

            tlog.Debug(tag, $"FocusManagerFocusGroupChanged END (OK)");
            Assert.Pass("FocusManagerFocusGroupChanged");
        }