/packages/apps/Camera2/src/com/android/camera/widget/ |
ExternalViewerButton.java | 39 private final SparseArray<Cling> mClingMap; 43 mClingMap = new SparseArray<Cling>(); 57 * Sets cling of the given viewer type for external viewer button. 59 public void setClingForViewer(int viewerType, Cling cling) { 60 if (cling == null) { 61 Log.w(TAG, "Cannot set a null cling for viewer"); 64 mClingMap.put(viewerType, cling); 65 cling.setReferenceView(this); 69 * Clears cling of the given viewer type for external viewer button 72 Cling cling = mClingMap.get(viewerType); local 140 Cling cling = mClingMap.get(mState); local [all...] |
Cling.java | 26 * This class defines a generic cling that provides on-screen instructions. A convenient 27 * method is provided here to automatically adjust the position of the cling to 31 public class Cling extends TextView { 47 public Cling(Context context, AttributeSet attrs) { 51 public Cling(Context context) { 77 * Adjust the translation of the cling to stay on top of the reference view.
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
Cling.java | 38 public class Cling extends FrameLayout { 40 static final String WORKSPACE_CLING_DISMISSED_KEY = "cling.workspace.dismissed"; 41 static final String ALLAPPS_CLING_DISMISSED_KEY = "cling.allapps.dismissed"; 42 static final String FOLDER_CLING_DISMISSED_KEY = "cling.folder.dismissed"; 71 public Cling(Context context) { 75 public Cling(Context context, AttributeSet attrs) { 79 public Cling(Context context, AttributeSet attrs, int defStyle) { 82 TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.Cling, defStyle, 0); 96 mPunchThroughGraphic = r.getDrawable(R.drawable.cling); 268 // Draw the rest of the cling [all...] |
HideFromAccessibilityHelper.java | 103 return !hasAncestorOfType(v, Cling.class) &&
|
Launcher.java | 3968 final Cling cling = (Cling) findViewById(clingId); local 4024 final View cling = findViewById(id); local 4038 Cling cling = (Cling) findViewById(R.id.workspace_cling); local 4059 View cling = findViewById(R.id.workspace_cling); local 4092 Cling cling = (Cling) findViewById(R.id.folder_cling); local 4099 Cling cling = (Cling) findViewById(R.id.workspace_cling); local 4103 Cling cling = (Cling) findViewById(R.id.all_apps_cling); local 4107 Cling cling = (Cling) findViewById(R.id.folder_cling); local [all...] |
Folder.java | 438 Cling cling = mLauncher.showFirstRunFoldersCling(); 439 if (cling != null) { 440 cling.bringToFront(); [all...] |
/packages/apps/Camera2/src/com/android/camera/app/ |
FilmstripBottomPanel.java | 30 import com.android.camera.widget.Cling; 75 public void setClingForViewer(int viewerType, Cling cling) { 76 mViewButton.setClingForViewer(viewerType, cling); 85 public Cling getClingForViewer(int viewerType) {
|
CameraAppUI.java | 66 import com.android.camera.widget.Cling; 107 * Sets cling for external viewer button. 109 void setClingForViewer(int viewerType, Cling cling); 112 * Clears cling for external viewer button. 117 * Returns a cling for the specified viewer type. 119 Cling getClingForViewer(int viewerType); 861 * Creates a cling for the specific viewer and links the cling to the corresponding 864 * @param viewerType defines which viewer the cling is for [all...] |