Searched refs:isValidBuffer (Results 1 – 1 of 1) sorted by relevance
72 bool isValidBuffer = convert(buffer, dataspace, &bitmap); in ACanvas_createCanvas() local73 return isValidBuffer ? TypeCast::toACanvas(Canvas::create_canvas(bitmap)) : nullptr; in ACanvas_createCanvas()83 bool isValidBuffer = (buffer == nullptr) ? false : convert(buffer, dataspace, &bitmap); in ACanvas_setBuffer() local85 return isValidBuffer; in ACanvas_setBuffer()