HomeSort by relevance Sort by last modified time
    Searched refs:spanX (Results 1 - 25 of 53) sorted by null

1 2 3

  /external/mesa3d/src/mesa/swrast/
s_zoom.h 47 GLint width, GLint spanX, GLint spanY,
52 GLint width, GLint spanX, GLint spanY,
s_zoom.c 42 * \param spanX, spanY position of span being drawing
50 GLint spanX, GLint spanY, GLint width,
56 ASSERT(spanX >= imageX);
62 c0 = imageX + (GLint) ((spanX - imageX) * ctx->Pixel.ZoomX);
63 c1 = imageX + (GLint) ((spanX + width - imageX) * ctx->Pixel.ZoomX);
362 GLint width, GLint spanX, GLint spanY,
369 if (!compute_zoomed_bounds(ctx, imgX, imgY, spanX, spanY, width,
384 GLint j = unzoom_x(ctx->Pixel.ZoomX, imgX, x0 + i) - spanX;
405 GLint width, GLint spanX, GLint spanY,
414 if (!compute_zoomed_bounds(ctx, imgX, imgY, spanX, spanY, width
    [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/
ItemInfo.java 80 public int spanX = 1;
138 spanX = info.spanX;
165 values.put(LauncherSettings.Favorites.SPANX, spanX);
196 + " screen=" + screenId + " cellX=" + cellX + " cellY=" + cellY + " spanX=" + spanX
LauncherAppWidgetInfo.java 101 spanX = -1;
126 AppWidgetResizeFrame.updateWidgetSizeRanges(hostView, launcher, spanX, spanY);
CellLayout.java 783 void regionToCenterPoint(int cellX, int cellY, int spanX, int spanY, int[] result) {
787 (spanX * mCellWidth + (spanX - 1) * mWidthGap) / 2;
799 void regionToRect(int cellX, int cellY, int spanX, int spanY, Rect result) {
804 result.set(left, top, left + (spanX * mCellWidth + (spanX - 1) * mWidthGap),
    [all...]
AppWidgetResizeFrame.java 264 int spanX = lp.cellHSpan;
283 hSpanInc = Math.min(countX - (cellX + spanX), hSpanInc);
305 spanX += hSpanInc;
332 if (mCellLayout.createAreaForResize(cellX, cellY, spanX, spanY, mWidgetView,
334 if (mStateAnnouncer != null && (lp.cellHSpan != spanX || lp.cellVSpan != spanY) ) {
336 mLauncher.getString(R.string.widget_resized, spanX, spanY));
341 lp.cellHSpan = spanX;
347 updateWidgetSizeRanges(mWidgetView, mLauncher, spanX, spanY);
354 int spanX, int spanY) {
355 getWidgetSizeRanges(launcher, spanX, spanY, sTmpRect)
    [all...]
Workspace.java 366 Rect r = estimateItemPosition(cl, 0, 0, itemInfo.spanX, itemInfo.spanY);
642 int spanX = customScreen.getCountX();
644 CellLayout.LayoutParams lp = new CellLayout.LayoutParams(0, 0, spanX, spanY);
    [all...]
LauncherAppWidgetProviderInfo.java 25 public int spanX;
85 spanX = Math.max(1, (int) Math.ceil(
FolderInfo.java 142 + " cellX=" + cellX + " cellY=" + cellY + " spanX=" + spanX
  /packages/apps/Launcher3/src/com/android/launcher3/model/
PackageItemInfo.java 62 + " spanX=" + spanX + " spanY=" + spanY + " dropPos=" + Arrays.toString(dropPos)
GridSizeMigrationTask.java 384 if ((item.cellX <= col && (item.spanX + item.cellX) > col)
406 for (int i = item.cellX; i < (item.cellX + item.spanX); i++) {
490 if (me.spanX > 1 || me.spanY > 1) {
494 int myW = me.spanX;
521 me.spanX --;
526 me.spanX ++;
542 me.spanX --;
548 me.spanX ++;
692 Favorites.SPANX, // 4
704 final int indexSpanX = c.getColumnIndexOrThrow(Favorites.SPANX);
    [all...]
  /packages/apps/Launcher2/src/com/android/launcher2/
CellLayout.java 741 cellInfo.spanX = lp.cellHSpan;
758 cellInfo.spanX = 1;
791 cellInfo.spanX = 0;
    [all...]
LauncherAppWidgetInfo.java 61 spanX = -1;
85 AppWidgetResizeFrame.updateWidgetSizeRanges(hostView, launcher, spanX, spanY);
PendingAddItemInfo.java 78 spanX = copy.spanX;
ItemInfo.java 81 int spanX = 1;
128 spanX = info.spanX;
173 values.put(LauncherSettings.Favorites.SPANX, spanX);
220 + " screen=" + screen + " cellX=" + cellX + " cellY=" + cellY + " spanX=" + spanX
AppWidgetResizeFrame.java 256 int spanX = lp.cellHSpan;
275 hSpanInc = Math.min(countX - (cellX + spanX), hSpanInc);
297 spanX += hSpanInc;
324 if (mCellLayout.createAreaForResize(cellX, cellY, spanX, spanY, mWidgetView,
328 lp.cellHSpan = spanX;
333 updateWidgetSizeRanges(mWidgetView, mLauncher, spanX, spanY);
340 int spanX, int spanY) {
342 getWidgetSizeRanges(launcher, spanX, spanY, mTmpRect);
347 static Rect getWidgetSizeRanges(Launcher launcher, int spanX, int spanY, Rect rect) {
360 int landWidth = (int) ((spanX * cellWidth + (spanX - 1) * widthGap) / density)
    [all...]
Workspace.java 484 * the child are defined by x, y, spanX and spanY.
490 * @param spanX The number of cells spanned horizontally by the child.
493 void addInScreen(View child, long container, int screen, int x, int y, int spanX, int spanY) {
494 addInScreen(child, container, screen, x, y, spanX, spanY, false);
499 * the child are defined by x, y, spanX and spanY.
505 * @param spanX The number of cells spanned horizontally by the child.
509 void addInScreen(View child, long container, int screen, int x, int y, int spanX, int spanY,
550 lp = new CellLayout.LayoutParams(x, y, spanX, spanY);
555 lp.cellHSpan = spanX;
559 if (spanX < 0 && spanY < 0)
    [all...]
InstallShortcutReceiver.java 343 int cellX, cellY, spanX, spanY;
350 spanX = item.spanX;
352 for (int x = cellX; 0 <= x && x < cellX + spanX && x < xCount; x++) {
  /packages/apps/Launcher3/src/com/android/launcher3/widget/
PendingAddWidgetInfo.java 52 spanX = i.spanX;
  /packages/apps/Launcher3/src/com/android/launcher3/accessibility/
WorkspaceAccessibilityHelper.java 64 int spanX = dragInfo.info.spanX;
67 for (int m = 0; m < spanX; m++) {
76 for (int i = x0; i < x0 + spanX; i++) {
LauncherAccessibilityDelegate.java 169 screenId, coordinates, info.spanX, info.spanY);
232 if (layout.isRegionVacant(info.cellX + info.spanX, info.cellY, 1, info.spanY) ||
237 if (info.spanX > info.minSpanX && info.spanX > 1) {
243 if (layout.isRegionVacant(info.cellX, info.cellY + info.spanY, info.spanX, 1) ||
244 layout.isRegionVacant(info.cellX, info.cellY - 1, info.spanX, 1)) {
263 || !layout.isRegionVacant(info.cellX + info.spanX, info.cellY, 1, info.spanY)) {
268 info.spanX ++;
271 info.spanX --;
273 if (!layout.isRegionVacant(info.cellX, info.cellY + info.spanY, info.spanX, 1))
    [all...]
  /frameworks/base/core/java/android/view/
ScaleGestureDetector.java 328 final float spanX = devX * 2;
334 span = (float) Math.hypot(spanX, spanY);
349 mPrevSpanX = mCurrSpanX = spanX;
357 mPrevSpanX = mCurrSpanX = spanX;
366 mCurrSpanX = spanX;
  /packages/apps/Launcher2/
print_db.py 83 spanX = cell["spanX"]
92 spanX, spanY,
93 (CELL_SIZE*spanX), (CELL_SIZE*spanY),
202 spanX = row["spanX"]
205 for k in range(cellX, cellX+spanX):
  /packages/apps/Launcher3/
print_db.py 116 spanX = cell["spanX"]
125 spanX, spanY,
126 (CELL_SIZE*spanX), (CELL_SIZE*spanY),
166 if d["spanX"] is None:
167 d["spanX"] = 1
173 COLUMNS = max(COLUMNS, d["cellX"] + d["spanX"])
174 ROWS = max(ROWS, d["cellX"] + d["spanX"])
265 spanX = row["spanX"]
    [all...]
  /development/apps/WidgetPreview/src/com/android/widgetpreview/
WidgetPreviewActivity.java 210 int spanX = (width + smallerSize) / smallerSize;
215 width = spanX * previewCellSize + ((spanX - 1) * widthGap);

Completed in 887 milliseconds

1 2 3