Lines Matching refs:cling

3935         final Cling cling = (Cling) findViewById(clingId);  in initCling()  local
3936 if (cling != null) { in initCling()
3937 cling.init(this, positionData); in initCling()
3938 cling.setVisibility(View.VISIBLE); in initCling()
3939 cling.setLayerType(View.LAYER_TYPE_HARDWARE, null); in initCling()
3941 cling.buildLayer(); in initCling()
3942 cling.setAlpha(0f); in initCling()
3943 cling.animate() in initCling()
3950 cling.setAlpha(1f); in initCling()
3952 cling.setFocusableInTouchMode(true); in initCling()
3953 cling.post(new Runnable() { in initCling()
3955 cling.setFocusable(true); in initCling()
3956 cling.requestFocus(); in initCling()
3962 return cling; in initCling()
3965 private void dismissCling(final Cling cling, final String flag, int duration) { in dismissCling() argument
3968 if (cling != null && cling.getVisibility() != View.GONE) { in dismissCling()
3969 ObjectAnimator anim = LauncherAnimUtils.ofFloat(cling, "alpha", 0f); in dismissCling()
3973 cling.setVisibility(View.GONE); in dismissCling()
3974 cling.cleanup(); in dismissCling()
3991 final View cling = findViewById(id); in removeCling() local
3992 if (cling != null) { in removeCling()
3993 final ViewGroup parent = (ViewGroup) cling.getParent(); in removeCling()
3997 parent.removeView(cling); in removeCling()
4005 Cling cling = (Cling) findViewById(R.id.workspace_cling); in skipCustomClingIfNoAccounts() local
4006 boolean customCling = cling.getDrawIdentifier().equals("workspace_custom"); in skipCustomClingIfNoAccounts()
4026 View cling = findViewById(R.id.workspace_cling); in showFirstRunWorkspaceCling() local
4027 ViewGroup clingParent = (ViewGroup) cling.getParent(); in showFirstRunWorkspaceCling()
4028 int clingIndex = clingParent.indexOfChild(cling); in showFirstRunWorkspaceCling()
4059 Cling cling = (Cling) findViewById(R.id.folder_cling); in isFolderClingVisible() local
4060 if (cling != null) { in isFolderClingVisible()
4061 return cling.getVisibility() == View.VISIBLE; in isFolderClingVisible()
4066 Cling cling = (Cling) findViewById(R.id.workspace_cling); in dismissWorkspaceCling() local
4067 dismissCling(cling, Cling.WORKSPACE_CLING_DISMISSED_KEY, DISMISS_CLING_DURATION); in dismissWorkspaceCling()
4070 Cling cling = (Cling) findViewById(R.id.all_apps_cling); in dismissAllAppsCling() local
4071 dismissCling(cling, Cling.ALLAPPS_CLING_DISMISSED_KEY, DISMISS_CLING_DURATION); in dismissAllAppsCling()
4074 Cling cling = (Cling) findViewById(R.id.folder_cling); in dismissFolderCling() local
4075 dismissCling(cling, Cling.FOLDER_CLING_DISMISSED_KEY, DISMISS_CLING_DURATION); in dismissFolderCling()