X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=adaptors%2Fcommon%2Fadaptor-impl.cpp;h=ff2479b0618251090c4d608b725b0a6ad1873e75;hb=28be57905493bfc096554ee75fc90fd53f27f31c;hp=0960791ede0ab5e8a4a6a4c1ff7f055bd162dee4;hpb=e4e5b7e737577d552f6d1e92bbe2882312758a10;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/adaptors/common/adaptor-impl.cpp b/adaptors/common/adaptor-impl.cpp index 0960791..ff2479b 100644 --- a/adaptors/common/adaptor-impl.cpp +++ b/adaptors/common/adaptor-impl.cpp @@ -200,6 +200,38 @@ void Adaptor::Initialize( Dali::Configuration::ContextLoss configuration ) { Integration::SetPanGestureSmoothingAmount(mEnvironmentOptions->GetPanGestureSmoothingAmount()); } + if( mEnvironmentOptions->GetPanGestureUseActualTimes() >= 0 ) + { + Integration::SetPanGestureUseActualTimes( mEnvironmentOptions->GetPanGestureUseActualTimes() == 0 ? true : false ); + } + if( mEnvironmentOptions->GetPanGestureInterpolationTimeRange() >= 0 ) + { + Integration::SetPanGestureInterpolationTimeRange( mEnvironmentOptions->GetPanGestureInterpolationTimeRange() ); + } + if( mEnvironmentOptions->GetPanGestureScalarOnlyPredictionEnabled() >= 0 ) + { + Integration::SetPanGestureScalarOnlyPredictionEnabled( mEnvironmentOptions->GetPanGestureScalarOnlyPredictionEnabled() == 0 ? true : false ); + } + if( mEnvironmentOptions->GetPanGestureTwoPointPredictionEnabled() >= 0 ) + { + Integration::SetPanGestureTwoPointPredictionEnabled( mEnvironmentOptions->GetPanGestureTwoPointPredictionEnabled() == 0 ? true : false ); + } + if( mEnvironmentOptions->GetPanGestureTwoPointInterpolatePastTime() >= 0 ) + { + Integration::SetPanGestureTwoPointInterpolatePastTime( mEnvironmentOptions->GetPanGestureTwoPointInterpolatePastTime() ); + } + if( mEnvironmentOptions->GetPanGestureTwoPointVelocityBias() >= 0.0f ) + { + Integration::SetPanGestureTwoPointVelocityBias( mEnvironmentOptions->GetPanGestureTwoPointVelocityBias() ); + } + if( mEnvironmentOptions->GetPanGestureTwoPointAccelerationBias() >= 0.0f ) + { + Integration::SetPanGestureTwoPointAccelerationBias( mEnvironmentOptions->GetPanGestureTwoPointAccelerationBias() ); + } + if( mEnvironmentOptions->GetPanGestureMultitapSmoothingRange() >= 0 ) + { + Integration::SetPanGestureMultitapSmoothingRange( mEnvironmentOptions->GetPanGestureMultitapSmoothingRange() ); + } // Set max texture size if( mEnvironmentOptions->GetMaxTextureSize() > 0 ) @@ -313,6 +345,9 @@ void Adaptor::Pause() mThreadController->Pause(); mState = PAUSED; + + // Ensure any messages queued during pause callbacks are processed by doing another update. + RequestUpdateOnce(); } }