question: uses templateurlservice to generate the url for the given query string for query with the contextual search version param set . concode_field_sep String GWS_SEARCH_NO_SUGGESTIONS_PARAM_VALUE concode_elem_sep String PF_PARAM concode_elem_sep boolean mIsLowPriority concode_elem_sep boolean mWasPrefetch concode_elem_sep String CTXS_TWO_REQUEST_PROTOCOL concode_elem_sep String CTXR_PARAM concode_elem_sep String TLITE_SOURCE_LANGUAGE_PARAM concode_elem_sep Uri mNormalPriorityUri concode_elem_sep String GWS_SEARCH_NO_SUGGESTIONS_PARAM concode_elem_sep boolean mHasFailedLowPriorityLoad concode_elem_sep Uri mLowPriorityUri concode_elem_sep String GWS_QUERY_PARAM concode_elem_sep String CTXS_PARAM_PATTERN concode_elem_sep String TLITE_TARGET_LANGUAGE_PARAM concode_elem_sep boolean mIsTranslationForced concode_elem_sep String GWS_LOW_PRIORITY_SEARCH_PATH concode_elem_sep String KP_TRIGGERING_MID_PARAM concode_elem_sep String CTXSL_TRANS_PARAM_VALUE concode_elem_sep String CTXSL_TRANS_PARAM concode_elem_sep String TLITE_QUERY_PARAM concode_field_sep boolean isContextualSearchUrl concode_elem_sep boolean wasPrefetch concode_elem_sep Uri makeTranslateUri concode_elem_sep boolean isUsingLowPriority concode_elem_sep boolean isTranslationForced concode_elem_sep Uri makeLowPriorityUri concode_elem_sep String getSearchUrlForPromotion concode_elem_sep boolean getHasFailed concode_elem_sep Uri makeKPTriggeringUri concode_elem_sep void setNormalPriority concode_elem_sep void forceAutoDetectTranslation concode_elem_sep String getSearchUrl concode_elem_sep void forceTranslation concode_elem_sep void setHasFailed
target: Uri function ( String arg0 , @ Nullable String arg1 , @ Nullable String arg2 , boolean arg3 ) { Uri loc0 = Uri . parse ( TemplateUrlService . getInstance ( ) . getUrlForContextualSearchQuery ( arg0 , arg1 , arg3 , CTXS_TWO_REQUEST_PROTOCOL ) ) ; if ( ! TextUtils . isEmpty ( arg2 ) ) { loc0 = makeKPTriggeringUri ( loc0 , arg2 ) ; } return loc0 ; }