private bool onKeyboardShown(KeyboardEvents.KeyboardShown evt) { if (smc != null) { smc.SendEvent(new ExternalEvent("ChatScreenPanel", "keyboardOpen")); } return(false); }
private bool onKeyboardShown(KeyboardEvents.KeyboardShown evt) { if (evt.Height > 0) { float layoutElementHeight = (float)evt.Height / getScreenHeight(); setLayoutElementHeight(layoutElementHeight); } return(false); }
private bool onKeyboardShown(KeyboardEvents.KeyboardShown evt) { if (evt.Height > 0 && currentEventState == EventState.Pending) { currentEventState = EventState.Invalid; } else if (evt.Height > 0 && currentEventState == EventState.None) { CoroutineRunner.Start(handleKeyboardShown(), this, ""); } return(false); }
private bool onKeyboardShown(KeyboardEvents.KeyboardShown evt) { IsKeyboardShown = true; if (evt.Height > 0) { float screenContainerHeight = (float)evt.Height / getScreenHeight(); setScreenContainerHeight(screenContainerHeight); if (ShouldAnimate) { layoutElementTweener.Open(); } else { layoutElementTweener.SetOpen(); } } return(false); }
private bool onKeyboardShown(KeyboardEvents.KeyboardShown evt) { changeOffset(ref OffsetWithKeyboard); return(false); }
private bool onKeyboardShown(KeyboardEvents.KeyboardShown evt) { isShowingKeyboard = true; return(false); }