Default [Q] Swipe up from home for Google Now location?

Does anyone know where the swipe up from home for google now function is located? I don't think it is in the Google Search apk, or the System UI apk. I'm trying to find it and try to port it to non-AOSP ROMs. If I can find the xml for it, I would be able to locate it easier.